mangui / flashls

HLS Flash Plugin/Player (Chromeless,OSMF,FlowPlayer,mediaelement.js,video.js,Clappr)
http://www.flashls.org
Mozilla Public License 2.0
751 stars 264 forks source link

Try other levels when encountering cross domain errors #595

Closed cbeckr closed 6 years ago

cbeckr commented 6 years ago

This is relevant to support primary / backup scenarios.

When the primary source is unreachable, Flash will not be able to retrieve its crossdomain.xml and hence raise a security error. This change treats a security error like any other loading error and skips to the next level.

Sample playlist which fails to play back in current flashls-0.4.4.24: http://assets-dev-clf-aws-eu-west-1.slidesync.com/public/debugging/flashls-crossdomain/flashls-crossdomain.m3u8