Open
Bug 1326868
Opened 8 years ago
Updated 3 years ago
Toolkit video audio controls are BROKEN and inconsistent if video is broken
Categories
(Toolkit :: Video/Audio Controls, defect)
Toolkit
Video/Audio Controls
Tracking
()
NEW
People
(Reporter: arni2033, Unassigned)
Details
>>> My Info: Win7_64, Nightly 49, 32bit, ID 20160526082509
STR_1:
1. Open url any "bad" url - [1],[2],[3] or any "good" url - [4],[5],[6],[7]
2. Hover mouse over the video
3. Move mouse away from the video
bad
> [1] data:text/html,<video muted="muted" controls="" id="V" autoplay="autoplay" ></video>
> [2] data:text/html,<video muted="muted" controls="" id="V" ></video><script>V.play()</script>
> [3] data:text/html,<video muted="muted" controls="" id="V" ></video><script>setTimeout("V.play()",100);</script>
good
> [4] data:text/html,<video muted="muted" controls="" id="V" ></video>
> [5] data:text/html,<video muted="muted" controls="" id="V" autoplay="autoplay" ></video><script>V.play()</script>
> [6] data:text/html,<video muted="muted" controls="" id="V" src="https://videos.cdn.mozilla.net/uploads/mozillaorg/A%20different%20kind%20of%20browser.webm"></video>
> [7] data:text/html,<video muted="muted" controls="" id="V" autoplay="autoplay" src="https://videos.cdn.mozilla.net/uploads/mozillaorg/A%20different%20kind%20of%20browser.webm"></video>
Actual Result: ("-" and "+" only represent the presence of video controls)
Url Controls after Step 1 Controls after Step 2 Controls after Step 3
[1] (-) hidden (+) visible (+) visible
[2] (-) hidden (-) hidden (-) hidden
[3] (+) visible (+) visible (+) visible
[4] (+) visible (+) visible (+) visible
[5] (-) hidden (+) visible (-) hidden
[6] (+) visible (+) visible (+) visible
[7] (-) hidden (+) visible (-) hidden
Expected Result: Either X or Y
X) Step 1 - controls should be visible Step 2 - should stay visible Step 3 - should be visible
Y) Step 1 - controls should be hidden Step 2 - should be visible Step 3 - should be hidden
Explanation:
Video controls should only depend on the video state and current mouse position.
If video is in "play"/"paused" state, it should only display controls if mouse is placed above video
If video is in "not started"/"invalid" state, it should always display controls
This looks like current plan of Firefox team
In each case video should have unequivocally certain "state", and therefore - behavior of controls
In other words, in each "bad" and "good" case I expect either X or Y
Note:
I encountered this on a number of sites using normal PC, and also almost everywhere
while using PC w/o native video decoding.
Component: Untriaged → Video/Audio Controls
Product: Firefox → Toolkit
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•