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

JWPlatform Playlist RSS feed URL expires and breaks


I am trying to load a playlist using the Javascript API. I've made a "manual" playlist in the jwplatform "content" section. My playlist has an "RSS Feed URL" under it's "SOURCE" tab. That is the RSS url I'm using to load a playlist via the Javascript API.

The problem is that the RSS feed url looks like:
https://content.jwplatform.com/feeds/dGxNbMBU.rss?sig=8751201c9bab813ba50dc4d5dd5d6a6b&exp=1459977315

The 'sig' and 'exp' values seem to change every hour or so and the url no longer works.

If instead I use just the base url: https://content.jwplatform.com/feeds/dGxNbMBU.rss, the playlist loads fine, but none of the videos can be played. Instead I get an "Error loading media: File could not be played." message on the player and see a "403: Forbidden | MediaError" in the Chrome developer console.

Is there a version of my playlist's RSS feed url that will work indefinitely to load the playlist AND play the videos?

2 Community Answers

Todd

JW Player Support Agent  
1 rated :

Sounds like you have URL signing enabled on your account, so you will need to generate valid tokens on your site before loading the player. Please see http://support.jwplayer.com/customer/portal/articles/1433647-token-signing-with-jw-platform for more details.

r...

User  
0 rated :

I'm the original poster.

Thanks Todd, that was exactly my issue.

Using the python example linked at the article you linked to, I am now generating the 'sig' and 'exp' values for that RSS url on our own servers instead of merely copying and pasting the RSS url from our jwplatform/portal.

I just use the base RSS url (feeds/dGxNbMBU.rss) as the "path" portion of the md5 hash.

Thanks!

This question has received the maximum number of answers.