Results 1 to 5 of 5

Thread: newbe help wowza +jw6 +akamai

  1. #1

    Default newbe help wowza +jw6 +akamai

    this code is work is wotking
    <div style="width:640px;height:360px;" id="player" ></div>
    <script type="text/javascript">
     jwplayer("player").setup(
     {
     	playlist:
    	[{
    		file: 'http://video.horsezipsworld.com/live1/t2/mmanifest.f4m?DVR',
     		provider: 'AkamaiAdvancedJWStreamProvider.swf',
    		type:'mp4'
    	}],
     	fallback: false,
     	autostart: true,
     	width: 320,
     	height: 250,
     	primary: "flash",
     	stagevideo: false
    });
    </script>
    what i need to know is how /where 2 add a source of http://video.horsezipsworld.com/live1/t2/playlist.m3u8?DVR"
    for ios users
    i would also like 2 add a 3rd source of rtmp://video.horsezipsworld.com/live1/t2
    be for i started using the akamai plugin i was using this

    <script type="text/javascript">
     jwplayer("player").setup({
    	width: "320",
    	height: "250",
    	primary: "flash",
    	stagevideo: false,
    	autostart: "true",
    
    	sources: [{
    		file: "http://video.horsezipsworld.com/live1/t2/playlist.m3u8?DVR"
    	},{
    		file: "rtmp://video.horsezipsworld.com/live1/t2"
    	}],
    	rtmp: {
    		bufferlength: 0
    	},
    });
    </script>
    but with the plugin i dont know hpw /where 2 add more surces
    thanks jimmy sorry for the bad typing im in a wheel chair i have cebrail palsy
    .
    Last edited by roger_l; 10-20-2013 at 03:55 PM. Reason: formatted code blocks

  2. #2

    Default

    Hi,

    I edited your post to make the code blocks more readable. I hope you don't mind.

    With JW Player 6, you add separate sources using a sources block inside the playlist block. The following should work.

    	. . .
    	playlist: [{
    		sources: [{
    			file: "http://video.horsezipsworld.com/live1/t2/playlist.m3u8?DVR"
    		},{
    			file: "http://video.horsezipsworld.com/live1/t2/manifest.f4m?DVR",
    			provider: 'AkamaiAdvancedJWStreamProvider.swf',
    			type:'mp4'
    		},{
    			file: "rtmp://video.horsezipsworld.com/live1/t2"
    		}]
    	}],
    	. . .
    According to this thread on the JW Player Support Forum, it is a bit unclear if the Akamai Plugin currently works with the sources block. It doe appear as if Akamai is addressing the issue.

    Regards,

    Roger.

  3. #3

    Default

    player won't load at all see http://www.horsezipsworld.com/t5.htm
    jimmy

  4. #4

    Default

    Hi Jimmy,

    On your page, there is an error with the javascript that loads the player.

    It should be like this,

    <script type="text/javascript">
    jwplayer("player").setup({
    	width: "320",
    	height: "250",
    	primary: "flash",
    	stagevideo: false,
    	playlist: [{
    		sources: [{
    			file: "http://video.horsezipsworld.com/live1/t2/playlist.m3u8?DVR"
    		},{
    			file: "http://video.horsezipsworld.com/live1/t2/manifest.f4m?DVR",
    			provider: 'AkamaiAdvancedJWStreamProvider.swf',
    			type:'mp4'
    		},{
    			file: "rtmp://video.horsezipsworld.com/live1/t2"
    		}]
    	}]
    });
    </script>
    Note the closing }); and no comma after the last }].

    Roger.

  5. #5

    Default

    that fixed the load probem but the pligin says file not found o i'm off to talk 2 jw support and akamai more thanks for your time
    jimmy

Similar Threads

  1. onCaptionInfo + HLS + JW6
    By INVINTUS in forum Closed Captioning
    Replies: 5
    Last Post: 03-05-2014, 10:33 AM
  2. SMIL file for cloudfront(wowza)+live+jw6
    By INVINTUS in forum Wowza Media Server 3 for Amazon EC2 Discussion
    Replies: 2
    Last Post: 10-25-2013, 06:14 AM
  3. JW6 & Wowza & SMIL
    By BenSony in forum Live Streaming and Encoder Discussion
    Replies: 5
    Last Post: 01-28-2013, 08:51 AM
  4. JW6 & Resolution in Manifest
    By skookie in forum Suggestions
    Replies: 1
    Last Post: 10-08-2012, 04:45 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •