How to Open Internet TV / Radio in a New Window
Posted: Fri Nov 26, 2010 11:27 pm
I'm writing this tutorial on how make a radio stream open in a new window because sometimes it's difficult to use the stream function if you have to logout of subsonic or close the subsonic window to stop the stream.
Below I'll show you how to open the stream in a specified size box allowing you to close it when your done with the stream. I've tested this in google chrome and firefox. IE on the other hand seems to struggle by always opening the window in a full page which is probably caused by me using the wrong syntax. If you know a better one feel free to let me know and i'll update this post.
To start go to Settings > Internet TV/radio
Example:
Name = Website Description / Name.
You can adjust the red values below. First enter the URL then the title can be whatever you want it to be. Next adjust the Width and Height to fit your page.
Stream URL = javascript:void(window.open('http://www.streamingURL.com', 'title', 'width=680,height=511, status=no,resizable=no,scrollbars=no'))
Homepage = Can be the same URL as above if you want or you can specify another page. If you type in home.view in this field then it will redirect you to the home page.
Here are some examples that you can try out.
Name= Power 96.5 (Top Hits)
Stream = javascript: void(window.open('http://players.jbgmedia.com/KSPW/player.html',%20'KSPW',%20'width=734,height=500,status=no,resizable=no,scrollbars=no'))
Name= 105.7 The Point (Rock)
Stream = javascript:void(window.open('http://www.1057thepoint.com/Other/streamtheworld.html','POINT',%20'width=600,height=305,status=no,resizable=no,scrollbars=no'))
Name= 94.1 WJJO (Rock)
Stream = javascript:void(window.open('http://den-a.plr.liquidcompass.net/player/flash/audio_player.php?id=WJJOFM&uid=367', 'WJJOFM', 'width=680,height=511, status=no,resizable=no,scrollbars=no'))
Name = A friends Subsonic Account.
Stream = javascript:void(window.open('http://xxxx.subsonic.org'))
Feel free to let me know if you have any suggestions.
~ Sean K
Below I'll show you how to open the stream in a specified size box allowing you to close it when your done with the stream. I've tested this in google chrome and firefox. IE on the other hand seems to struggle by always opening the window in a full page which is probably caused by me using the wrong syntax. If you know a better one feel free to let me know and i'll update this post.
To start go to Settings > Internet TV/radio
Example:
Name = Website Description / Name.
You can adjust the red values below. First enter the URL then the title can be whatever you want it to be. Next adjust the Width and Height to fit your page.
Stream URL = javascript:void(window.open('http://www.streamingURL.com', 'title', 'width=680,height=511, status=no,resizable=no,scrollbars=no'))
Homepage = Can be the same URL as above if you want or you can specify another page. If you type in home.view in this field then it will redirect you to the home page.
Here are some examples that you can try out.
Name= Power 96.5 (Top Hits)
Stream = javascript: void(window.open('http://players.jbgmedia.com/KSPW/player.html',%20'KSPW',%20'width=734,height=500,status=no,resizable=no,scrollbars=no'))
Name= 105.7 The Point (Rock)
Stream = javascript:void(window.open('http://www.1057thepoint.com/Other/streamtheworld.html','POINT',%20'width=600,height=305,status=no,resizable=no,scrollbars=no'))
Name= 94.1 WJJO (Rock)
Stream = javascript:void(window.open('http://den-a.plr.liquidcompass.net/player/flash/audio_player.php?id=WJJOFM&uid=367', 'WJJOFM', 'width=680,height=511, status=no,resizable=no,scrollbars=no'))
Name = A friends Subsonic Account.
Stream = javascript:void(window.open('http://xxxx.subsonic.org'))
Feel free to let me know if you have any suggestions.
~ Sean K