Allow configurable support of interactive 360 vid

This commit is contained in:
syeopite
2021-04-11 20:55:07 -07:00
parent f06053b1cf
commit 6e6f4d5a37
7 changed files with 23 additions and 3 deletions

View File

@ -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"});
}