Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timestamp data types and HTMLMediaElement currentTime #41

Open
chrisn opened this issue Feb 2, 2017 · 1 comment
Open

Timestamp data types and HTMLMediaElement currentTime #41

chrisn opened this issue Feb 2, 2017 · 1 comment

Comments

@chrisn
Copy link
Member

chrisn commented Feb 2, 2017

Feedback from @paulhiggs in #40:

Also, by using DOMTimeStamp (instead of unsigned long long) will we ever run into problems with the HTMLMediaElement attributes...

// playback state
         attribute double currentTime;
readonly attribute unrestricted double duration;

especially when it comes to recording something from the current point in the Media Element?

@chrisn
Copy link
Member Author

chrisn commented Feb 2, 2017

DOMTimeStamp is a typedef for unsigned long long, so I don't believe this change in itself will cause a problem. But, in addition to the impedance mismatch issue, it also raises the interesting question of how we establish the media timeline for a media element connected to a TVMediaStream.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant