Hi all,
I'm wondering what youtube is using so that it knows to play the next track/video, at first I thought they might be adding the playlist to another flash file and use the onend event to start the next video from inside flash(swf), but looking at the source I'm not sure that is the case, although it could be something like that.
basically I want to use the onend event in my own app using javascript to close the video div (at the end of the video), do any of you think that can be done without actually being able to extract the video length (time) from the youtube video ?.
I'm wondering what youtube is using so that it knows to play the next track/video, at first I thought they might be adding the playlist to another flash file and use the onend event to start the next video from inside flash(swf), but looking at the source I'm not sure that is the case, although it could be something like that.
basically I want to use the onend event in my own app using javascript to close the video div (at the end of the video), do any of you think that can be done without actually being able to extract the video length (time) from the youtube video ?.