Bug 127854 - Support getStartDate() on the MediaElement
Summary: Support getStartDate() on the MediaElement
Status: RESOLVED DUPLICATE of bug 145676
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: 528+ (Nightly build)
Hardware: iPhone / iPad All
: P2 Normal
Assignee: Eric Carlson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-29 13:55 PST by Jim Ley
Modified: 2015-06-24 14:33 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jim Ley 2014-01-29 13:55:23 PST
With an HLS stream with timecodes in it - http://tools.ietf.org/html/draft-pantos-http-live-streaming-07#section-3.3.5
They come out nicely in an AVPlayer:

AVPlayerItem \*thePlayerItem = \[player currentItem\];
NSDate \*date = \[thePlayerItem currentDate\];
NSLog(@"Date: %@", date);

But getStartDate()  (http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#timeline-offset ) which should be trivial to support given the information in the stream is not exposed.   

Please expose it or the actual timecode via another prefixed property.
Comment 1 Brent Fulgham 2015-06-24 14:33:45 PDT

*** This bug has been marked as a duplicate of bug 145676 ***