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

Receive udp packets in android gstreamer -

php - Extract Text from HTTP referer -

matplotlib - PYTHON: Annotate boxes disapear dependant on range -