cloudinary-video-player icon indicating copy to clipboard operation
cloudinary-video-player copied to clipboard

some m3u8 links doesnt work

Open Laurentje opened this issue 2 years ago • 3 comments

most of m3u8 streams work on cloudinary player but there m3u8 links doesnt work that works on other players like jwplayer, videojs. it says "Network request failed". sometimes works sometimes not?

Laurentje avatar Mar 02 '22 09:03 Laurentje

Hi @Laurentje,

Could you please provide some examples that work and others that don't work with our players and do work with other players?

Thanks, Wissam

wissam-khalili avatar Mar 02 '22 14:03 wissam-khalili

Hi @Laurentje,

Could you please provide some examples that work and others that don't work with our players and do work with other players?

Thanks, Wissam

m3u8 this link works with jwplayer, clappr but not work on cloudinary.

Laurentje avatar Mar 03 '22 00:03 Laurentje

Hi @Laurentje, It seems it works when the cache is disabled (Inspect > Network Tab), you can try it out here: https://jsfiddle.net/Vdeub/3njmh609/5/.

When it is not working, we do get a CORS issue. Would you mind making sure that those 2 headers are added:

Cache-Control no-cache;
'Access-Control-Allow-Origin' '*';

Thanks, Loic

Vdeub-cloudinary avatar Mar 04 '22 11:03 Vdeub-cloudinary