Frame at the bottom of every page
-
Hi guys,
This was probably already posted before but I couldn’t find any info on it…
So, I’m currently trying to set up a Shoutcast Radio with JW Player and I got it to work almost ok… The thing is, whenever I change to another page inside of my blog the radio stops playing…
So I’m thinking of using some kind of frame instead… But I’m not sure how can I do this with wordpress or if it will even work at all…
Here’s my current code which I put inside my theme’s footer.php:
<script type='text/javascript' src='swfobject.js'></script> <div id='mediaspace' style="position: fixed; bottom: 0px; width: 100%;"></div> <script type='text/javascript'> var so = new SWFObject('player.swf','ply','100%','24','9','#ffffff'); so.addParam('allowfullscreen','false'); so.addParam('allowscriptaccess','always'); so.addParam('wmode','opaque'); so.addVariable('file','https://127.0.0.1:80/;stream.nsv&type=sound&autostart=false'); so.addVariable('duration','0'); so.addVariable('skin','skins/glow/glow.xml'); so.write('mediaspace'); </script>
Any help?
Thanks in advance!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Frame at the bottom of every page’ is closed to new replies.