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

M3U8 cross domain error when attempting to playback Vimeo URLs


Sometime over the last few days our embedded video players (Using JW Player 6.9) stopped playing back Vimeo hosted video using an M3U8 file (Adaptive streaming).

My first port of call was to upgrade the JW Player version to 6.12 but this has made no odds, playback still fails with the error "cannot load M3U8: cross domain access denied".

Example embed below:

http://dev.ihasco.co.uk/client/video_playback_test

Any thoughts?

5 Community Answers

jherrieven

User  
0 rated :

Checking the network requests in dev tools and you'll see "crossdomain.xml" being 307 redirected to a secure request (SSL)

If you therefore change all requests to use SSL (the page URL, jwplayer library & vimeo file) the M3U8 will load and play.

Here's a working example:

https://www.dev.powered-by-haiku.co.uk/projects/ihasco/

James Herrieven

bw

User  
0 rated :

Hi James, thanks for the fix... was this something that changed recently with Vimeo? Our JW Player implementation with M3U8 worked last week...

jherrieven

User  
0 rated :

I don't know for sure, but I think it's probably Vimeo falling in line with the “HTTPS everywhere” movement - which Google among others are promoting - for all things web.

James

bw

User  
0 rated :

Sure, frustratingly the actual .ts segments are still served over HTTP so the whole thing is a bit of a joke. :/

Cooper Reid

JW Player Support Agent  
0 rated :

I tried the Vimeo HLS url with https and it still didn’t work. I’m going to escalate this to our engineers – it may be related to their crossdomain.xml rules, but I’d like to learn what the true issue is.
-Cooper

This question has received the maximum number of answers.