Since we added a timer to stop listening to the media control keys in bug1617033, if media has been paused after a certain period of time, then we would think that media won't need to be controlled any more. That feature is used to relase platfom level focus for those media are not being used for a while. However, we didn't consider PIP video in this situation, if user change a video to PIP mode, then it's a clear signal that user would still want to control this video. Therefore, we should not start a timer for the video which is being used in PIP mode. --- STR. 1. go to https://alastor0325.github.io/htmltests/autoplay_tests/autoplay_test1.html 2. play video and change it to PIP mode 3. wait for the time which is equal to the value of `media.mediacontrol.stopcontrol.timer.ms` Expected. 4. video is still able to be controlled by media control keys Actual. 4. video is not able to be controlled by media control keys
Bug 1621166 Comment 0 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
Since we added a timer to stop listening to the media control keys in bug1617033, if media has been paused after a certain period of time, then we would think that media won't need to be controlled any more. That feature is used to relase platfom level focus for those media are not being used for a while. However, we didn't consider PIP video in this situation, if user change a video to PIP mode, then it's a clear signal that user would still want to control this video. Therefore, we should not start a timer for the video which is being used in PIP mode. --- STR. 1. go to https://alastor0325.github.io/htmltests/autoplay_tests/autoplay_test1.html 2. play video in the PIP mode 3. wait for the time which is equal to the value of `media.mediacontrol.stopcontrol.timer.ms` Expected. 4. video is still able to be controlled by media control keys Actual. 4. video is not able to be controlled by media control keys