I have an iFrame that displays youtube embedded video.
<iframe width="560" height="315" src="http://www.youtube.com/embed/xxx" frameborder="0" allowfullscreen></iframe>
What I would like to do is somehow capture the click event when the user clicks on your tube video so that I can call http://myserver.com/dostuff rest api to update the external server counter, tracking the number of clicks and, of course, allow the video to play as expected.
Any information would be greatly appreciated.
source share