Reputation: 93398
Is there a way of detecting when a Youtube Video has finished playing from JavaScript?
Upvotes: 5
Views: 3977
Reputation: 25523
You should be able listen to the onStateChange event.
Check out the API Reference
Upvotes: 3
Reputation: 2902
Sure can - using the javascript API for youtube
Upvotes: 7