<? help
Out of context: Reply #10
- Started
- Last post
- 11 Responses
- plash0
what are you trying to get us to do?
if i understand correctly; you want the reload the index.php once the youtube video completes a full play-through? (essentially picking the next random video)or are you trying to add a page refresh once the video has completed loading? .. (wouldn't that just re-buffer the stream?)
or are you trying to load the next video once a full playback occurs?
(implementing playlist 'like' feature) which explains why you have a video.php file. & from the looks of it, you are loading youtube url ids, placing them into an array and then randomly picking from your playlist array. am i close?just an idea but couldn't you just embed a youtube playlist?
the youtube api is pretty powerful. http://code.google.com/apis/yout…