New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Videojs 6.x + HLS + Flash: FLASHLS_ERR_CROSS_DOMAIN #96

jankrueger opened this Issue Oct 2, 2018 · 1 comment


None yet
1 participant
Copy link

jankrueger commented Oct 2, 2018


I try to get Video.js 6.12.1 to work with HLS and the flash tech.
We use the latest version of brightcove/videojs-flashls-source-handler together with videojs/http-streaming and videojs-flash.
This produces a cross domain error (FLASHLS_ERR_CROSS_DOMAIN).
We do serve a crossdomain.xml along our playlist files (but there's always room for an error...).
Is there a known cause for this error (besides crossdomain.xml)?



Video should play in flash mode.


Flash loads but playback never starts. The flash tech produces the following error:

VIDEOJS: ERROR: (CODE:0 MEDIA_ERR_CUSTOM)  MediaError {type: "FLASHLS_ERR_CROSS_DOMAIN", origin: "flash", message: ""}

Error output

VIDEOJS: ERROR: (CODE:0 MEDIA_ERR_CUSTOM)  MediaError {type: "FLASHLS_ERR_CROSS_DOMAIN", origin: "flash", message: ""}





videojs/http-streaming 1.2.6
videojs-ima 1.5.1
videojs-contrib-ads 6.6.1
videojs-flash 2.1.2


This comment has been minimized.

Copy link

jankrueger commented Oct 9, 2018

It was indeed an issue with our crossdomain.xml.
For everybody that encounters this issue: You have to serve a crossdomain.xml at the root of your playlist file that allows the domain you are requesting the file from (or '*').

@jankrueger jankrueger closed this Oct 9, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment