Closed Bug 869292 Opened 12 years ago Closed 12 years ago

[Video] Need to be able to save from the "open" activity window

Categories

(Firefox OS Graveyard :: Gaia::Video, defect, P1)

ARM
Gonk (Firefox OS)
defect

Tracking

(blocking-b2g:leo+, b2g18 fixed, b2g18-v1.0.0 wontfix, b2g18-v1.0.1 wontfix)

RESOLVED FIXED
blocking-b2g leo+
Tracking Status
b2g18 --- fixed
b2g18-v1.0.0 --- wontfix
b2g18-v1.0.1 --- wontfix

People

(Reporter: dkuo, Assigned: djf)

References

Details

(Keywords: feature)

Attachments

(1 file)

When a video file is opened by the video player via open activity, the user has the option to "save" that content, if the user selects that option, a banner indicating the success/failure of the operation is shown when completed. Currently this feature will be used with SMS/MMS and email apps.
Blocks: 840065
I should be able to implement this, however anyone is welcome to take it. I am assigning this to myself in case this bug needs status update or LOE estimation.
Assignee: dkuo → dflanagan
Dominic, This patch is pretty similar to the one for gallery. There are some differences because videos can have titles. I display the title or the basename of the file in the banner after saving rather than the full filename like the Gallery app does. (I'm not sure which one is correct.) This patch changes the behavior of the open activity so that it no longer returns automatically to the caller when the video is done playing. I'm guessing that was probably a bug that it did that anyway.
Attachment #747193 - Flags: review?(dkuo)
Blocks a blocker.
blocking-b2g: --- → leo+
Keywords: feature
Priority: -- → P1
Comment on attachment 747193 [details] link to patch on github David, This patch looks good, with the patch I am able to save a video while opening it with save option. There is only on minor issue, which is the banner always shows the same filename but the actual saved filename, I am not sure it's your intent or a bug, but gallery shows the actual saved filename so that's why I mention this.
Attachment #747193 - Flags: review?(dkuo) → review+
Dominic, Thanks for the review. The filename thing was intentional. I've realized that I don't know what the right behavior is here. Since UX wants us to say "saved to Gallery" and "Saved to Video" that implies to me that the actual filename and directory should not be displayed to the user. So I think maybe I got it wrong in the gallery patch. I'm going to land it as is, and then request UX clarification, and open a new bug to make all three apps consistent on this point.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
I was not able to uplift this bug to v1-train. If this bug has dependencies which are not marked in this bug, please comment on this bug. If this bug depends on patches that aren't approved for v1-train, we need to re-evaluate the approval. Otherwise, if this is just a merge conflict, you might be able to resolve it with: git checkout v1-train git cherry-pick -x -m1 f02b2b29fbffe38f9a05fc53b16dc97049a9d55d <RESOLVE MERGE CONFLICTS> git commit
Covered via test case in blocker bug.
Flags: in-moztrap+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: