I was brought to the idea of integrating JW Media Player in SPHPBlog posts.
Well, here’s a first test…
Using the swfobject
<div id="player">This text will be replaced</div>
<script type="text/javascript">
var so = new SWFObject("mediaplayer.swf","mpl","320","150","7");
so.addParam("allowfullscreen","true");
so.addVariable("file","http://www.mysite.com/playlist.xml");
so.addVariable("height","150");
so.addVariable("width","320");
so.addVariable("displaywidth","120");
so.addVariable("location","mediaplayer.swf");
so.addVariable("autostart","false");
so.write("player");
</script>
Popularity: 1% [?]





