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

authentication - Mongodb revoke acccess to connect test database -

r - Update two sets of radiobuttons reactively - shiny -

ios - Realm over CoreData should I use NSFetchedResultController or a Dictionary? -