mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-03-16.git
synced 2024-08-15 00:53:18 +00:00
Fix projection settings for VR
This commit is contained in:
parent
df0cd30236
commit
f06053b1cf
1 changed files with 2 additions and 1 deletions
|
@ -150,7 +150,8 @@ player.on('error', function (event) {
|
||||||
|
|
||||||
// Enable VR video support
|
// Enable VR video support
|
||||||
if (video_data.vr) {
|
if (video_data.vr) {
|
||||||
player.vr();
|
player.crossOrigin("anonymous")
|
||||||
|
player.vr({projection: "EAC"});
|
||||||
}
|
}
|
||||||
|
|
||||||
// Add markers
|
// Add markers
|
||||||
|
|
Loading…
Reference in a new issue