forked from louisdorard/360.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
360video.html
31 lines (28 loc) · 993 Bytes
/
360video.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8" />
<title>360 video</title>
<link rel="stylesheet" type="text/css" href="styles.css" />
<script type="text/javascript" src="../libraries/three.js" ></script>
<script type="text/javascript" src="../libraries/ColladaLoader.js" ></script>
<script type="text/javascript" src="360video.js" ></script>
<style type="text/css">
/* set up a canvas container covering the entire window */
html {height: 100%}
body {height: inherit; margin: 0px;}
#cont
{
width: 100%;
height: 100%;
margin: 0px;
}
</style>
</head>
<body>
<video id="video" autoplay loop style="display:none">
<source src="supersized-4096x2048.mp4" type='video/mp4;' />
</video>
<div id="cont" style="width: 800px, height: 600px" />
</body>
</html>