-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
50 lines (50 loc) · 1.74 KB
/
Copy pathindex.html
File metadata and controls
50 lines (50 loc) · 1.74 KB
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 lang="ja">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Twitch Sync Theater</title>
<link rel="stylesheet" href="style.css">
<script src="https://player.twitch.tv/js/embed/v1.js"></script>
</head>
<body>
<div id="layout">
<main id="player-container"></main>
<button id="toggleSidebar" aria-label="メニューを開く">☰</button>
<nav id="sidebar">
<button class="close-sidebar" aria-label="サイドバーを閉じる">✕</button>
<section>
<h2>Add Stream</h2>
<input type="text" id="channel-input" placeholder="チャンネル名 or VOD URL">
<label><input type="checkbox" id="with-chat"> チャット付き</label>
<button id="add-button">追加</button>
</section>
<section id="vod-list">
<h2>Streams</h2>
</section>
<section>
<h2>Control</h2>
<button id="sync-button">同期再生</button>
</section>
<section>
<h2>API設定</h2>
<div id="api-error" class="error"></div>
<label>Client ID <input type="text" id="client-id"></label>
<label>Client Secret <input type="password" id="client-secret"></label>
<button id="save-api">保存</button>
<button id="open-dev">Twitch 開発者ポータルを開く</button>
</section>
</nav>
</div>
<div id="global-seek">
<div id="seek-container">
<button id="play-toggle">▶</button>
<input type="range" id="seek-bar" min="0" max="7200" value="0" step="1">
<div id="markers"></div>
</div>
<span id="seek-time">00:00:00</span>
</div>
<script src="twitch-api.js"></script>
<script src="script.js"></script>
</body>
</html>