Implement HTMLMediaElement.getStartDate()

NEW
Unassigned

Status

()

defect
P5
normal
6 years ago
a month ago

People

(Reporter: baku, Unassigned)

Tracking

(Blocks 1 bug, {dev-doc-needed, html5})

Trunk
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment, 1 obsolete attachment)

Comment hidden (empty)
It's "  readonly attribute Date startDate;", no?

We should just add Date to WebIDL; we need it for HTMLInputElement anyway.
(Reporter)

Updated

6 years ago
Depends on: 847416
(Reporter)

Updated

6 years ago
Depends on: 742206
No longer depends on: 847416
Blocks: html
Keywords: html5
This got changed to a method...see: http://html5.org/tools/web-apps-tracker?from=8112&to=8113
Summary: Implement HTMLMediaElement - readonly attribute any startDate → Implement HTMLMediaElement.getStartDate()
Posted patch Impl (obsolete) — Splinter Review
Attachment #814690 - Flags: review?(cpearce)
Posted patch ImplSplinter Review
Forgot to qref.
Attachment #814690 - Attachment is obsolete: true
Attachment #814690 - Flags: review?(cpearce)
Attachment #814691 - Flags: review?(cpearce)
Comment on attachment 814691 [details] [diff] [review]
Impl

Review of attachment 814691 [details] [diff] [review]:
-----------------------------------------------------------------

I don't think fragment start time is what you want here. What you need here is the timestamp which is typically stored in the metadata. We don't expose that yet, and it would be a bunch of work to get to it for all the formats we support, so I suggest we leave it for now.

We'd need a mochitest for this too.

Additionally, do any other browsers implements this feature? If no other browser does, I'm inclined to direct your efforts elsewhere first. I tested Chrome and IE on Windows, and they don't support HTMLMediaElement.startDate().
Attachment #814691 - Flags: review?(cpearce) → review-
Thanks for the review. 

> I don't think fragment start time is what you want here. What you need here
> is the timestamp which is typically stored in the metadata. We don't expose
> that yet, and it would be a bunch of work to get to it for all the formats
> we support...

Perhaps it'll be best to ping you on IRC to know what to look for in exposing the timestamps from the metadata and how to go about it. This is just to get more familiar with the media formats. 
 
> Additionally, do any other browsers implements this feature? 
None upon checking.

Updated

10 months ago
Priority: -- → P5
Component: DOM → DOM: Core & HTML
Product: Core → Core
You need to log in before you can comment on or make changes to this bug.