forked from mitchcapper/videospeed
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathoptions.html
56 lines (51 loc) · 1.75 KB
/
options.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
<!DOCTYPE html>
<html>
<head>
<title>Video Speed Controller: Options</title>
<script src="json_editor/prism.js"></script>
<link href="json_editor/prism.css" rel="stylesheet" />
<script src="json_editor/code-input.js"></script>
<script src="json_editor/indent.js"></script>
<link href="json_editor/code-input.css" rel="stylesheet" />
<link rel="stylesheet" href="options.css" />
<script src="options.js"></script>
</head>
<body>
<header style="display:flex;align-items:center;">
<img src="icons/icon32.png"/> <h1>Adjust Video Speed optons</h1>
</header>
<br />
<fieldset>
<legend>Raw JSON Settings Edit</legend>
<code-input
lang="JSON"
id="rawJson"
style="resize:vertical; overflow:auto; height:450px; width:633px;">
</code-input>
<br />
<button id="saveRaw">Save From RawJson</button>
<button id="restore">Restore Defaults</button>
<div id="status"></div>
</fieldset>
<div id="faq">
<hr />
<h4>Extension controls not appearing?</h4>
<p>
This extension is only compatible with HTML5 audio and video. A few select sites are incompatable.
</p>
<h4>The speed controls are not showing up for local videos?</h4>
<p>
To enable playback of local media (e.g. File > Open File), you need to grant additional permissions to the extension.
</p>
<ul>
<li>In a new tab, open the extensions page.</code></li>
<li>
Find "Video Speed Controller" extension in the list and enable "Allow access to file URLs"
</li>
<li>
Open a new tab and try opening a local file, the controls should appear.
</li>
</ul>
</div>
</body>
</html>