-
Notifications
You must be signed in to change notification settings - Fork 147
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: separate 180_LR/180_TB, add 180_MONO, fix cropping in 180 views.
- Loading branch information
Showing
6 changed files
with
50 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<!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> | ||
<video width="640" height="300" id="videojs-vr-player" class="video-js vjs-default-skin" controls playsinline> | ||
<source src="../samples/video_180_lefteyeonly.mp4" type="video/mp4"> | ||
</video> | ||
<ul> | ||
<li><a href="../">return to main example</a></li> | ||
</ul> | ||
<script src="../node_modules/video.js/dist/video.js"></script> | ||
<script src="../dist/videojs-vr.js"></script> | ||
<script> | ||
(function(window, videojs) { | ||
var player = window.player = videojs('videojs-vr-player'); | ||
player.mediainfo = player.mediainfo || {}; | ||
player.mediainfo.projection = '180_MONO'; | ||
|
||
var vr = window.vr = player.vr({projection: '180_MONO', debug: true, forceCardboard: false}); | ||
}(window, window.videojs)); | ||
</script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters