spacebar only very shortly pauses or unpauses video on youtube
Categories
(Core :: DOM: Events, defect, P2)
Tracking
()
People
(Reporter: a47zes0ir, Unassigned)
References
()
Details
(Whiteboard: [media-youtube])
Attachments
(1 file)
|
18.92 KB,
text/plain
|
Details |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:75.0) Gecko/20100101 Firefox/75.0
Steps to reproduce:
Create new profile, visit for example this video. https://www.youtube.com/watch?v=7NzHRiOZ3EQ
Now click on play button in bottom left, then hit spacebar once.
Actual results:
video only pauses super shortly.
Expected results:
Should've paused entirely.
Comment 1•6 years ago
|
||
Bugbug thinks this bug should belong to this component, but please revert this change in case of error.
Comment 2•6 years ago
|
||
Hi, Adam,
I know that we had some space bar related bugs on Youtube before, and most of them were Youtube's issues. This seem to me that it's also a Youtube issue, could you help me contact them?
Thank you.
Comment 3•6 years ago
|
||
Please note that this is not a Youtube issue since the issue does not occur on chrome or microsoft edge.
I have managed to reproduce the issue in Fx76.0b2 as well as 75.0RC build on Windows 10 as well as Ubuntu 18.04.
Setting the issue status to new.
Thank you for reporting this Dan.
Updated•6 years ago
|
Comment 4•6 years ago
|
||
I can reproduce this on Nightly, on Windows. I am certain I have seen this recently on Ubuntu as well. I have noticed that under Ubuntu I see a focus box around the play button when this happens.
Comment 5•6 years ago
|
||
Not occurring on other browsers doesn't mean that is Firefox's issue, because almost every sites would have different implementation for different browsers. I suspect that Youtube gets some racing issue that causes playing media immediately after pausing media.
But we can first check if this issue is a regression or not.
Comment 6•6 years ago
|
||
From the log (I still can't reproduce it on MacOS, and that is the log from my colleague), it seems that Youtube calls play() immediately after calling pause(). We should contact Youtube and let them take a look.
Comment 7•6 years ago
|
||
Hi,
I don't think this is a regression since it is reproducible all the way back to Firefox 45.0a1 (2015-12-09)
Also, It only occurs when using the "spacebar" to pause the video when the "play/pause" button is highlighted (after clicking play)
On a side note, it does not occur when pausing the video with the "k" shortcut, even when the "play/pause" button is highlighted.
Comment 8•6 years ago
|
||
:padenot mentioned that we've got some similar issues before which are related with event bubbling or something related, so move this bug to DOM to see if anyone has any thought.
Comment 9•6 years ago
|
||
This reminds me of the closed bug 1522089 and the open one (bug 1491256).
Hey Mike, can we have your team support to do the initial investigation? thanks!
Comment 10•6 years ago
|
||
I can easily reproduce this on Win10.
Updated•6 years ago
|
Updated•6 years ago
|
Comment 11•6 years ago
|
||
The conclusion from https://bugzilla.mozilla.org/show_bug.cgi?id=1491256#c19 was that YouTube was doing some special Firefox-only handling which results in the bug -- spoofing as Chrome makes the bug go away. I'll follow up again. :/
Updated•6 years ago
|
Updated•6 years ago
|
Description
•