diff --git a/src/api/player.js b/src/api/player.js index e4176c2a..16370be6 100644 --- a/src/api/player.js +++ b/src/api/player.js @@ -163,6 +163,7 @@ Player.prototype.createIframe_ = function(contentInfo) { var iframe = document.createElement('iframe'); iframe.setAttribute('allowfullscreen', true); iframe.setAttribute('scrolling', 'no'); + iframe.setAttribute('allow', 'vr'); iframe.style.border = 0; // Handle iframe size if width and height are specified.