Open player in a new pop up window

Its very easy…..

https://wordpress.org/plugins/shoutcast-icecast-html5-radio-player/

Just find iframe based code from WordPress admin plugin player setting page …. then make a html page “player.html” paste iframe embed code … use JavaScript to make popup using this new html page “player.html” 😉

<button onclick="myFunction()">Try it</button>  OR <a href="javascript:void(0);" onclick="myFunction()">Listen Live</a>

<script>
function myFunction() {
    window.open("http://domain.com/player.html", "_blank", "toolbar=yes, scrollbars=yes, resizable=yes, top=500, left=500, width=400, height=400");
}
</script>

http://www.w3schools.com/jsref/met_win_open.asp

Posted in: HTML5, Radio, WordPress

About Us

We are one of the leading provider for HTML5 MP3/MP4 Horizontal Playlist, Vertical Playlist, Karaoke, Lyrics, FeedBurner Podcast, Amazon S3, AWS CloudFront, CDN, Wordpress, Joomla, Standalone, Video, Radio, Folder Player.

Connect With Us