我现在有一个视频上传之后分片成m3u8,视频列表可以跨域下载
http://7xjwzi.media1.z0.glb.clouddn.com/gaiamount_videos_127_mp4
但是我用video.js跨平台播放的时候。读取具体分片的时候遇到了跨域问题
XMLHttpRequest cannot load http://7xjwzi.media1.z0.glb.clouddn.com/LdvX-dFGBNWTCo3hgLVlaUjvzGs=/lgy3lOmeff0gQRl6OVl2-ixUELNH/000001.ts. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://dev.gaiamount.com:8080' is therefore not allowed access.
这里返回的头信息里面没有 Access-Control-Allow-Origin: *
请问这个怎么解决。谢谢
高洛峰2017-04-10 15:58:49
楼主,这个问题怎么解决的,求一起解决。我的QQ:364726492
我也用的那个HLS , 公有的Bucket。
XMLHttpRequest cannot load http://7xofob.media1.z0.glb.clouddn.com/HOG_fA8xPdEwfI9wrDiLTP2M8oQ%3D%2FlvFgebjunSrsEdwVYgYWEe-FUgI8. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://cinezep.xxx.com' is therefore not allowed access.