@lynnham
Active 7 years, 10 months ago
-
Henry Wright replied to the topic Is there a way to show the number of viewers on a website video like youtube has in the forum How-to & Troubleshooting 9 years, 11 months ago
Hi @lynnham
It’s possible as I’ve done it with audio in the past. The
play
event fires on the<video>
element so you could target it like this:$( 'video' ).on( 'play', function( event ) {
// Do your stuff here.
} );ended
,playing
andpause
events are also available if you need to use them.