Detecting Youtube Video Status with JavaScript

Is there any way to detect when Youtube Video has finished playing with JavaScript?

+5
source share
2 answers

Of course using the javascript API for youtube

+7
source

You can listen to the onStateChange event.

Check out the API Reference

+3
source

All Articles