Summary: | Update time elapsed/remaining displayed for inline media controls on OSX | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Roger Fong <roger_fong> | ||||
Component: | Media | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | ||||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Roger Fong
2015-03-04 00:42:03 PST
Created attachment 247850 [details]
patch
Comment on attachment 247850 [details]
patch
FWIW, I was looking at this for iOS and decided I needed four different classes: time < 10 mins (3 digits), time < 60 mins (4 digits), time < 10 hours (5 digits) and then 6 digits for everything else (assuming we'd rarely care about 100 hour videos)
Based on the OSX specs it looks like we at minimum display 4 digits, even if the length is < 10 minutes. It does however, look like we display only 5 digits if the time is >= 1 hour, < 10 h, and 6 digits for > 10 hours I'll make another class. Landed with an extra class for ten-hour-long-time: http://trac.webkit.org/changeset/181015 |