Skip to content
This repository has been archived by the owner on Jan 29, 2019. It is now read-only.

Implement a duration method #18

Closed
heff opened this issue Oct 9, 2014 · 0 comments
Closed

Implement a duration method #18

heff opened this issue Oct 9, 2014 · 0 comments

Comments

@heff
Copy link
Member

heff commented Oct 9, 2014

The media source object has a duration property. (which may have not been there when this project was started)

Having this would help prevent the Source Handler interface from getting more complicated (in-progress in videojs/video.js#1560). The HLS plugin currently overrides the vjs.Flash duration() method, whereas with this feature the HLS logic could set the duration on the media source and the video element's duration method would report the playlist duration.

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

No branches or pull requests

2 participants