mirror of
https://github.com/iv-org/invidious.git
synced 2025-05-02 06:26:27 -04:00
Allow configurable support of interactive 360 vid
This commit is contained in:
parent
f06053b1cf
commit
6e6f4d5a37
7 changed files with 23 additions and 3 deletions
|
@ -149,7 +149,7 @@ player.on('error', function (event) {
|
|||
});
|
||||
|
||||
// Enable VR video support
|
||||
if (video_data.vr) {
|
||||
if (video_data.vr && video_data.params.vr_mode) {
|
||||
player.crossOrigin("anonymous")
|
||||
player.vr({projection: "EAC"});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue