Skip to content
This repository has been archived by the owner on Dec 6, 2018. It is now read-only.

Commit

Permalink
Merge pull request #282 from googlevr/revert-278-iframe-vr-feature-po…
Browse files Browse the repository at this point in the history
…licy

Revert "Add 'allow="vr"' Feature Policy attribute to iframe to permit WebVR"
  • Loading branch information
lincolnfrog committed Nov 28, 2017
2 parents 529214a + 43cffab commit dbbd24b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/api/player.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,6 @@ 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.
Expand Down

1 comment on commit dbbd24b

@thomclae33
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the VR view working on HMD's as well? Such as the HTC Vive, Oculus and Windows Mixed Reality headsets? With my Windows HMD, the tracking seems to work in Firefox, however no visibility in the display.

Please sign in to comment.