YouTube videos intermittently looping (playing from the start on reaching end of video)
Categories
(Core :: Audio/Video: Playback, defect, P3)
Tracking
()
People
(Reporter: rxazub33, Unassigned)
References
Details
(Keywords: good-first-bug)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:141.0) Gecko/20100101 Firefox/141.0
Steps to reproduce:
Play a YouTube video, e.g. https://www.youtube.com/watch?v=y8Kyi0WNg40
Actual results:
On reaching the end of a video, it sometimes automatically starts playing again from the start.
Expected results:
Playback should stop on reaching the end of the current video (YouTube then normally displays a static list of recommended videos, or an "up next" counter if YouTube's autoplay setting is on).
First noticed the unexpected behaviour after upgrade to 141 beta a couple of weeks ago (video linked above was selected as one that exhibited this behaviour and was easy to test with but was also experiencing the problem with longer videos). After additional testing on a separate system, it seems the behaviour may be isolated to the following configuration:
- Firefox 141 (couldn't reproduce on 140)
- Bose QuietComfort 45 Bluetooth headphones connected (couldn't reproduce with on-board audio or with Jabra 75T Bluetooth headphones connected)
- media.hardwaremediakeys.enabled set to true (couldn't reproduce with that feature switched off)
Could there have been a change in 141 that results in this behaviour with specific models of Bluetooth headphones when media.hardwaremediakeys.enabled is on?
Updated•1 year ago
|
Comment 1•1 year ago
|
||
The severity field is not set for this bug.
:jimm, could you have a look please?
For more information, please visit BugBot documentation.
Updated•1 year ago
|
Comment 2•1 year ago
|
||
The severity field is not set for this bug.
:jimm, could you have a look please?
For more information, please visit BugBot documentation.
| Reporter | ||
Comment 3•1 year ago
|
||
Been a while since I reported this so just tested with 146 beta and can confirm the issue persists.
Comment 4•8 months ago
|
||
Play a YouTube video, e.g. https://www.youtube.com/watch?v=y8Kyi0WNg40
After I play this, I get a waiting screen for about 20 seconds, and then a new video loads. I was not able to reproduce the looping.
Could you help us out by trying to capture a Firefox performance profile when this happens? Visit https://profiler.firefox.com/ for more information and to enable the profiling toolbar button. When capturing a profile, please follow these steps -
- Navigate to about:logging
- In the logging preset drop down, select 'Media playback' and then click 'Set Log Modules'
- Click 'Start Logging' and conduct your testing
- Upload the resulting performance profile and post the url provided to this bug.
Thanks!
Updated•8 months ago
|
Updated•8 months ago
|
Comment 5•8 months ago
|
||
Connection between Bug 1901224 and 1976403: Both involve Bose Bluetooth headphones sending unexpected AVRCP media events through Firefox's hardware media keys (SMTC) integration on Windows. Bug 1901224 (Firefox 126) causes unintended pauses during seeking; Bug 1976403 (Firefox 141) causes unintended looping at video end. Both resolved by setting media.hardwaremediakeys.enabled = false. The regression to 141 for the looping variant suggests something changed in the SMTC/media session code between Firefox 140 and 141.
Description
•