Closed Bug 1655204 Opened 4 years ago Closed 4 years ago

Stop controlling media element when media element receives `MediaControlKey::Stop`

Categories

(Core :: Audio/Video: Playback, task, P3)

task

Tracking

()

RESOLVED FIXED
81 Branch
Tracking Status
firefox81 --- fixed

People

(Reporter: alwu, Assigned: alwu)

References

Details

Attachments

(3 files)

Currently We treat MediaControlKey::Stop like MediaControlKey::Pause which is simply pausing the media element. However, the intention of Stop should also involve stopping controlling media.

Pushed by alwu@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/9e12530f8f60
part1 : stop being controlled by media control keys when media element receives `Stop`. r=chunmin
https://hg.mozilla.org/integration/autoland/rev/f1a2321f54e1
part2 : add a testcase to ensure 'stop' would stop controlling media. r=chunmin
https://hg.mozilla.org/integration/autoland/rev/2ff99baef2c5
part3 : start listening to media control keys once media starts again. r=chunmin
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: