Allow media seek amount so be configured
Categories
(Toolkit :: Video/Audio Controls, enhancement, P5)
Tracking
()
Tracking | Status | |
---|---|---|
firefox63 | --- | affected |
People
(Reporter: henrik.hank, Unassigned)
References
Details
Attachments
(3 files)
Comment hidden (mozreview-request) |
Comment 2•7 years ago
|
||
mozreview-review |
Comment hidden (mozreview-request) |
Comment 5•7 years ago
|
||
mozreview-review |
Comment 6•7 years ago
|
||
Comment 7•7 years ago
|
||
Updated•7 years ago
|
Comment 8•7 years ago
|
||
Updated•7 years ago
|
Comment 9•7 years ago
|
||
Reporter | ||
Comment 10•7 years ago
|
||
Comment 11•7 years ago
|
||
Comment 12•7 years ago
|
||
Comment 13•7 years ago
|
||
Comment 14•7 years ago
|
||
Reporter | ||
Comment 15•7 years ago
|
||
Updated•7 years ago
|
Comment 16•7 years ago
|
||
Reporter | ||
Comment 17•7 years ago
|
||
Comment 18•7 years ago
|
||
Reporter | ||
Comment 19•7 years ago
|
||
Comment 20•7 years ago
|
||
Reporter | ||
Comment 21•7 years ago
|
||
Comment 22•6 years ago
|
||
Can we get an update? Even simple 2-line edit to 5 sec would be better than nothing after a year.
Reporter | ||
Comment 23•6 years ago
|
||
When you play audio or video in Firefox, you can jump by a fixed amount of 15 seconds, as this help page explicitly mentions: https://support.mozilla.org/en-US/kb/keyboard-shortcuts-perform-firefox-tasks-quickly#w_media-shortcuts.
15 seconds is an unusual big seek step. These apps all have 5 seconds as their default seek step:
- YouTube
- foobar2000 (popular audio player for Windows)
- MPC-BE (video player for Windows)
A number of people thought, a config option as media.seekStepLength
, that was initially planned, would not be necessary and proposed changing the fixed seek amount from 15 seconds to 5 seconds. That's what this patch does.
Here are media files for testing. You may have to click on the pause/play button or video area before the keystrokes will be recognized:
Aside from that, the patch does the following:
- Improve the unit chaos (seconds vs. milliseconds), mostly by adding
ms
to variable names, sinceHTMLMediaElement
is specced with properties in seconds, not milliseconds. I that carefully, not as a simple find-and-replace. - Remove inconsistency:
==
/!=
to===
/!==
(thoughtfully)
Comment 24•3 years ago
|
||
The bug has a release status flag that shows some version of Firefox is affected, thus it will be considered confirmed.
Comment 25•3 years ago
|
||
Since 3 years have passed. Is there a way now to customize the button foward and back in the default video player of firefox? maybe on about config
Comment 26•3 years ago
|
||
(In reply to dragons.fire.zx from comment #25)
Since 3 years have passed. Is there a way now to customize the button foward and back in the default video player of firefox? maybe on about config
No, but the default seek time was changed to 5s in bug 1693961, which fulfilled the original request here.
Updated•2 years ago
|
Updated•2 years ago
|
Comment 27•2 years ago
|
||
The bug assignee is inactive on Bugzilla, so the assignee is being reset.
Updated•1 year ago
|
Updated•1 year ago
|
Comment 28•8 days ago
|
||
FWIW, I would also like this seek amount to be configurable. And I think the reason for not making it configurable (the UI hard-coded the duration in the bitmap for the button), is not a good excuse.
Skip durations are a matter of personal preference, and are usually configurable on set-top-box media players like DVRs for exactly this reason.
FWIW, my personal preference is for skip-forward to skip 30 seconds, and skip-backward to skip 10 seconds. So you can quickly scrub forward through a video, and then back-off a bit if you overshoot the mark.
But others (like the OP for this bug report) want 5 seconds in both directions. And I'm sure there are dozens of other common preferences.
I think the duration definitely needs to be made configurable. Maybe provide a list of several choices in the Settings page, which can be selected for each direction, and make it an integer property in about:config, so those unsatisfied with the choices can pick something else.
Description
•