JW Player: Play Shoutcast Livestream in JW Player 6

Here the code for JW Player 6 play Shoutcast livestream.

 

<!doctype html>
<html>
<head>
<title>JW Player 6 Play Shoutcast Livestream</title>
<script type="text/javascript" src="jwplayer.js"></script>
<script type="text/javascript">jwplayer.key="ABCDEFGHIJKLMOPQ";</script>

</head>
<body>

<div id="myElement">Loading the player...</div>

<script type="text/javascript">
    jwplayer("myElement").setup({
        file: "http://live.radiorodja.com/;stream.nsv",
        image: "http://rodja.tv/wallpaper.jpg",
        type: "mp3",
        stretching: "exactfit",
        autostart: "true"
    });
</script>
</body>
</html>

 

Artikel terkait:   CSS: Responsive Template

Isi Komentar

Alamat email Anda tidak akan dipublikasikan. Ruas yang wajib ditandai *

four + = ten

This site uses Akismet to reduce spam. Learn how your comment data is processed.