Friday, May 10, 2024
 Popular · Latest · Hot · Upcoming
116
rated 0 times [  120] [ 4]  / answers: 1 / hits: 16106  / 5 Years ago, thu, december 5, 2019, 12:00:00

How do I add event listener to videojs when the video is start to play? (this event should be called at the begging of the play)?



I searched on Player Events docs, but I can't find any event that tell me now the video is start play.


More From » video.js

 Answers
5

You can do this videojs way.



play.on('play', () => { });


enter


[#51401] Wednesday, November 27, 2019, 5 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
kaitlynnb

Total Points: 402
Total Questions: 96
Total Answers: 109

Location: Trinidad and Tobago
Member since Fri, May 8, 2020
4 Years ago
kaitlynnb questions
;