Bug 189717

Summary: Video 'ended' event sometimes doesn't fire
Product: WebKit Reporter: Jacob Trimble <modmaker>
Component: UI EventsAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: jer.noble, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 11   
Hardware: Unspecified   
OS: Unspecified   

Jacob Trimble
Reported 2018-09-18 14:54:04 PDT
When using MSE (not sure if it happens with src=), a <video> element will sometimes not fire the 'ended' event when the video ends. It will still report that it has ended with |video.ended| property and the video stops. If you go to the following repro page, it will load an MSE video and play to the end. If it gets the 'ended' event, the page will refresh. This may take many tries, it happens less than 1 in 20 times. If the page doesn't refresh, it means it didn't get the 'ended' event. https://storage.googleapis.com/shaka-demo-assets/_bugs/safari-ended-event/ended.html
Attachments
Radar WebKit Bug Importer
Comment 1 2018-09-19 16:03:56 PDT
Note You need to log in before you can comment on or make changes to this bug.