Large

YouTube HD Ultimate

By Avindra V.G. Last update Dec 10, 2010 — Installed 402,057 times.

PROBLEMS SOLVED (hopefully)

in
Subscribe to PROBLEMS SOLVED (hopefully) 8 posts, 3 voices



Avindra V.G. Script's Author

Hi guys,

Please let me know if the new script lets YouTube functions like seeking and playlist work again. And try out the new autoplay off feature ;)

This was the major cause of all your problems (I think). So try it out, I don't want my script to cause people trouble.

--aVg

 
GhostNPC User

Unfortunately, it doesn't seem to be working for me. I have loop, autoplay, even bigMode off and the playlist still won't continue through.

 
The Chironex User

Same here, the playlist doesn't work with any combination of options.

 
Avindra V.G. Script's Author

Hi guys, I'll check it out asap. thanks

 
Avindra V.G. Script's Author

Hi guys,

Do I need to log-in to try out the playlist feature? I can't seem to get it w/ my script off.

Is auto-go-to-next-video a built-in youtube feature? (Because if it isn't, I'll be happy to work out this as a new feature).

 
GhostNPC User

Nope, you don't have to login; try this for example:

http://www.youtube.com/watch?v=h1xBDnytoi8&feat...

You can trigger 'autoplay' on and off, as well as Play Next to skip ahead a track without autoplay turning off on you.

 
The Chironex User

Playlists still do not work with the latest version. I got them to work by changing

if(loop) {
handleWatchPagePlayerStateChange=function(state) {
 if (state == 0) {
   try {
    player.seekTo(0,true);
    player.playVideo();
   } catch (e) {
     if (watchIsPlayingAll)
       gotoNext();
   }
 }
};
player.addEventListener("onStateChange","handleWatchPagePlayerStateChange");
}

to

handleWatchPagePlayerStateChange=function(state) {
 if (state == 0) {
   if(loop) {
    player.seekTo(0,true);
    player.playVideo();
   } 
   if (watchIsPlayingAll) {
    gotoNext();
   }
 }
};
player.addEventListener("onStateChange","handleWatchPagePlayerStateChange");

I guess when you reload the player the event handlers get cleared.

 
Avindra V.G. Script's Author

Thanks for that chironex. I haven't tested it, but I believe you and thank you very much! I'm sure everyone will appreciate this :)

Your logic is quite correct; the event handler is only set if the person wanted to loop (which is sort of defeating the purpose; looping = no auto playlist anyway, duh)

Guess I didn't think that one out too clearly :P

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel