javascript - Detect when play button clicked in the video of my website -


i"m developing website children. here i'm viewing videos children.i want handle procedures when child click play button.how can catch event when child press play button. (i'm using html tag play videos).someone please me. advance thanks.

$(document).on('play', 'video', function(){   //do }); 

events https://www.w3.org/2010/05/video/mediaevents.html


Comments

Popular posts from this blog

java - Callback from new thread to class from which thread was initiated -

php - Extract Text from HTTP referer -

Receive udp packets in android gstreamer -