-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
50 lines (50 loc) · 2.31 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<link rel="stylesheet" href="css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<script type="text/javascript" src="player.js" ></script>
<title>Test Lecteur Vidéo</title>
</head>
<body>
<div class="container">
<div class="row">
<div class="col-xs-12 col-lg-12 jumbotron">
<div id="players" class="col-lg-9">
<div id="mainPlayer">
<video id="player0" src="trailer2.mp4" class='col-lg-12' poster="bunny.jpg" width="600" onclick="setView(0);"></video>
</div>
<video id="player1" src="trailer.mp4" class='col-lg-3' poster="bunny.jpg" width="600" onclick="setView(1);"></video>
<video id="player2" src="trailer2.mp4" class='col-lg-3' poster="bunny.jpg" width="600" onclick="setView(2);"></video>
</div>
<div id="Controls" class="container col-lg-9">
<button id='play-button' class='btn btn-default col-lg-offset-1 col-lg-4 btn-lg' title='Play' onclick="play_pause();">Play/Pause</button>
<button id='previous-button' class='btn btn-default col-lg-offset-1 col-lg-1 btn-lg' title='Previous' onclick="previous();"> < </button>
<button id='next-button' class='btn btn-default col-lg-1 btn-lg' title='Next' onclick="next();"> > </button>
</div>
<div class="col-lg-3">
<audio id="audio0" src="trailer.mp3" class='audio-player'></audio>
<audio id="audio1" src="audio_test.mp3" class='audio-player'></audio>
<input id="volume0" class="col-lg-3" type="range" min="0" max="1" value="1" step="0.01" orient="vertical" onchange="updateAudio();" />
<input id="volume1" class="col-lg-3" type="range" min="0" max="1" value="0" step="0.01" orient="vertical" onchange="updateAudio();" />
</div>
</div>
</div>
<div class="panel-group">
<div class="panel panel-default">
<div class="panel-heading">
<h4 class="panel-title">
<a data-toggle="collapse" href="#optionpanel">Option</a>
</h4>
</div>
<div id = "optionpanel" class="panel-collapse collapse">
<div class="panel-body">
<p>Preview <input id="preview-checkbox" type="checkbox" onclick="togglePreview();" checked></p>
</div>
</div>
</div>
</div>
</div>
</body>