Closed
Bug 701785
Opened 12 years ago
Closed 11 years ago
Missing html5 video/audio controls in context menu
Categories
(Firefox for Android Graveyard :: General, defect, P4)
Tracking
(firefox16 affected, fennec19+)
VERIFIED
FIXED
Firefox 20
People
(Reporter: tchung, Assigned: mfinkle)
References
()
Details
(Whiteboard: [testday-20111111][qa^])
Attachments
(1 file, 1 obsolete file)
3.84 KB,
patch
|
wesj
:
review+
|
Details | Diff | Splinter Review |
There seems to be a handful of missing context menu items for HTML5 video window. - Play/Pause - Save Video - Share Video Only Full screen is there. These are available on XUL Fennec Repro: 1) install Fennec Native nightly, 20111111 build 2) visit URL or a site that has HTML5 video samples 3) play video via webpage controls 4) context click a video. verify missing context menu options listed above Expected: - main video controls appear in context click menu ActuaL: - only full screen is an option for video controls
Comment 1•12 years ago
|
||
Wes, dupe of 699537?
Summary: Missing html5 video controls in context menu → Missing html5 video/audio controls in context menu
Comment 2•12 years ago
|
||
Yeah they're listed in bug 699537.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
Reporter | ||
Updated•12 years ago
|
Status: RESOLVED → VERIFIED
Reporter | ||
Comment 3•12 years ago
|
||
reopening, for ease of tracking context menu work (via wesj) adding blocking bug 699537
Updated•12 years ago
|
Priority: -- → P4
Assignee | ||
Comment 4•12 years ago
|
||
Sriram - we have code in XUL fennec that shows how to implement these menu items.
Assignee: nobody → sriram
![]() |
||
Updated•11 years ago
|
Whiteboard: [testday-20111111] → [testday-20111111][qa^]
Comment 5•11 years ago
|
||
The context menu options are missing, except Full Screen if a long tap is performed over a HTML5 video. -- Firefox 16.0b1 (2012-08-28) Device: Galaxy Note OS: Android 4.0.4
tracking-fennec: --- → ?
status-firefox16:
--- → affected
Comment 6•11 years ago
|
||
Looks like Sriram hasn't been working on this, but it would make a good mentor bug, so I'm marking it as such.
Assignee: sriram → nobody
Whiteboard: [testday-20111111][qa^] → [testday-20111111][qa^][mentor=margaret][lang=js]
Updated•11 years ago
|
Status: REOPENED → NEW
Assignee | ||
Updated•11 years ago
|
tracking-fennec: ? → -
Comment 8•11 years ago
|
||
Renominating based on that we are getting more <video> support. Without this bug fixed users cannot save video/audio/
tracking-fennec: - → ?
Updated•11 years ago
|
Assignee: nobody → wjohnston
tracking-fennec: ? → 19+
Assignee | ||
Updated•11 years ago
|
Assignee: wjohnston → mark.finkle
Assignee | ||
Comment 9•11 years ago
|
||
This patch adds: "Play", "Pause" and "Share Video" to the context menu. Both "Play" and "Pause" should appear for video and audio. "Share Video" only works for video. "Play" and "Pause" are exclusive, so only one is visible at a time, depending on the state of the media element. I tested this change on webm and ogv, both inline and fullscreen. Seems to work OK.
Attachment #684297 -
Flags: review?(wjohnston)
Comment 10•11 years ago
|
||
Comment on attachment 684297 [details] [diff] [review] patch Review of attachment 684297 [details] [diff] [review]: ----------------------------------------------------------------- ::: mobile/android/chrome/content/browser.js @@ +1463,5 @@ > + if (paused && aMode == "media-paused") > + return true; > + if (!paused && aMode == "media-playing") > + return true; > + } Desktop also checks for load errors here: http://mxr.mozilla.org/mozilla-central/source/browser/base/content/nsContextMenu.js#395 Probably should do the same thing here.
Attachment #684297 -
Flags: review?(wjohnston) → review-
Assignee | ||
Comment 11•11 years ago
|
||
Added the "hasError" check.
Attachment #684297 -
Attachment is obsolete: true
Attachment #685877 -
Flags: review?(wjohnston)
Comment 12•11 years ago
|
||
Comment on attachment 685877 [details] [diff] [review] patch 2 Review of attachment 685877 [details] [diff] [review]: ----------------------------------------------------------------- Seems good to me! The desktop implementation just sets these items disabled. We actually support that, but I don't think there's anything in the context menu api for it, and it seems like a waste of space on small screens.
Attachment #685877 -
Flags: review?(wjohnston) → review+
Assignee | ||
Comment 13•11 years ago
|
||
(In reply to Wesley Johnston (:wesj) from comment #12) > The desktop implementation just sets these items disabled. We actually > support that, but I don't think there's anything in the context menu api for > it, and it seems like a waste of space on small screens. Right. I saw no reason to show them disabled.
Assignee | ||
Comment 14•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/bc0d354ed028
Whiteboard: [testday-20111111][qa^][mentor=margaret][lang=js] → [testday-20111111][qa^]
Target Milestone: --- → Firefox 20
Comment 15•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/bc0d354ed028
Status: NEW → RESOLVED
Closed: 12 years ago → 11 years ago
Resolution: --- → FIXED
Comment 16•10 years ago
|
||
I cannot reproduce this issue on the latest Nightly and Aurora. Closing bug as verified fixed on: Firefox for Android Version: 21.0a1 (2013-02-10) Device: HTC Desire Z OS: Android 2.3.3
Status: RESOLVED → VERIFIED
Updated•3 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•