Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

JW Platform support for HLS/DASH?


how do you get JW player to automatically switch between the available transcodes of a video on JW Platform?

10 Community Answers

Alex

JW Player Support Agent  
0 rated :

Hi, there.

When you upload a video to JW Platform, it uses transcoding templates that are setup within your Account Dashboard to decide what to transcode the video to. Then, when you embed the player on your page, our platform serves up a HLS stream with those transcodes, and also gives a MP4 source as a fallback.

Here are some support articles that may interest you:
Streaming Your Original Videos
Uploading Videos
Preparing Videos for Upload

Please let me know if you need any more help or have any other questions.

Thank you!

a...

User  
0 rated :

I'm using the JW Player javascript API (i need the flexibilty, embed doesn't work for me). Currently I'm passing a single .mp4 URL into the .setup() function in the 'playlist' section of the parameter. how do i get the playlist required to do HSL. i see talk of .m3u8, .rss and .xml files in the JW player docs, but i don't see any way to get those out of JW platform.

Alex

JW Player Support Agent  
0 rated :

Hi, Alfredo.

In order to give you the right information, I want to double-check something for clarity. Are you looking to embed one video with the Platform API or embed a playlist with the Platform API?

a...

User  
0 rated :

just a single upload, but with potentially multiple transcodes available.

Alex

JW Player Support Agent  
0 rated :

Hi, Alfredo.

When you embed a player and video with the Platform API, the JavaScript automatically includes the HLS stream as the primary source, with the MP4 as the fallback source. The HLS stream will playback at whatever transcodes you have setup on your Account Dashboard. You can see which transcodes you have setup by logging into your Account Dashboard, then going to Settings > Templates.

I hope this helps. Please let me know if you need any more help or have any other questions.

Thank you!

Alfredo Guilbert

User  
0 rated :

sorry, that doesn't help. as i already stated, I'm using the Javascript API, similar to what's described here: http://support.jwplayer.com/customer/en/portal/articles/1413074-javascript-api-quick-start

I'm not using the embed code.

please point me to docs on how to get a HLS playlist from the JW platform.

Alex

JW Player Support Agent  
1 rated :

Hi, Alfredo.

Regardless if you are using the Platform API or JavaScript API, the sources are still contained within the JavaScript file generated when you click the embed button for a specific video in your list of videos on your Account Dashboard. There is no way in the Account Dashboard to see what the URL is for the HLS stream that is generated for you.

If you absolutely need the URL to the HLS stream, the only way to get it is to click on Embed for a video, click on the “Preview” button on the bottom. On the resulting page, you can go to your browser’s console and use jwplayer().getPlaylistItem() and it should return an array containing your HLS stream. However, JW Platform is intended to be used via the single-line embed code generated by clicking on the Embed button for a particular video.

Please let me know if you need any more help or have any other questions.

Thank you!

Alfredo Guilbert

User  
1 rated :

SERIOUSLY? you have a javascript API for your player, and you have a video serving platform, and the two can't be used together?

Alex

JW Player Support Agent  
0 rated :

Alfredo,

The JavaScript API and video serving platform can absolutely be used together. If you want to use a player library URL that you can find on each player’s detail page on your Account Dashboard, in conjunction with the HLS stream URL found by using the jwplayer().getPlaylistItem() API call, you can definitely do that. The JW Platform product was intended to be a place where people can go to configure their player’s settings, upload videos and then receive a single line of code that the user can then drop into their web page, but you can definitely work around that if you wanted to.

jessevanmuijden

User  
1 rated :

This is interesting. I also need the m3u8 URL for use with the mobile sdk. It would be great to be able to retrieve it by media via the platform API. Can you retrieve the m3u8 URL via /videos/show/?video_key={something} ?

This question has received the maximum number of answers.