Playing video via JWPlayer

Third-party modifications and add-ons, Apps and Clients

Moderator: moderators

Playing video via JWPlayer

Postby nomi34 » Wed Mar 28, 2012 6:13 am

Hi guys - could use a hand with getting video playing using jwplayer. Please see below:

Code: Select all
<html>

<head>
    <script type='text/javascript' src='jwplayer/jwplayer.js'></script>
</head>

<body style="background: #FF0000">
<div id='container'>Loading the player ...</div>


<script type="text/javascript">
    jwplayer("container").setup({
        autostart: true,
        flashplayer: "jwplayer/player.swf",
        height: 270,
        width: 480
    });
</script>

<ul>
    <li><a href="#" onclick="jwplayer().load('http://192.168.0.102:4040/rest/stream.view?u=user&p=pass&v=1.6.0&c=SonicAir&id=2f6d656469612f52616964426f782f54562f416c706861732f536561736f6e2030312f416c70686173202d20533031453131202d204f726967696e616c2053696e2e617669')">
        Load the show
    </a></li>
    <li><a href="#" onclick="jwplayer().load('http://content.bitsontherun.com/videos/nPripu9l-60830.mp4'); return false;">Load the Big Buck Bunny trailer</a></li>
    <li><a href="#" onclick="jwplayer().load('http://content.bitsontherun.com/videos/yj1shGJB-60830.mp4'); return false;">Load the Sintel trailer</a></li>
    <li><a href="#" onclick="jwplayer().load('http://content.bitsontherun.com/videos/HESXw9fD-327.mp4'); return false;">Load the Dutch CF commercial</a></li>
</ul>
</body>

</html>
nomi34
 
Posts: 8
Joined: Thu Aug 25, 2011 6:14 am

Return to Mods, Apps and Clients

Who is online

Users browsing this forum: No registered users and 29 guests