YousableTubeFix

By Mindeye Last update Feb 2, 2012 — Installed 594,550 times.

turn off anotation editor by default

in
Subscribe to turn off anotation editor by default 11 posts, 5 voices



matej505 Scriptwright

That stupid thing makes you unable to view your own videos without clicking turn off link each time. Can you add function to auto-disable it please? You can make always-disable too, if its easier. im happy with old editor :)

P.S.: is possible with greasemonkey to remove "video is not avaible in your country"?

 
Mindeye Script's Author

Is that a feature that is shown in your own videos? Can you post an screenshot? I haven't upload a video to YouTube so I don't know exactly about what you are talking about

 
matej505 Scriptwright

Just make link showed in picture automatically clicked :)

 
Chibicon User

I can't even turn off the editor until I change the quality format at least once. I click the 'switch off annotations editor' and it just scrolls to video.

 
Mindeye Script's Author

Ok, go to a video with that annotation editor and paste this code in the address bar and press enter (as if you were typing an URL):


javascript:void(alert(document.getElementById("movie_player").getAttribute("flashvars")))

The page will show a message then. Please copy it and post a message here with it

 
matej505 Scriptwright

username=matejdro&ttsurl=http://video.google.com/timedtext&fexp=900062&plid=AARifc6-V8ypSWiPAAAOgAAAAQA&iv_storage_server=http://www.google.com/reviews/y/&creator=matejdro&sourceid=y&auth_token=pYBCr5_FfbOVeiYQiVjq183u6vN8MTIzNDIxMzk4NQ==&video_id=wB44lcd_jkI&l=117&sk=SBwIcpr8jwnz8N3j7FqKJTek-FJDyunwU&fmt_map=22/2000000/9/0/115&usef=0&vq=2&t=OEgsToPDskJ1m6J54uLCUoFSIMJJeKb1&hl=en&cr=US&owner=1&iv_module=http://s.ytimg.com/yt/swf/iv_edit_module-vfl76454.swf&subtitle_module=http://s.ytimg.com/yt/swf/subtitle_module-vfl63315.swf&sdetail=p%3A/user/matejdro&playnext=0&enablejsapi=1&jsapicallback=gsPlayerReady

 
Mindeye Script's Author

Does the annotation editor disappear if you select the option to remove annotations in the script configuration menu?

 
k4hn User

Yea Mindeye, it does disappear if you select it in the configuration menu (:

 
qufighter Scriptwright

I think you tube fixed that it saves your setting for annotations, however this bug is still around that the link is not active when greasemonkey is enabled. Another example of this same bug, is time codes in comments. Clicking time codes is suppose to make the player jump to a specific time, but instead just a JavaScript error in the console. p.seekTo is not a function, or p.enableModule is not a function (annotations).

I've looked at the javascript, (p is the player embed accessed with getElementById('movie_player') whats seems to be happening somehow, is that YouTube's javascript is no longer able to access functions attached to the 'movie_player' object on the page! Maybe somehow the <embed> is now connected with unsafe window and inaccessible by normal window? I wonder if over-riding the functions would be a possible workaround... I'll let you know if I find a solution.

Error: p.seekTo is not a function
Source File: http://s.ytimg.com/yt/js/base_all_with_bidi-vfl...
Line: 1286

Error: p.enableModule is not a function
Source File: http://s.ytimg.com/yt/js/base_all_with_bidi-vfl...
Line: 1271</embed>

 
qufighter Scriptwright

To some extent nevermind... clicking on time codes isn't even officially supported by youtube anymore... the video just resets to zero...

 
qufighter Scriptwright

while youtube seems to have re-implmented timecode jumping, it ssems that if no callback is set for playerready it fails much more frequently, although its still unreliable to predict how often it fails, that is to say although autoplay vs. not autoplay is the deciding factor in whether or not it works it is probably dependent on flash version... I'm using flash 9, and when prevent auto play is enabled the flash API for official youtube play controls is never blocked so long as prevent auto play is enabled, the API calls work on the first try. I think this is because of the playerReady call occuring although its very sensitive and temperamental at times none the less I'm experimenting with this:


catch(err) {
if (autoplayFailedRegs < 5) {
window.setTimeout(reloadPlayer,10*autoplayFailedRegs);//if this function is too big it fails,or does wrong things at end

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