javascriptgoogle-chromecross-domainm3u8jwplayer7

JWPlayer 7 error "cannot load m3u8 crossdomain access denied" chrome only win 10


On pc windows 10 Firefox and Edge loads ok. In chrome only! "cannot load m3u8: crossdomain access denied"

JWPlayer HTML code

<script> var playerInstance = jwplayer('Player'); playerInstance.setup({ primary: 'flash', file: 'http://example/playlist.m3u8', image: "//example/example.png", title: "example" }); </script>

Crossdomain.xml

<cross-domain-policy>
  <allow-access-from domain="*" secure="false"/>
  <allow-http-request-headers-from secure="false" headers="*" domain="*"/>
</cross-domain-policy>

Solution

  • Sorry for the late response

    I have found the answer to my question the URL was missing the port number (http://exsamle.com:0000/my/stream.m3u8)