# newbe help wowza +jw6 +akamai

**URL:** <https://community.wowza.com/t/newbe-help-wowza-jw6-akamai/40331>\
**Category:** Wowza Streaming Engine\
**Created:** [October 20, 2013, 5:28pm UTC](https://community.wowza.com/t/newbe-help-wowza-jw6-akamai/40331 "2013-10-20T17:28:39Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jimmy\_keffer](https://avatars.discourse-cdn.com/v4/letter/j/e56c9b/32.png) [@jimmy\_keffer](https://community.wowza.com/u/jimmy_keffer)\
**Post date:** [October 20, 2013, 5:28pm UTC](https://community.wowza.com/t/newbe-help-wowza-jw6-akamai/40331/1 "2013-10-20T17:28:39Z")

</div>

this code is work is wotking

```auto
<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](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

```auto
<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

.

---

<div class="post-metadata">

**Author:** ![Roger\_Littin1](https://avatars.discourse-cdn.com/v4/letter/r/c89c15/32.png) [@Roger\_Littin1](https://community.wowza.com/u/Roger_Littin1)\
**Post date:** [October 21, 2013, 11:19am UTC](https://community.wowza.com/t/newbe-help-wowza-jw6-akamai/40331/2 "2013-10-21T11:19:16Z")

</div>

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.

```auto
	. . .
	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](http://www.longtailvideo.com/support/forums/jw-player/using-playlists/31336/jw-player-6-and-akamai-hds-livestream-how-to-setup-provider-and-type-in-playlists/) 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.

---

<div class="post-metadata">

**Author:** ![Roger\_Littin1](https://avatars.discourse-cdn.com/v4/letter/r/c89c15/32.png) [@Roger\_Littin1](https://community.wowza.com/u/Roger_Littin1)\
**Post date:** [October 21, 2013, 1:51pm UTC](https://community.wowza.com/t/newbe-help-wowza-jw6-akamai/40331/3 "2013-10-21T13:51:40Z")

</div>

Hi Jimmy,

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

It should be like this,

```auto
<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.

---

<div class="post-metadata">

**Author:** ![jimmy\_keffer](https://avatars.discourse-cdn.com/v4/letter/j/e56c9b/32.png) [@jimmy\_keffer](https://community.wowza.com/u/jimmy_keffer)\
**Post date:** [October 20, 2013, 7:35pm UTC](https://community.wowza.com/t/newbe-help-wowza-jw6-akamai/40331/4 "2013-10-20T19:35:48Z")

</div>

player won’t load at all see [http://www.horsezipsworld.com/t5.htm](http://www.horsezipsworld.com/t5.htm)

jimmy

---

<div class="post-metadata">

**Author:** ![jimmy\_keffer](https://avatars.discourse-cdn.com/v4/letter/j/e56c9b/32.png) [@jimmy\_keffer](https://community.wowza.com/u/jimmy_keffer)\
**Post date:** [October 21, 2013, 8:46am UTC](https://community.wowza.com/t/newbe-help-wowza-jw6-akamai/40331/5 "2013-10-21T08:46:35Z")

</div>

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
