jeudi 13 août 2015

Javascript/jQuery to tell when YouTube is played

On http://www.pegstar.net/ we are displaying the videos using the old object code (example code is below) and displaying 15 videos per a page. These are all dynamically generated and looking to upgrade to the iFrame API. One thing we are wondering is how many people are clicking on "play" on the videos. Is there a way to be able to tell this using the old object script or does it have to be updated to the iFrame API?

<object width="425" height="350" data="http://www.youtube.com/v/MIqhbyZ5iZg" type="application/x-shockwave-flash"><param name="src" value="http://www.youtube.com/v/MIqhbyZ5iZg" /></object>



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire