mirror of
https://github.com/iv-org/invidious.git
synced 2025-05-02 06:26:27 -04:00
Prevent VR from being initialized in listen mode (#2396)
This commit is contained in:
parent
947fe4fbb3
commit
5054510d15
2 changed files with 2 additions and 2 deletions
|
@ -149,7 +149,7 @@ player.on('error', function (event) {
|
|||
});
|
||||
|
||||
// Enable VR video support
|
||||
if (video_data.vr && video_data.params.vr_mode) {
|
||||
if (!video_data.params.listen && video_data.vr && video_data.params.vr_mode) {
|
||||
player.crossOrigin("anonymous")
|
||||
switch (video_data.projection_type) {
|
||||
case "EQUIRECTANGULAR":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue