WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
206512
Video HTML tag fails to fire 'ended' event on Windows when video reaches end
https://bugs.webkit.org/show_bug.cgi?id=206512
Summary
Video HTML tag fails to fire 'ended' event on Windows when video reaches end
Herb Miller Jr.
Reported
2020-01-20 14:28:12 PST
Created
attachment 388256
[details]
Test case demonstrating behavior This occurs for me building WinCairo port, webkit trunk (revision 254831), but has been the case for quite some time (year+ as it presents in QtWebKit 5.212). Attaching a Javascript callback to the ended event of a video tag and letting the video play through results in the event never getting called. A test case is attach that plays a 15 second video and writes "Fired" to console.log() on ended. Opening the inspector, going to the console, and playing the video never results in the "Fired" message. I made an attempt to patch it that gets the event to fire, but somehow breaks the duration calculation. I've attached it in case it helps narrow down where to start looking for the problem.
Attachments
Test case demonstrating behavior
(3.36 MB, application/x-zip-compressed)
2020-01-20 14:28 PST
,
Herb Miller Jr.
no flags
Details
First (failed) attempt at patching
(2.07 KB, patch)
2020-01-20 14:32 PST
,
Herb Miller Jr.
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Herb Miller Jr.
Comment 1
2020-01-20 14:32:32 PST
Created
attachment 388257
[details]
First (failed) attempt at patching
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug