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

API Create with Multiple Sourceurl?


I am using the Platform API (Create) to add content by URL to the Dashboard. I've had great success supplying one Source URL ($upload_params['sourceurl']), but was wondering if possible to provide two sources (source urls) for the new Content Item to be added.

Or, if can add additional sources later with the API Edit feature.

Cheers
Ryan

6 Community Answers

Todd

JW Player Support Agent  
0 rated :

No, there is not a way to use the create endpoint to define two source URLs. You would need to add them as two separate videos. Can you explain your use case for wanting to define two source URLs?

contact

User  
0 rated :

So I can report two different formats, one that is 720p and one that is 1080p.

Or a 480p and 720p version.

contact

User  
0 rated :

And, while I have you, possible to add a thumbnail (through image url) during the API create call?

Cheers
Ryan

Todd

JW Player Support Agent  
0 rated :

I’ll need to get clarification from our engineers on how to get resolution data from our analytics.

You would have to do videos/create/ and then do a videos/thumbnails/update/ to upload a new thumb.

Todd

JW Player Support Agent  
0 rated :

Sorry, forgot to paste this link. Here’s the page from our Developer site with more documentation:

http://developer.jwplayer.com/jw-platform/reference/v1/methods/videos/thumbnails/update.html

Todd

JW Player Support Agent  
0 rated :

We will be adding quality of experience metrics, including video source and time to first frame, but a timeline has not been announced yet. When these are available, you will not need separate media IDs to determine which format was viewed.

This question has received the maximum number of answers.