Below is an example of a standard JW Player installation at 640×529 using RTMP through our Wowza Media Server installation

RTMP

Source Code

<script src="http://jwpsrv.com/library/_svU3MMJEeKdOxIxOQulpA.js"></script>
<div id='my-video2'></div>
 <script type='text/javascript'>
flashplayer: 'player.swf',
            id: 'playerRTMP',
            width: '640',
            height: '529',
            autostart: false,
            provider: 'rtmp',
            file: "rtmp://r.ZONE.ALIAS.netdna-cdn.com/play/mp4:vod/ZONE.ALIAS/video.mp4"
</script>

HTTP

Source Code

<script src="http://jwpsrv.com/library/_svU3MMJEeKdOxIxOQulpA.js"></script>
<div id='my-video2'></div> <script type='text/javascript'>
jwplayer('my-video2').setup({
            file: 'http://p.ZONE.ALIAS.netdna-cdn.com/vod/hddn/Extremists.flv',
            image: 'https:/www.longtailvideo.com/content/images/jw-player/lWMJeVvV-876.jpg',
            width: '640', 
            startparam: 'start', 
            aspectratio: '16:9', 
            fallback: 'false', 
            primary: 'flash'
});
</script>
  • DaveyJake

    How do we utilize the VOD pseudo stream “clip” object with JWPlayer? Do we add the following to the JWPlayer setup object?

    file: “clip: {
    url: ‘https://p.ZONE.ALIAS.netdna-cdn.com/mp4:vod/some-folder/some-video.mp4’,
    provider: ‘lighttpd’
    }”

    Or do we just give the clip.url value outright without the clip.provider value?