Skip to content

Commit

Permalink
fix: chrome m55 android gyro breakage by updating webvr-polyfill (#64)
Browse files Browse the repository at this point in the history
* add qunit instead of qunitjs
  • Loading branch information
brandonocasey authored Mar 27, 2018
1 parent d81a5a4 commit ff8e461
Show file tree
Hide file tree
Showing 6 changed files with 2,389 additions and 720 deletions.
12 changes: 12 additions & 0 deletions iframe.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>videojs-vr Demo</title>
<link href="node_modules/video.js/dist/video-js.css" rel="stylesheet">
<link href="dist/videojs-vr.css" rel="stylesheet">
</head>
<body>
<iframe width="700" height="400" src="index.html" allowfullscreen="" webkitallowfullscreen="" mozallowfullscreen="" allow="gyroscope; accelerometer; xr"></iframe>
</body>
</html>
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
player.mediainfo.projection = '360';

// AUTO is the default and looks at mediainfo
player.vr({projection: 'AUTO', debug: true, forceCardboard: false});
var vr = window.vr = player.vr({projection: 'AUTO', debug: true, forceCardboard: false});
}(window, window.videojs));
</script>
</body>
Expand Down
Loading

0 comments on commit ff8e461

Please sign in to comment.