Closed deanngo791 closed 7 years ago
Sorry, no, safari don't support cross domain. But you have two options to let it works.
First, you can use an iframe which hosted on amazon s3, which could solve cross domain issue. Please check example iframe and iframe-video.
Second, you can set up proxy which fetch the resources from amazon s3. If you have self hosted server, you can set up proxy like http://www.company.com/cdn/awesomevideo.mp4
-> amazon s3/awesomevideo.mp4
. Which also keep the recourses on same domain.
Thanks for reply, Iframe is good solution. Thanks for Awesome plugin.
Hi, Thanks for this awesome plugin! I try to stream video from amazon s3. It works like a boss on desktop version, android mobile. But issue appears when I play video on iphone (6, 6s+, 6s) both safari and chrome. I retrieve a black screen but video sound is still working.
and Video player:
<video id="videojs-panorama-player" class="video-js vjs-default-skin" crossOrigin="anonymous" controls>
How can I play video on iphone? There are some issues I think it's related: https://github.com/yanwsh/videojs-panorama/issues/14Any better solutions?