-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
67 lines (62 loc) · 3.64 KB
/
index.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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>360VPlayer</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel=icon type=image/x-icon href="/favicon.ico"/>
<link rel="stylesheet" href="css/styles.css" />
<link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.0/css/font-awesome.min.css">
<link href='https://fonts.googleapis.com/css?family=Titillium+Web:400,700' rel='stylesheet' type='text/css'>
</head>
<body >
<div id="sphere-header"><span style="text-shadow: 0px 0px 5px #ffffff; margin-left:10px;line-height:40px;">360VPlayer </span>
<div id="sphere-about" class="sphere_about_popup_open"><i class="fa fa-info-circle fa-2x" ></i></div>
</div>
<div id="sphere_about_popup" style="display:none">
<div style="text-align:center"><img src="images/360vplayer-logo.png"/></div>
Plays 360 degree/spherical video files<br>
© 2016 <a href=https://github.com/rupeshs>Rupesh Sreeraman</a><br>
<i class="fa fa-mouse-pointer" aria-hidden="true"></i> Drag mouse to control camera <br>
<i class="fa fa-keyboard-o" aria-hidden="true"></i> Keyboard controls(desktop only):LEFT/RIGHT/UP/DOWN <br>
</div>
<figure id="videoContainer">
<div id="navctrl" class="ytp-webgl-spherical-control" data-layer="3" style="touch-action: none;" draggable="true" >
<svg xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" version="1.1" width="100" height="100" viewBox="0 0 100 100">
<circle cx="50" cy="50" r="42" fill="white" opacity="0.70"/>
<path class="button" onclick="targetRotationY-=0.1; " d="M50 10 l12 20 a40, 70 0 0,0 -24, 0z"/>
<path class="button" onclick="targetRotationX-=0.3;" d="M10 50 l20 -12 a70, 40 0 0,0 0, 24z"/>
<path class="button" onclick="targetRotationY+=0.1; " d="M50 90 l12 -20 a40, 70 0 0,1 -24, 0z"/>
<path class="button" onclick="targetRotationX+=0.3;" d="M90 50 l-20 -12 a70, 40 0 0,1 0, 24z"/>
</svg>
</div>
<div class="sphere-video-controls" id="sphere-video-controls-container">
<ul id="video-controls" class="controls">
<li class="progresss">
<progress id="progress" value="50" min="0">
<span id="progress-bar"></span>
</progress>
</li>
<li style="margin-left:15px;"><a id="browsefile"><i id="browser" class="fa fa-folder-open fa-2x" aria-hidden="true"></i></i><input type="file" id="fileBrowser"></a></li>
<li><div id="sphere-playpause-control"><i class="fa fa-play-circle fa-2x" aria-hidden="true"></i></div></li>
<li><div id="sphere-mute-btn" ></div></li>
<li><div id="sphere-volume-ctrl" class="sphere-volume-control"></div></li>
<li><div id="sphere-current-duration" ></div></li>
<li><div id="sphere-total-duration" ></div></li>
<li><div id="sphere-fullscreen" style="float:right;margin-right:15px;"> <i class="fa fa-arrows-alt fa-2x" aria-hidden="true"></i></div></li>
</ul>
</div>
</figure>
<script src='js/three.min.js'></script>
<script src='js/stats.min.js'></script>
<script src="js/threex.keyboardstate.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script src="https://code.jquery.com/ui/1.11.4/jquery-ui.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mobile-detect/1.3.2/mobile-detect.min.js"></script>
<script src="https://cdn.rawgit.com/vast-engineering/jquery-popup-overlay/1.7.13/jquery.popupoverlay.js"></script>
<script src="js/360vplayer.events.js"></script>
<script src="js/360vplayer.mousetouch.js"></script>
<script src="js/360vplayer.texture.js"></script>
<script src="js/360vplayer.controls.js"></script>
</body>
</html>