This article illustrates the Universal FLV Web Player Code of JS implementation. Share to everyone for your reference, specific as follows:
<div id= "Player5" ><script type= "Text/javascript" src= "swfobject.js" ></script><script type= " Text/javascript ">
var s5 = new SWFObject (" flvplayer201002.swf "," playlist "," "," 210 "," 7 ");
S5.addparam ("allowFullScreen", "true");
S5.addvariable ("Autostart", "false");
S5.addvariable ("image", "flash5.jpg");
S5.addvariable ("File", "nobody.flv");
S5.addvariable ("width", "the");
S5.addvariable ("Height", "210");
S5.write ("Player5");
</script></div>
Report:
Swfobject.js's official address: http://blog.deconcept.com/swfobject/
More about JavaScript related content to view the site topics: "JavaScript switching effects and tips summary", "JavaScript Search Algorithm Skills Summary", "JavaScript animation effects and tips summary", " JavaScript error and debugging skills Summary, JavaScript data structure and algorithm skills summary, JavaScript traversal algorithm and skills summary and JavaScript mathematical calculation usage Summary
I hope this article will help you with JavaScript programming.