开发者

playing video by embed tag in window xp

开发者 https://www.devze.com 2023-02-04 23:07 出处:网络
while playing video by embed tag in src mp4 and swf file are working but playing flv is not working in any browser on my window xp . please help .

while playing video by embed tag in src mp4 and swf file are working but playing flv is not working in any browser on my window xp . please help .

<embed src="videoplayback.flv" bgcolor="#000"
 type="application/x-shockwave-flash"
pluginspage="http://www.adobe.com/shockwave/开发者_StackOverflow社区download/index.cgi?P1_Prod_Version=ShockwaveFlash"

name="mainflash1"  autostart="false" loop="false" height="450" width="450" allowscriptaccess="samedomain"
 >
<noembed>Sorry, your browser doesn't support the embedding of multimedia.</noembed>
</embed>


For playing FLV in html, you should use the <object> tag. For example:

<object type="application/x-shockwave-flash" 
width="320" height="240" 
wmode="transparent" 
data="player.swf?file=video.flv&autoStart=false">
<param name="movie" 
value="player.swf?file=video.flv&autoStart=false"/>
<param name="wmode" value="transparent"/>
</object>

Player.swf is player swf file and filename is the file attribute.

0

精彩评论

暂无评论...
验证码 换一张
取 消