I'm trying to use a html/javascript as a pop up window player. So when it's clicked it opens a window and the player starts. I've got the media player working, but when I click anywhere else on the site away from the pop up the player keeps restarting. Also if I click any where else on the site the pop up window comes up which I don't want. I want it as a click able pop up window only in the area that I click that stays playing.
2)
This works fine as a player on the site, but it's not a pop up window so when another article page is opened, the player stops
Basically acting like a blogger widget/plugin ^
Code:
<img src="http://1.bp.blogspot.com/-ypHkdTyYojY/VTdWd7Xv2FI/AAAAAAAAT98/XD73jM96nGs/s1600/equalizer-roland.gif" style="border: 1px none;" width="150" height="25" />
<script type="text/javascript">
document.body.onclick= function(){
window.open('http://rolandradio.net/radio/miniplayer/miniplayer.php', 'poppage', 'toolbars=0, scrollbars=1, location=0, statusbars=0, menubars=0, resizable=1, width=530, height=200, left = 300, top = 50');
}</script>
2)
This works fine as a player on the site, but it's not a pop up window so when another article page is opened, the player stops
Code:
<img src="http://1.bp.blogspot.com/-ypHkdTyYojY/VTdWd7Xv2FI/AAAAAAAAT98/XD73jM96nGs/s1600/equalizer-roland.gif" style="border: 1px none;" width="150" height="25" /><audio src="http://streaming.rolandradio.net:8000/rolandradio" controls="controls"></audio>
Basically acting like a blogger widget/plugin ^
Last edited: