videojs / videojs-vr

A plugin to add 360 and VR video support to video.js.
https://videojs-vr.netlify.com/
MIT License
545 stars 145 forks source link

Your browser/device does not support HLS 360 video #59

Closed nvybvl closed 6 years ago

nvybvl commented 6 years ago

Hi devs,

My plan is to make HolaPlayer works with VideoJs-Vr plugin but I know I miss something and I want to share with you a part of my code.

  1. First of all, you can see VideoJs & VideoJs-vr working together here: https://jsfiddle.net/nvybvl/6hffdf8c/10/

    • You'll see the error from the issue title.
  2. Second, you can see HolaPlayer (which is an extension of videojs. videojs on steroids as they say) with VideoJS-Vr here: https://jsfiddle.net/nvybvl/6hffdf8c/16/

Both of them isn't working. I miss something ? Thanks

mgara commented 6 years ago

Maybe cause your videojs vr file is hosted in some weird 'cdn'

youssinsa commented 6 years ago

Hi ! Any news about the "Your browser/device does not support HLS 360 video" issue ?

Thanks a lot

brandonocasey commented 6 years ago

This usually happens do to crossorigin not being set to anonymous on the video element. What browsers are you seeing this on? Currently we had to drop support for iOS10 as it has CORS related issues with HLS video on the WebGL video texture.

brandonocasey commented 6 years ago

If this is still an issue for anyone, feel free to open another issue. Please note though that we only support the latest browsers on each platform as the spec for WebVR is constantly changing and our underlying polyfill only supports the lastest browsers. This issue seems related to crossorigin issues on iOS < 11

nickkraakman commented 6 years ago

I am actually experiencing the exact same thing on Chrome 70 on MacOS Mojave.

shivarajnaidu commented 4 years ago

As @brandonocasey told setting crossorigin to anonymous works.. but what is the issue and why it requires crossorigin .. any idea guys ?

ffTsuzuku commented 2 years ago

@shivarajnaidu Hey did you ever figure out why setting crossorigin to anonymous solves this issue?