Closed Bug 1108075 Opened 10 years ago Closed 10 years ago

[Video] Video controls disappear quickly after playing a video.

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(b2g-v2.0 affected, b2g-v2.1 affected, b2g-v2.2 affected)

RESOLVED DUPLICATE of bug 1011795
Tracking Status
b2g-v2.0 --- affected
b2g-v2.1 --- affected
b2g-v2.2 --- affected

People

(Reporter: jthomas, Unassigned)

References

()

Details

(Whiteboard: [2.2-flame-reduced-run])

Attachments

(1 file)

Description: If the user plays a video the video controls will fade out almost immediately. Prereq: At least one video on device. Repro Steps: 1) Update a Flame to 20141205040202 2) Launch Video App 3) Play Video 4) Observe how long Video controls are displayed. Actual: Video controls disappear after about a second. Expected: It is expected that after a while the video controls will fade out to remove any distractions for the user while he is watching a video instead of having the controls disappear almost immediately. Flame 2.2 Device: Flame 2.2 Master (319mb)(Kitkat Base)(Full Flash) Build ID: 20141205040202 Gaia: 529c5fcd234ffd108b57629673ca97c2ef73376d Gecko: e7f3e6fee15e Gonk: 48835395daa6a49b281db62c50805bd6ca24077e Version: 37.0a1 (2.2) Firmware Version: v188-1 User Agent: Mozilla/5.0 (Mobile; rv:37.0) Gecko/37.0 Firefox/37.0 Repro frequency: 100% Link to failed test case: https://moztrap.mozilla.org/manage/case/3658/ See attached: Logcat & Video Video: http://youtu.be/-d8BLvi-I2k
Flags: needinfo?(dharris)
This issues DOES occur on the Flame 2.1 KK (319mb) and the Flame 2.0 KK (319mb) Result: Video controls dissappear almost imeddiately after playing a video. Flame 2.1 Device: Flame 2.1 (319mb) (Kitkat Base)(Full Flash) BuildID: 20141205001201 Gaia: 38e17b0219cbc50a4ad6f51101898f89e513a552 Gecko: 8b92c4b8f59a Gonk: 48835395daa6a49b281db62c50805bd6ca24077e Version: 34.0 (2.1) Firmware: V188-1 User Agent: Mozilla/5.0 (Mobile; rv:34.0) Gecko/34.0 Firefox/34.0 Flame 2.0 Device: Flame 2.0 (319mb) (KitKat Base)(Full Flash) Build ID: 20141205000201 Gaia: 856863962362030174bae4e03d59c3ebbc182473 Gecko: e40fe21e37f1 Gonk: 48835395daa6a49b281db62c50805bd6ca24077e Version: 32.0 (2.0) Firmware Version: v188-1 User Agent: Mozilla/5.0 (Mobile; rv:32.0) Gecko/32.0 Firefox/32.0 Device: Flame 2.0 (319mb)(KitKat)(Full Flash)
QA Whiteboard: [QAnalyst-Triage?]
The video controls disappear very quickly. This behavior is inconsistent with the gallery app when playing a video. NI Video owner for a blocking decision.
QA Whiteboard: [QAnalyst-Triage?] → [QAnalyst-Triage+]
Flags: needinfo?(dharris) → needinfo?(npark)
The UI control does seem to disappear faster than before. Although technically not a blocking bug, I'm cc'ing hema so she can direct it to the appropriate person.
Flags: needinfo?(npark) → needinfo?(hkoka)
Russ, When you get a chance, please investigate this. Thanks Hema
Flags: needinfo?(hkoka) → needinfo?(rnicoletti)
As far back as v1.3 (I didn't look back further than that), the video controls are auto-hidden in 250ms, which is the same as in master. I'm not sure why it would seem that they are hidden more quickly now. Regarding the inconsistency with gallery, ideally the gallery and video apps would both use a video player web component to play videos; that would eliminate the duplicate markup/js and then their behavior would be the same. I am working on such a web component but it won't be ready real soon. If you think the difference in behavior is significant enough to create a bug, IMO you should create a bug against gallery. Back to the video controls disappearing quickly, Rob, can you comment on whether 250ms is an appropriate delay for the video controls to be hidden when starting to play a video?
Flags: needinfo?(rnicoletti) → needinfo?(rmacdonald)
Sorry for the delay as I've been away. NI'ing Tif on this as the media ux owner.
Flags: needinfo?(rmacdonald) → needinfo?(tshakespeare)
+1 to Russ's comment that all the apps should be using the same video player component to play videos. I have a bug open for this somewhere. They should all have the same behaviour and visual design. Russ - are we any closer to having this?
What's the word?
Flags: needinfo?(tshakespeare) → needinfo?(rnicoletti)
I'm in the process of creating two web components, one for the video controls and one for the video player. I'm calling them "media controls" and "media player" since in theory they could be used by the music app as well. The media controls component as mostly complete, awaiting feedback from djf. The media player component is in progress, the goal is for it to be complete and integrated into gallery and camera this quarter.
Flags: needinfo?(rnicoletti)
Cool! What is the difference between the medial controls and media player? Do you have a bug or something I could take a look at? Thanks Russ!
Flags: needinfo?(rnicoletti)
The media controls component consists of the play, rewind, forward buttons and the time slider (with elapsed time and duration text). I don't have a screenshot, but the controls look the same as those in the video app. The bug is 1117885, there is a link to the repo in the bug if you'd like to look at the code/css. The media player component is the higher level component that is responsible for loading, playing, pausing, displaying, etc. the video (media). It contains the media controls component. As it is still in development, I haven't established precisely the boundary between the video app the media player component. But pretty much any behavior dealing directly with the video html element will be within the media player component.
Flags: needinfo?(rnicoletti)
Inconsistencies between Gallery and Video app are addressed in Bug 1011795, so closing this bug as a dup.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: