soiz1 commited on
Commit
1ae3bbc
Β·
verified Β·
1 Parent(s): ce84b9c

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +72 -0
index.html CHANGED
@@ -1,3 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  <script>
2
  const video = document.getElementById('videoPlayer');
3
  const speedRange = document.getElementById('speedRange');
@@ -133,3 +202,6 @@
133
  audioWarning.style.display = 'block';
134
  alert("ιŸ³ι‡ε’—εΉ…ζ©Ÿθƒ½γ‚’δ½Ώη”¨γ™γ‚‹γ«γ―γ€ε‹•η”»γ‚’ε†η”Ÿγ—γ¦γγ γ•γ„");
135
  </script>
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="ja">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <title>動画プレむダー</title>
6
+ <style>
7
+ body {
8
+ display: flex;
9
+ flex-direction: column;
10
+ align-items: center;
11
+ background-color: #f0f0f0;
12
+ font-family: sans-serif;
13
+ padding: 20px;
14
+ }
15
+ video {
16
+ max-width: 100%;
17
+ height: auto;
18
+ margin-bottom: 10px;
19
+ }
20
+ .controls {
21
+ display: flex;
22
+ flex-direction: column;
23
+ gap: 15px;
24
+ width: 100%;
25
+ max-width: 500px;
26
+ }
27
+ .control-group {
28
+ display: flex;
29
+ align-items: center;
30
+ justify-content: space-between;
31
+ gap: 10px;
32
+ }
33
+ input[type="range"] {
34
+ flex: 1;
35
+ }
36
+ input[type="number"] {
37
+ width: 60px;
38
+ }
39
+ #audioWarning {
40
+ color: red;
41
+ display: none;
42
+ }
43
+ </style>
44
+ </head>
45
+ <body>
46
+ <h1>動画プレむダー</h1>
47
+ <video id="videoPlayer" src="v.mp4" controls></video>
48
+ <p id="audioWarning">ιŸ³ι‡ε’—εΉ…ζ©Ÿθƒ½γ‚’δ½Ώη”¨γ™γ‚‹γ«γ―γ€ε‹•η”»γ‚’ε†η”Ÿγ—γ¦γγ γ•γ„</p>
49
+
50
+ <div class="controls">
51
+ <div class="control-group">
52
+ <label for="speedRange">ε†η”Ÿι€ŸεΊ¦οΌš</label>
53
+ <input type="range" id="speedRange" min="0.0001" max="5" step="0.0001" value="1">
54
+ <input type="number" id="speedInput" min="0.0001" step="0.0001" value="1">
55
+ </div>
56
+
57
+ <div class="control-group">
58
+ <label for="volumeRange">ιŸ³ι‡οΌš</label>
59
+ <input type="range" id="volumeRange" min="0" max="1000" step="1" value="100">
60
+ <input type="number" id="volumeInput" min="0" max="1000" step="1" value="100">%
61
+ </div>
62
+
63
+ <div class="control-group">
64
+ <label for="loopCheckbox">γƒ«γƒΌγƒ—ε†η”ŸοΌš</label>
65
+ <input type="checkbox" id="loopCheckbox" checked>
66
+ </div>
67
+
68
+ <button onclick="goFullscreen()">全画青</button>
69
+ </div>
70
  <script>
71
  const video = document.getElementById('videoPlayer');
72
  const speedRange = document.getElementById('speedRange');
 
202
  audioWarning.style.display = 'block';
203
  alert("ιŸ³ι‡ε’—εΉ…ζ©Ÿθƒ½γ‚’δ½Ώη”¨γ™γ‚‹γ«γ―γ€ε‹•η”»γ‚’ε†η”Ÿγ—γ¦γγ γ•γ„");
204
  </script>
205
+
206
+ </body>
207
+ </html>