我现在有一个视频上传之后分片成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: *
请问这个怎么解决。谢谢
搜HLS crossdomain.xml