Closed
Bug 838167
Opened 13 years ago
Closed 13 years ago
Add "Save Video" and "Save Video To" context menu options for html5 video
Categories
(Firefox for Metro Graveyard :: File Handling, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jimm, Assigned: jimm)
References
Details
(Whiteboard: feature=work)
Attachments
(2 files, 1 obsolete file)
|
4.16 KB,
patch
|
mbrubeck
:
review+
|
Details | Diff | Splinter Review |
|
4.12 KB,
patch
|
mbrubeck
:
review+
|
Details | Diff | Splinter Review |
STR:
1) visit http://www.808.dk/?code-html-5-video
2) press-hold or right-click the video
results: no context menu is displayed
expected: context menu displayed with save options similar to images
| Assignee | ||
Comment 1•13 years ago
|
||
We have a video detection here, but it doesn't appear to be working correctly.
| Assignee | ||
Updated•13 years ago
|
Blocks: metro-contextmenus
| Assignee | ||
Comment 2•13 years ago
|
||
Assignee: nobody → jmathies
| Assignee | ||
Comment 3•13 years ago
|
||
This depends on the patch in bug 837932.
On some sites, the element in popupNode was a XULElement, I'm guessing this was the video controls overlay. So I've moved this down to the loop where we walk up the tree looking for media or video elements.
Another oddity, on this site -
http://www.808.dk/?code-html-5-video
the first element in the walk that we find is an nsIDOMHTMLVideoElement. That element supports nsIDOMHTMLMediaElement but the instanceof was failing for a check for that interface, so I check for both.
Attachment #710353 -
Attachment is obsolete: true
Attachment #710400 -
Flags: review?(mbrubeck)
| Assignee | ||
Comment 4•13 years ago
|
||
This may come out depending on whether or not Asa decides to keep the save to options for images and video.
Attachment #710407 -
Flags: review?(mbrubeck)
Updated•13 years ago
|
Attachment #710400 -
Flags: review?(mbrubeck) → review+
Updated•13 years ago
|
Attachment #710407 -
Flags: review?(mbrubeck) → review+
| Assignee | ||
Comment 5•13 years ago
|
||
https://hg.mozilla.org/projects/elm/rev/dc37f97740e1
https://hg.mozilla.org/projects/elm/rev/fb839c10a5c4
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Updated•13 years ago
|
Whiteboard: [metro-mvp?] → feature=work
Updated•11 years ago
|
OS: Windows 8 Metro → Windows 8.1
You need to log in
before you can comment on or make changes to this bug.
Description
•