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

data uri in jwplayer


Hello,

Do you plan to support data uri in the jwplayer?

Regards,
Thomas

10 Community Answers

Ethan Feldman

JW Player Support Agent  
0 rated :

Not planing on it, to the best of my knowledge.

developer

User  
0 rated :

Why do you need data uri ?
When i can ask?

Ethan Feldman

JW Player Support Agent  
0 rated :

Yeah, I wonder that as well…

regis

User  
0 rated :

We would like to create an HLS from javascript and inject that into jwplayer.

Currently we need some kind of echo server that generates the m3u8 from url parameters but it involves network + load on our server.

That's why we thought about data-uri support. It works on iOS native html5 browser. It doesn't with android but we could afford the keep the echo server in this case.
It also seems a pretty standard solution to our problem.

That's why we would really like to get data-uri working.
We thought about adding a plugin with a media provider that just overrides the HLS media provider, but that seems impossible as HLS media provider is not part of the SDK.
We have paid the commercial license of jwplayer but it seems not possible to create plugins on the top of the commercial-only features. Is that correct?
So, is there a solution so we can get this feature? We are ready to develop a plugin based on a private jwplayer sdk lib. We are also ready to develop and contribute the feature in your commercial private code if you allow us.

Ethan Feldman

JW Player Support Agent  
0 rated :

You can create plugins. The sdks are are available. https://github.com/jwplayer/jwplayer-sdks

regis

User  
0 rated :

Hi Ethan,

Thanks for the reply.

Indeed, I've already found the SDK but, if I do not mistake, it does not allow to create a plugin for HLS ( HTTP Live Streaming ) feature.

It looks like it allows to create a plugin that extends VideoMediaProvider or RTMPMediaProvider or any other media provider of the opensourced part of jwplayer.
**But** it does not seems to allow to extend the HLS (HTTP Live Streaming) media provider that is included in the commercial version of jwplayer.
That's why I asked if it is possible to create a plugin that extends *commercial-only* features of jwplayer (such as HLS support).
It seems not to be part of the "jwplayer-6-lib.swc" : if I run flex tools to inspect it, I can only find class of the opensource part of jwplayer and nothing about what manages HLS.

So unless we totally redevelop the HLS feature as a new media provider -- which is probably a bad idea as you already did that very well --, I don't know how to get data-uri working for HLS by adding a plugin using the SDK available on github.
If I'm wrong and you can give me some pointer on how to do that, it would be very welcome.

Else, developping a plugin with a different SDK was just an idea. (By different SDK I thought about one enriched with the HLS feature that would allow to extended it).
But if you think there is another better/faster way, we will of course consider it.

Thanks,
Régis

Ethan Feldman

JW Player Support Agent  
0 rated :

We do have a provider SDK as well which will be on GitHub soon, but yeah, re-doing HLS support to simply add this feature would take quite some time. The HLS provider is not part of the open source repo.

regis

User  
0 rated :

Hi Ethan,

Ok, so can you give us a quote for the HLS + data-uri functionality ?

Ethan Feldman

JW Player Support Agent  
0 rated :

I cannot, because we are not going to plan on doing even paid work to add in data-uri functionality.

developer

User  
0 rated :

can you describe your problem in details?

what should you do exactly?

This question has received the maximum number of answers.