mirror of
https://github.com/SoPat712/videospeed.git
synced 2025-08-21 18:08:46 -04:00
add nudge to settings
This commit is contained in:
64
options.html
64
options.html
@@ -1,4 +1,4 @@
|
||||
<!DOCTYPE html>
|
||||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Video Speed Controller: Options</title>
|
||||
@@ -148,8 +148,13 @@
|
||||
<input id="rememberSpeed" type="checkbox" />
|
||||
</div>
|
||||
<div class="row">
|
||||
<label for="forceLastSavedSpeed">Force last saved speed<br />
|
||||
<em>Useful for video players that override the speeds set by VideoSpeed</em></label>
|
||||
<label for="forceLastSavedSpeed"
|
||||
>Force last saved speed<br />
|
||||
<em
|
||||
>Useful for video players that override the speeds set by
|
||||
VideoSpeed</em
|
||||
></label
|
||||
>
|
||||
<input id="forceLastSavedSpeed" type="checkbox" />
|
||||
</div>
|
||||
<div class="row">
|
||||
@@ -175,6 +180,47 @@
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section id="nudgeSettings">
|
||||
<h3>Subtitle Nudge Settings (Experimental - YouTube Only)</h3>
|
||||
<div class="row">
|
||||
<label for="enableSubtitleNudge"
|
||||
>Enable Subtitle Nudge <br /><em
|
||||
>Periodically 'nudges' video speed by a tiny amount to help keep
|
||||
subtitles in sync on some sites (e.g. YouTube).</em
|
||||
>
|
||||
</label>
|
||||
<input id="enableSubtitleNudge" type="checkbox" />
|
||||
</div>
|
||||
<div class="row">
|
||||
<label for="subtitleNudgeInterval"
|
||||
>Nudge Interval (milliseconds) <br /><em
|
||||
>How often to nudge (e.g., 25-1000). Smaller values are more
|
||||
frequent. Default: 25.</em
|
||||
>
|
||||
</label>
|
||||
<input
|
||||
id="subtitleNudgeInterval"
|
||||
type="text"
|
||||
value=""
|
||||
placeholder="25"
|
||||
/>
|
||||
</div>
|
||||
<div class="row">
|
||||
<label for="subtitleNudgeAmount"
|
||||
>Nudge Amount (decimal) <br /><em
|
||||
>How much to change speed by (e.g., 0.001). Very small values
|
||||
recommended. Default: 0.001.</em
|
||||
>
|
||||
</label>
|
||||
<input
|
||||
id="subtitleNudgeAmount"
|
||||
type="text"
|
||||
value=""
|
||||
placeholder="0.001"
|
||||
/>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<button id="save">Save</button>
|
||||
<button id="restore">Restore Defaults</button>
|
||||
<button id="experimental">Show Experimental Features</button>
|
||||
@@ -186,12 +232,12 @@
|
||||
|
||||
<h4>Extension controls not appearing?</h4>
|
||||
<p>
|
||||
This extension is only compatible with HTML5 audio and video. If you don't
|
||||
see the controls showing up, chances are you are viewing a Flash content.
|
||||
If you want to confirm, try right-clicking on the content and inspect the
|
||||
menu: if it mentions flash, then that's the issue. That said, <b>most sites
|
||||
will fallback to HTML5</b> if they detect that Flash is not available. You
|
||||
can try manually disabling Flash from the browser.
|
||||
This extension is only compatible with HTML5 audio and video. If you
|
||||
don't see the controls showing up, chances are you are viewing a Flash
|
||||
content. If you want to confirm, try right-clicking on the content and
|
||||
inspect the menu: if it mentions flash, then that's the issue. That
|
||||
said, <b>most sites will fallback to HTML5</b> if they detect that Flash
|
||||
is not available. You can try manually disabling Flash from the browser.
|
||||
</p>
|
||||
</div>
|
||||
</body>
|
||||
|
Reference in New Issue
Block a user