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
No known key found for this signature in database
GPG key ID: 6FA616E5A5294A82
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"});
}