0
votes
0answers
116 views

Using a playall button with jquery and the youtube api to play all youtube videos one by one on my website

I have already searched many answers for this question. Here are some things i've searched: Pausing YouTube iFrame API in JavaScript --- Event loads with jQuery and YouTube API --- Using ...
3
votes
2answers
12k views

Javascript - Wait 5 seconds before executing next line

This function below doesn't work like I want it to - being a JS novice I can't figure out why. I need it to wait 5 seconds before checking whether the 'newState' is -1. Currently, it doesn't wait, ...
0
votes
2answers
1k views

YouTube onPlayerStateChange event not firing in Internet Explorer on reloaded page

So, we have a Facebook Tab application (probably not relevant) that contains a YouTube video. Everything works fine on the first occasion the page is loaded from an empty cache. On subsequent page ...
1
vote
1answer
893 views

Event loads with jQuery and YouTube API

When I put the callback for when the YouTube video has loaded, onYouTubePlayerReady, inside the jQuery ready function it is not called when the video is loaded. However, when I put the callback ...