符合web标准的播放器代码
再见了Embed,一些媒体播放器的符合web标准的代码
由于Embed标签是Netscape的私有财产,故一直未被W3C认可,对于各种媒体文件使用Embed标签是非标准的,如何改变?Elizabeth Castro的 Bye Bye Embed 一文对于各种媒体播放器给出了很好的符合web标准的代码。
在线媒体播放–Google Video and YouTube
[code][/code]
其实就是FLASH文件的调用
Windows Media Player 文件
[code][/code]
上面的代码没有Windows Media Player特有的classid,作者在IE5.5, IE6, IE7, Opera Win/Mac, Firefox Win/Mac, Safari下测试通过。
QuickTime movies 没有 embed 标签
[code][/code]
隔行换色:
[html]
hxbloh^net
objName=document.getElementById("list01").getElementsByTagName("li")
for (i=0;i
by jogocun
不支持 http://xxx.com/bfq.swf?userID=1111 形式的swf~
posted 2 years ago
Reply