Closed
Bug 862399
Opened 12 years ago
Closed 9 years ago
Add UI to loop playback of audio files
Categories
(Toolkit :: Video/Audio Controls, defect)
Toolkit
Video/Audio Controls
Tracking
()
RESOLVED
FIXED
mozilla49
People
(Reporter: sdrocking, Assigned: jaws)
References
Details
Attachments
(1 file, 2 obsolete files)
13.06 KB,
patch
|
Details | Diff | Splinter Review |
No description provided.
Reporter | ||
Updated•12 years ago
|
Blocks: 799318
Summary: add option to loop playback → Add an option to loop playback of mp3 files
![]() |
||
Updated•11 years ago
|
No longer blocks: 799318
OS: Windows 7 → All
Hardware: x86_64 → All
Summary: Add an option to loop playback of mp3 files → Add UI to loop playback of audio files
Version: unspecified → Trunk
Assignee | ||
Comment 1•9 years ago
|
||
Assignee: nobody → jaws
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Attachment #8750794 -
Flags: review?(gijskruitbosch+bugs)
Comment 2•9 years ago
|
||
Comment on attachment 8750794 [details] [diff] [review]
Patch
Review of attachment 8750794 [details] [diff] [review]:
-----------------------------------------------------------------
The summary of this bug is for audio files - does it make sense to have this UI on video files, as the patch does?
r+ but if you redo the patch based on this question and/or the below, happy to have another look.
::: browser/base/content/browser-context.inc
@@ +125,5 @@
> + <menuitem id="context-media-loop"
> + label="&mediaLoop.label;"
> + accesskey="&mediaLoop.accesskey;"
> + type="checkbox"
> + oncommand="gContextMenu.mediaCommand('loop');"/>
It feels to me like this could/should be further down the menu? Maybe underneath "Play speed" ?
::: browser/locales/en-US/chrome/browser/browser.dtd
@@ +557,5 @@
> <!ENTITY mediaPlay.accesskey "P">
> <!ENTITY mediaPause.label "Pause">
> <!ENTITY mediaPause.accesskey "P">
> +<!ENTITY mediaLoop.label "Loop">
> +<!ENTITY mediaLoop.accesskey "L">
This access key is in use for "P_lay speed". "o" is in use for Copy Video Location, and p for "Play", so it feels like we should just remove the access key from either play speed or from this item. It doesn't seem like the kind of item that you would repeatedly use and/or toggle...
Attachment #8750794 -
Flags: review?(gijskruitbosch+bugs) → review+
Assignee | ||
Comment 3•9 years ago
|
||
(In reply to :Gijs Kruitbosch from comment #2)
> The summary of this bug is for audio files - does it make sense to have this
> UI on video files, as the patch does?
Yeah, we should have it for both. Video files, such as music videos, may be beneficial to loop, and also for parity with Chrome which also has this present on videos.
> ::: browser/base/content/browser-context.inc
> @@ +125,5 @@
> > + <menuitem id="context-media-loop"
> > + label="&mediaLoop.label;"
> > + accesskey="&mediaLoop.accesskey;"
> > + type="checkbox"
> > + oncommand="gContextMenu.mediaCommand('loop');"/>
>
> It feels to me like this could/should be further down the menu? Maybe
> underneath "Play speed" ?
I went back and forth on the location. I put it higher because I had recently looked at the context menu on Chrome, but I think if we order based on usage, it should be lower. I'll move it below playback speed.
> ::: browser/locales/en-US/chrome/browser/browser.dtd
> @@ +557,5 @@
> > <!ENTITY mediaPlay.accesskey "P">
> > <!ENTITY mediaPause.label "Pause">
> > <!ENTITY mediaPause.accesskey "P">
> > +<!ENTITY mediaLoop.label "Loop">
> > +<!ENTITY mediaLoop.accesskey "L">
>
> This access key is in use for "P_lay speed". "o" is in use for Copy Video
> Location, and p for "Play", so it feels like we should just remove the
> access key from either play speed or from this item. It doesn't seem like
> the kind of item that you would repeatedly use and/or toggle...
I don't know how I didn't notice this in my testing. I would like to keep an access key because one may fit in other locales. I will go with a letter not in "Loop".
Assignee | ||
Comment 4•9 years ago
|
||
Play Speed access key was changed from "l" to "d" so Loop can use "L".
Attachment #8750794 -
Attachment is obsolete: true
Assignee | ||
Updated•9 years ago
|
Keywords: checkin-needed
Keywords: checkin-needed
Comment 6•9 years ago
|
||
Backed out for browser_contextmenu.js failures.
https://hg.mozilla.org/integration/fx-team/rev/b8f01297e8fc
https://treeherder.mozilla.org/logviewer.html#?job_id=9277122&repo=fx-team
Assignee | ||
Comment 7•9 years ago
|
||
Attachment #8750853 -
Attachment is obsolete: true
Assignee | ||
Updated•9 years ago
|
Keywords: checkin-needed
Assignee | ||
Comment 8•9 years ago
|
||
Release Note Request (optional, but appreciated)
[Why is this notable]: audio and video can now be looped using the built-in controls
[Suggested wording]: Loop HTML5 audio and video files through the context menu.
[Links (documentation, blog post, etc)]: n/a
relnote-firefox:
--- → ?
Keywords: checkin-needed
Comment 10•9 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox49:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla49
Updated•9 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•