现在的位置: 首页 > 综合 > 正文

flash and video html example

2013年01月28日 ⁄ 综合 ⁄ 共 1120字 ⁄ 字号 评论关闭

flash

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"> 
<head>
<title>flash</title>
</head>
<body>
<p>
<object type="application/x-shockwave-flash" data="down.swf" width="650" height="500" id="ww" bgColor="#ff0000"> 
        <param name="movie" value="player.swf"/> 
        <param name="allowFullScreen" value="true" /> 
        <param name="FlashVars" value="xml=vcastr.xml" /> 
</object> 
</p>
</body>
</html>

video

<!DOCTYPE html>
<html>
<title>HTML5 Video</title>
<head></head>
<body>
<!--<p>	
<audio controls="controls">
<source	src="2.mp3" type="audio/mp3">
</audio>
</p>-->
<p>	
<video controls width="480" hight="270" poster="google.png">
<source src="test.3gp" type="video/3gpp">
</video>
</p>
</body>
</html>

other study notes(need to be cleaned up)

1.java final
a.final data.
basic type, do not change value;
object type, do not change reference.
b.final as parameters
reference cann't be changed.
c.final method
like inline,cann't be inherited.
d.final class
cann't be inherited
2.interface
a.interface can have variables
b.class inherited from interfaces can be upcasted to many types.
c.can't use return value to override.

抱歉!评论已关闭.