<!-- An embedded Windows Media Player object with SAMI closed captioning --> <!-- A <div> window for the SAMI captioning, 'id=cc' is specified for 'captioningID' parameter -->
如果在我的blog首页http://blog.csdn.net/wadefelix/不能显示歌词,请点击荐歌:刘力扩《毕业了》网页上带歌词显示 页面收听。另外,Firefox下可能无法显示歌词,请使用IE或者使用IE内核的浏览器
源代码取自http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnacc/html/atg_samiarticle.asp
<!-- An embedded Windows Media Player object with
SAMI closed captioning -->
<object
classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6"
id="WMP1" width=180 height=186
Style="margin:6; border:3 inset white;">
<param name="URL"
value="http://foo/media/SAMI_Demo.wmv">
<param name="SAMIFileName"
value="http://foo/cc/SAMI_Demo.smi">
<param name="captioningID" value="cc">
<param name="SAMIStyle" value="Black Print">
<param name="AutoStart" value=false>
<param name="AutoRewind" value=true>
<param name="EnableContextMenu" value=false>
</object>
<!-- A <div> window for the SAMI captioning, 'id=cc' is specified
for 'captioningID' parameter -->
<div
id=cc
style="margin-top:3; width:290; height:90; background:
white; border:2 inset silver;">
</div>
SAMI closed captioning -->
<object
classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6"
id="WMP1" width=180 height=186
Style="margin:6; border:3 inset white;">
<param name="URL"
value="http://foo/media/SAMI_Demo.wmv">
<param name="SAMIFileName"
value="http://foo/cc/SAMI_Demo.smi">
<param name="captioningID" value="cc">
<param name="SAMIStyle" value="Black Print">
<param name="AutoStart" value=false>
<param name="AutoRewind" value=true>
<param name="EnableContextMenu" value=false>
</object>
<!-- A <div> window for the SAMI captioning, 'id=cc' is specified
for 'captioningID' parameter -->
<div
id=cc
style="margin-top:3; width:290; height:90; background:
white; border:2 inset silver;">
</div>