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)

x86_64
Windows 8.1
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jimm, Assigned: jimm)

References

Details

(Whiteboard: feature=work)

Attachments

(2 files, 1 obsolete file)

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
We have a video detection here, but it doesn't appear to be working correctly.
Attached patch fix v.1 (obsolete) — Splinter Review
Assignee: nobody → jmathies
Attached patch fix v.2Splinter Review
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)
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)
Attachment #710400 - Flags: review?(mbrubeck) → review+
Attachment #710407 - Flags: review?(mbrubeck) → review+
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Blocks: 842646
No longer blocks: metro-contextmenus
Whiteboard: [metro-mvp?] → feature=work
OS: Windows 8 Metro → Windows 8.1
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: