mirror of
https://github.com/SoPat712/videospeed.git
synced 2026-04-23 05:12:37 -04:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
de582ae157
|
|||
|
eb64de6ea3
|
|||
|
eab6d10a19
|
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "Speeder",
|
"name": "Speeder",
|
||||||
"short_name": "Speeder",
|
"short_name": "Speeder",
|
||||||
"version": "5.2.5.0",
|
"version": "5.2.6.0",
|
||||||
"manifest_version": 2,
|
"manifest_version": 2,
|
||||||
"description": "Speed up, slow down, advance and rewind HTML5 audio/video with shortcuts (New and improved version of \"Video Speed Controller\")",
|
"description": "Speed up, slow down, advance and rewind HTML5 audio/video with shortcuts (New and improved version of \"Video Speed Controller\")",
|
||||||
"homepage_url": "https://github.com/SoPat712/speeder",
|
"homepage_url": "https://github.com/SoPat712/speeder",
|
||||||
|
|||||||
@@ -343,6 +343,14 @@ label em {
|
|||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.shortcut-label em {
|
||||||
|
display: block;
|
||||||
|
margin-top: 4px;
|
||||||
|
color: var(--muted);
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 400;
|
||||||
|
}
|
||||||
|
|
||||||
.customKey,
|
.customKey,
|
||||||
.customValue {
|
.customValue {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|||||||
+13
-3
@@ -96,7 +96,11 @@
|
|||||||
<section id="customs" class="settings-card">
|
<section id="customs" class="settings-card">
|
||||||
<div class="section-heading">
|
<div class="section-heading">
|
||||||
<h3>Shortcuts</h3>
|
<h3>Shortcuts</h3>
|
||||||
<p class="section-intro">Backspace clears a shortcut. Escape disables it.</p>
|
<p class="section-intro">
|
||||||
|
Backspace clears a key. Escape disables optional shortcuts. If a site
|
||||||
|
steals a shortcut, use a site rule with Override shortcuts (and
|
||||||
|
per-key blocking) for that URL.
|
||||||
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="shortcuts-grid">
|
<div class="shortcuts-grid">
|
||||||
<div class="shortcut-row" id="display" data-action="display">
|
<div class="shortcut-row" id="display" data-action="display">
|
||||||
@@ -132,7 +136,10 @@
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div class="shortcut-row" id="slower" data-action="slower">
|
<div class="shortcut-row" id="slower" data-action="slower">
|
||||||
<div class="shortcut-label">Decrease speed</div>
|
<div class="shortcut-label">
|
||||||
|
Decrease speed
|
||||||
|
<em>Required: Speeder needs a key for this action.</em>
|
||||||
|
</div>
|
||||||
<input
|
<input
|
||||||
class="customKey"
|
class="customKey"
|
||||||
type="text"
|
type="text"
|
||||||
@@ -146,7 +153,10 @@
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div class="shortcut-row" id="faster" data-action="faster">
|
<div class="shortcut-row" id="faster" data-action="faster">
|
||||||
<div class="shortcut-label">Increase speed</div>
|
<div class="shortcut-label">
|
||||||
|
Increase speed
|
||||||
|
<em>Required: Speeder needs a key for this action.</em>
|
||||||
|
</div>
|
||||||
<input
|
<input
|
||||||
class="customKey"
|
class="customKey"
|
||||||
type="text"
|
type="text"
|
||||||
|
|||||||
+1
-1
@@ -233,7 +233,7 @@ const actionLabels = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const speedBindingActions = ["slower", "faster", "fast", "softer", "louder"];
|
const speedBindingActions = ["slower", "faster", "fast", "softer", "louder"];
|
||||||
const requiredShortcutActions = new Set(["display", "slower", "faster"]);
|
const requiredShortcutActions = new Set(["slower", "faster"]);
|
||||||
|
|
||||||
function formatSpeedBindingDisplay(action, value) {
|
function formatSpeedBindingDisplay(action, value) {
|
||||||
if (!speedBindingActions.includes(action)) {
|
if (!speedBindingActions.includes(action)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user