Bug 127854
| Summary: | Support getStartDate() on the MediaElement | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Jim Ley <jim.ley> |
| Component: | Media | Assignee: | Eric Carlson <eric.carlson> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | CC: | bfulgham, eric.carlson |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | iPhone / iPad | ||
| OS: | All | ||
Jim Ley
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.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Brent Fulgham
*** This bug has been marked as a duplicate of bug 145676 ***