I have a youtube video and I need to trigger an event when it is finished. Do you know how?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
when the API or the video was loaded you will able to see the state of the videos , here are those:
“-1” – video is ready to play
“1” – the video is playing (it clicked the play button)
“2” – the video is paused
“0” – end of the video
API YOUTUBE