Bug 168809 - [Modern Media Controls] Show "Loading" until playback starts
Summary: [Modern Media Controls] Show "Loading" until playback starts
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Antoine Quint
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2017-02-23 17:27 PST by Antoine Quint
Modified: 2017-02-23 21:29 PST (History)
2 users (show)

See Also:


Attachments
Patch (2.45 KB, patch)
2017-02-23 17:30 PST, Antoine Quint
no flags 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-02-23 17:27:50 PST
We currently show the "Loading" status text provided that networkState is set to NETWORK_LOADING and readyState is HAVE_METADATA or less. This is not optimal since readyState can be in a variety of states before it reaches the point that it will actually start playback, and we should retain the "Loading" text until that happens.
Comment 1 Radar WebKit Bug Importer 2017-02-23 17:28:12 PST
<rdar://problem/30687468>
Comment 2 Antoine Quint 2017-02-23 17:30:17 PST
Created attachment 302616 [details]
Patch
Comment 3 WebKit Commit Bot 2017-02-23 21:29:42 PST
Comment on attachment 302616 [details]
Patch

Clearing flags on attachment: 302616

Committed r212940: <http://trac.webkit.org/changeset/212940>
Comment 4 WebKit Commit Bot 2017-02-23 21:29:45 PST
All reviewed patches have been landed.  Closing bug.