Inaudible media should not be affected by media key
Categories
(Core :: Audio/Video: Playback, defect, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr68 | --- | unaffected |
firefox-esr78 | --- | wontfix |
firefox79 | --- | wontfix |
firefox80 | --- | verified |
People
(Reporter: alwu, Assigned: alwu)
References
(Regression, )
Details
(Keywords: regression)
Attachments
(7 files, 3 obsolete files)
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review |
This is caused by bug1627999, the inaudible media shouldn't be controlled by media control.
STR.
- go to https://alastor0325.github.io/htmltests/autoplay_tests/non-audible-test/autoplay_test_muted_mix_audible.html
- start both media
- press media key "pause"
Expect.
4. only audible media is being paused
Actual.
4. both media are being paused
Assignee | ||
Updated•4 years ago
|
Updated•4 years ago
|
Assignee | ||
Comment 1•4 years ago
|
||
Assignee | ||
Comment 2•4 years ago
|
||
Assignee | ||
Comment 3•4 years ago
|
||
Assignee | ||
Comment 4•4 years ago
|
||
Assignee | ||
Comment 5•4 years ago
|
||
Assignee | ||
Comment 6•4 years ago
|
||
Assignee | ||
Comment 7•4 years ago
|
||
Assignee | ||
Comment 9•4 years ago
|
||
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Assignee | ||
Comment 10•4 years ago
|
||
Assignee | ||
Comment 11•4 years ago
|
||
Working through review.
I don't feel strongly, but suggest moving parts 7, 8, and 10 to another bug as they're not specifically related to the audibility of an element. This could help with finding regressions and attribution. Alternatively, if you think regression is unlikely, I suggest renaming this bug to make it clear the scope is greater than just audibility. It could be named something like "Prioritize full screen and pip elements for media keys, do not use media keys on inaudible media unless it's fullscreen or pip" (bit long, but the best I could think of).
Comment 13•4 years ago
|
||
Comment on attachment 9165083 [details]
Bug 1653390 - part10 : add test cases for enabling muted media into fullscreen/PIP mode.
Revision D84369 was moved to bug 1654959. Setting attachment 9165083 [details] to obsolete.
Comment 14•4 years ago
|
||
Comment on attachment 9164634 [details]
Bug 1653390 - part8 : start listener when media enters PIP mode.
Revision D84119 was moved to bug 1654959. Setting attachment 9164634 [details] to obsolete.
Comment 15•4 years ago
|
||
Comment on attachment 9164633 [details]
Bug 1653390 - part7 : start listener when media enters fullscreen.
Revision D84118 was moved to bug 1654959. Setting attachment 9164633 [details] to obsolete.
Updated•4 years ago
|
Comment 16•4 years ago
|
||
Pushed by alwu@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e2dc8fd47bc2 part1 : remove start check. r=bryce https://hg.mozilla.org/integration/autoland/rev/f42e3e5a600d part2: allow calling 'UpdateMediaAudibleState()' before the listener starts. r=bryce https://hg.mozilla.org/integration/autoland/rev/448c6633265d part3 : wrap the detail of updating playback state into Start(). r=bryce https://hg.mozilla.org/integration/autoland/rev/3bb773642909 part4 : always hold a MediaControlKeyListener until media dies. r=bryce https://hg.mozilla.org/integration/autoland/rev/a8a44fb117cb part5 : remove 'StopListeningMediaControlKeyIfNeeded()'. r=bryce https://hg.mozilla.org/integration/autoland/rev/c4c53ba08359 part6 : add audible check back in media element. r=bryce https://hg.mozilla.org/integration/autoland/rev/e7e5ac6a2036 part7 : add test for a page mixing audible and inaudible media. r=bryce
Comment 17•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/e2dc8fd47bc2
https://hg.mozilla.org/mozilla-central/rev/f42e3e5a600d
https://hg.mozilla.org/mozilla-central/rev/448c6633265d
https://hg.mozilla.org/mozilla-central/rev/3bb773642909
https://hg.mozilla.org/mozilla-central/rev/a8a44fb117cb
https://hg.mozilla.org/mozilla-central/rev/c4c53ba08359
https://hg.mozilla.org/mozilla-central/rev/e7e5ac6a2036
Updated•4 years ago
|
Updated•4 years ago
|
Comment 18•4 years ago
|
||
Confirmed issue with 80.0a1 (2020-07-16) on Windows 10.
Fix verified with 80.0a1 (2020-07-24) .
Updated•4 years ago
|
Description
•