I want call a function on play of Youtube video which is in an Iframe. How I can do this ?

Below is the code :

<iframe width="98%" height="auto" src="https://www.youtube.com/embed/FP_KJ8YMsXQ?wmode=transparent" frameborder="0" allowfullscreen="" wmode="Opaque" id="loader" onload="body_load(this)" ></div></iframe>

you can using ajax open this

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.