При воспроизведении вот такой странички:
00001: <script type="text/javascript" src="swfobject.js"></script> 00002: 00003: <object border=1 classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="340" height="300" id="player" align="middle" > 00004: <param name="movie" value="player.swf" /> 00005: <param name="file" value="video.flv" /> 00006: <param name="quality" value="high" /> 00007: <param name="scale" value="noscale" /> 00008: <param name="bgcolor" value="#ffffff" /> 00009: <param name="play" value="true" /> 00010: <embed src="player.swf?file=video.flv" play="true" quality="high" scale="noscale" bgcolor="#f6f6f6" width="100" height="100" name="player" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> 00011: </object> 00012: 00013: <br /><hr /> 00014: 00015: <p id="player1"><a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a> to see this player.</p> 00016: 00017: <script type="text/javascript"> 00018: var s1 = new SWFObject("player.swf","single","300","170","7"); 00019: s1.addVariable("file","video.flv"); 00020: s1.addVariable("image","preview.jpg"); 00021: s1.addVariable("quality","high"); 00022: s1.addVariable("scale","noscale"); 00023: s1.addVariable("bgcolor","#ffffff"); 00024: s1.write("player1"); 00025: </script>
В трех основных браузерах мы будем наблюдать вот такие картинки:
Comments (
)
Link to this page:
//www.vb-net.com/asp2/27/1.htm
|