HTMLMediaElement: ended event not fire
Categories
(Core :: Audio/Video: Playback, defect)
Tracking
()
People
(Reporter: denpong_de, Unassigned, NeedInfo)
Details
Attachments
(2 files)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:105.0) Gecko/20100101 Firefox/105.0
Steps to reproduce:
play video from <video> in html and addEventListener() in js
Actual results:
After video ended addEventListener() and onended not fire, other browser is working properly
Expected results:
addEventListener() and onended fire a event
Comment 1•2 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Audio/Video: Playback' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 2•2 years ago
|
||
Comment 3•2 years ago
|
||
Seems to be working in this test case. Can you provide a sample page where it doesn't work properly?
When i test with your video on my website. it working as intended. but my video doesn't work (https://firebasestorage.googleapis.com/v0/b/custom-name-353415.appspot.com/o/gacha.mp4?alt=media&token=e44a88bb-b064-4a3b-9da3-8fe52d8aead1). That weird because in firefox 104 it working fine.
Comment 5•2 years ago
|
||
We are seeing the same problem. Since 105.0 our tests that rely on the ended event are failing both when using MSE and when using the native Firefox player. This happens on both MacOS and Windows.
Comment 6•2 years ago
|
||
Can confirm that we observed the issue as well. Played all content without receiving an ended
event in 105, the same video triggers the event fine in 104.
Comment 7•2 years ago
|
||
The severity field is not set for this bug.
:jimm, could you have a look please?
For more information, please visit auto_nag documentation.
Comment 8•2 years ago
|
||
(In reply to Denpong from comment #4)
When i test with your video on my website. it working as intended. but my video doesn't work (https://firebasestorage.googleapis.com/v0/b/custom-name-353415.appspot.com/o/gacha.mp4?alt=media&token=e44a88bb-b064-4a3b-9da3-8fe52d8aead1). That weird because in firefox 104 it working fine.
AFAICT this is just an mp4 without page content. Can you provide a test page where this reproduces?
Updated•2 years ago
|
Comment 9•2 years ago
|
||
Just an update from my side. It actually seems the issue is not reproducible with 106 (dev version). I just confirmed this by running the same tests on several devices with the Dev 105, and then updating the browsers to the latest 106.
I guess the issue will auto-fix once 106 is released as stable for everyone :)
Updated•2 years ago
|
Comment 10•2 years ago
|
||
I wasn't able to reproduce.
I took attachment 9295826 [details], changed the src
attribute to https://firebasestorage.googleapis.com/v0/b/custom-name-353415.appspot.com/o/gacha.mp4?alt=media&token=e44a88bb-b064-4a3b-9da3-8fe52d8aead1, loaded the modified test case in mozregression --repo release --launch 105.0
, pressed play, and opened the Web Console to see that the ended event had fired.
Description
•