Bug 197959

Summary: Allow sequential playback of media files when initial playback started with a user gesture
Product: WebKit Reporter: Eric Carlson <eric.carlson>
Component: MediaAssignee: Eric Carlson <eric.carlson>
Status: ASSIGNED    
Severity: Normal CC: commit-queue, ews-watchlist, rniwa, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
youennf: review+, ews-watchlist: commit-queue-
Archive of layout-test-results from ews101 for mac-highsierra
none
Archive of layout-test-results from ews107 for mac-highsierra-wk2
none
Archive of layout-test-results from ews113 for mac-highsierra
none
Patch none

Eric Carlson
Reported 2019-05-16 13:20:24 PDT
Allow sequential playback of media files when initial playback started with a user gesture
Attachments
Patch (16.67 KB, patch)
2019-05-16 13:30 PDT, Eric Carlson
youennf: review+
ews-watchlist: commit-queue-
Archive of layout-test-results from ews101 for mac-highsierra (3.08 MB, application/zip)
2019-05-16 14:43 PDT, EWS Watchlist
no flags
Archive of layout-test-results from ews107 for mac-highsierra-wk2 (2.66 MB, application/zip)
2019-05-16 14:57 PDT, EWS Watchlist
no flags
Archive of layout-test-results from ews113 for mac-highsierra (2.88 MB, application/zip)
2019-05-16 15:22 PDT, EWS Watchlist
no flags
Patch (20.92 KB, patch)
2019-05-17 06:48 PDT, Eric Carlson
no flags
Eric Carlson
Comment 1 2019-05-16 13:28:36 PDT
Eric Carlson
Comment 2 2019-05-16 13:30:24 PDT
youenn fablet
Comment 3 2019-05-16 14:29:42 PDT
Comment on attachment 370061 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=370061&action=review > Source/WebCore/html/HTMLMediaElement.cpp:5921 > + document().mediaFinishedPlaying(); Maybe we should have a better name for mediaFinishedPlaying, since it is not called for every media but only 'unrestricted' media.
EWS Watchlist
Comment 4 2019-05-16 14:43:07 PDT
Comment on attachment 370061 [details] Patch Attachment 370061 [details] did not pass mac-ews (mac): Output: https://webkit-queues.webkit.org/results/12209476 New failing tests: media/media-fullscreen-inline.html
EWS Watchlist
Comment 5 2019-05-16 14:43:08 PDT
Created attachment 370072 [details] Archive of layout-test-results from ews101 for mac-highsierra The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews101 Port: mac-highsierra Platform: Mac OS X 10.13.6
EWS Watchlist
Comment 6 2019-05-16 14:57:17 PDT
Comment on attachment 370061 [details] Patch Attachment 370061 [details] did not pass mac-wk2-ews (mac-wk2): Output: https://webkit-queues.webkit.org/results/12209555 New failing tests: media/media-fullscreen-inline.html
EWS Watchlist
Comment 7 2019-05-16 14:57:19 PDT
Created attachment 370074 [details] Archive of layout-test-results from ews107 for mac-highsierra-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews107 Port: mac-highsierra-wk2 Platform: Mac OS X 10.13.6
EWS Watchlist
Comment 8 2019-05-16 15:22:10 PDT
Comment on attachment 370061 [details] Patch Attachment 370061 [details] did not pass mac-debug-ews (mac): Output: https://webkit-queues.webkit.org/results/12209593 New failing tests: media/media-fullscreen-inline.html
EWS Watchlist
Comment 9 2019-05-16 15:22:11 PDT
Created attachment 370075 [details] Archive of layout-test-results from ews113 for mac-highsierra The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews113 Port: mac-highsierra Platform: Mac OS X 10.13.6
Eric Carlson
Comment 10 2019-05-17 06:10:55 PDT
Comment on attachment 370061 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=370061&action=review >> Source/WebCore/html/HTMLMediaElement.cpp:5921 >> + document().mediaFinishedPlaying(); > > Maybe we should have a better name for mediaFinishedPlaying, since it is not called for every media but only 'unrestricted' media. Good point, I'll change the name to userActivatedMediaFinishedPlaying.
Eric Carlson
Comment 11 2019-05-17 06:48:41 PDT
WebKit Commit Bot
Comment 12 2019-05-17 09:39:15 PDT
Comment on attachment 370114 [details] Patch Clearing flags on attachment: 370114 Committed r245467: <https://trac.webkit.org/changeset/245467>
Note You need to log in before you can comment on or make changes to this bug.