js实现的万能flv网页播放器代码
果冻 人气:0本文实例讲述了js实现的万能flv网页播放器代码。分享给大家供大家参考,具体如下:
<div id="player5"><script type="text/javascript" src="swfobject.js"></script><script type="text/javascript"> var s5 = new SWFObject("FlvPlayer201002.swf","playlist","300","210","7"); s5.addParam("allowfullscreen","true"); s5.addVariable("autostart","false"); s5.addVariable("image","flash5.jpg"); s5.addVariable("file","nobody.flv"); s5.addVariable("width","300"); s5.addVariable("height","210"); s5.write("player5"); </script></div>
附:
swfobject.js的官方地址:http://blog.deconcept.com/swfobject/
希望本文所述对大家JavaScript程序设计有所帮助。
加载全部内容