Video.js: the API doc doesnt list all the important events

Created on 7 Oct 2015  路  7Comments  路  Source: videojs/video.js

Maybe I went to the wrong place but the link below doesn't event have end or play or pause event listed. What was the reasoning behind this decision?

http://docs.videojs.com/docs/api/player.html

documentation

Most helpful comment

Basically, all the events are HTML5 events: http://www.w3.org/TR/html5/embedded-content-0.html#mediaevents

We probably should do a better job of documenting it.

All 7 comments

Not sure if purpose or accident. Best to just look at the source (There is a ton of native events).

https://github.com/videojs/video.js/blob/master/src/js/player.js#L536

Most methods are missing http://usejsdoc.org/tags-event.html

Basically, all the events are HTML5 events: http://www.w3.org/TR/html5/embedded-content-0.html#mediaevents

We probably should do a better job of documenting it.

I might be able to take a crack at documenting these. I'll have to research how to integrate them into the current list of events but I think I have enough.

Any update on this? Recently upgraded from v4 to v5. Looks like quite a few documentations that were available for v4 are no longer there in v5

We're still working on it. Some of the events are available here: http://docs.videojs.com/docs/api/player.html#events
As I mentioned above, all the html5 events are available.

Video.js doesn't have many custom events it triggers.

"html5 events" link above is 404 now, new URL is https://www.w3.org/TR/html5/semantics-embedded-content.html#media-elements-event-summary I believe

(previous version @ https://www.w3.org/TR/2014/REC-html5-20141028/embedded-content-0.html#mediaevents ?)

ping #2800

Was this page helpful?
0 / 5 - 0 ratings

Related issues

stephanedemotte picture stephanedemotte  路  4Comments

cshah123 picture cshah123  路  4Comments

TheKassaK picture TheKassaK  路  3Comments

d3x7r0 picture d3x7r0  路  4Comments

kitsunde picture kitsunde  路  4Comments