Bug 173575 - Media document experience with long-loading files is poor
Summary: Media document experience with long-loading files is poor
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Antoine Quint
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2017-06-19 18:42 PDT by Antoine Quint
Modified: 2017-06-20 10:38 PDT (History)
2 users (show)

See Also:


Attachments
Patch (18.49 KB, patch)
2017-06-19 18:51 PDT, Antoine Quint
dino: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Antoine Quint 2017-06-19 18:42:30 PDT
In order to avoid showing media controls at a different size than that of the video when we've received enough information to determine whether it's audio or video and what the video frame size is, we do not show any UI until we have enough information to show the controls in their correct initial state. This works great with local files and fast-loading files, but does not work well with invalid files, which never load and fail to ever show any UI, and files that load slowly where there is no visible feedback that content will be visible.
Comment 1 Antoine Quint 2017-06-19 18:42:41 PDT
<rdar://problem/32178119>
Comment 2 Antoine Quint 2017-06-19 18:51:53 PDT
Created attachment 313349 [details]
Patch
Comment 3 Antoine Quint 2017-06-20 10:38:40 PDT
Committed r218600: <http://trac.webkit.org/changeset/218600>