You are not logged in.

1

Tuesday, May 26th 2020, 5:12pm

videoplayer occurs cross-origin error when playing m3u8

when i play m3u8 live-video,occurs cross-origin error:

Source code

1
ERROR:SecurityError: Failed to execute 'texImage2D' on 'WebGlRenderingContext':The video element contains cross-origin data,and may not be loaded


but in fact, there is crossdomain.xml on streaming server:

Source code

1
<cross-domain-policy><site-control permitted-cross-domain-policies="all"/><allow-access-from domain="*" secure="true"/><allow-http-request-headers-from domain="*" headers="*" secure="true"/></cross-domain-policy>


so i really don't know where i got wrong, does anyone have any idea?
thanks in advance!

2

Tuesday, May 26th 2020, 5:20pm

only on android

the problem just happens on android but ios, i think it's related to chromium *confused* .