Spaces:
Running
Running
Update index.html
Browse files- 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>
|