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

loading videos through the api


https://support.jwplayer.com/customer/en/portal/articles/1480872-example-loading-videos-through-the-api

I would like to do what is described in the above url(player and video links below it) but using signed and expiring video urls? is this possible?
Thank you in advance.

3 Community Answers

Alex

JW Player Support Agent  
0 rated :

Hi, there.

My name is Alex and I am one of the Support Engineers at JW Player. I will be more than happy to assist you with your questions.

We have an example of how to generate the tokens for your videos on our URL Token Signing support article.

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

Thank you!

Tassos

User  
0 rated :

I'm using the wordpress platform, where should I insert the provided PHP script to generate the urls ? can i insert it in the wordpress page's code(through HTML Editor) or need to be added in another php file and be called into the page?
After running the php script the code to be generated would be in the following form?
<a href="javascript:loadVideo(http://content.jwplatform.com/videos/583nAtIa-PUaUOjHE.mp4?sig=4c1b6afc13090d877b16b0d98fc360ad&exp=1459272998','http://content.jwplatform.com/thumbs/JqLYhj35-720.jpg')">Video 1</a>
Is the above what should be accomplished?




Thank you


Alex

JW Player Support Agent  
0 rated :

Hi, there.

Assisting with implementing our code into any CMS, such as Wordpress, is outside of the scope of support we can provide. As long as you are able to embed PHP and JavaScript onto your Wordpress site, it should work just like any other, but we are not familiar with how to do that. I would recommend contacting Wordpress’s support for assistance on how you can inject PHP and JavaScript into your site.

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

Thank you!

This question has received the maximum number of answers.