YousableTube

By ETcelera Last update Oct 8, 2006 — Installed 31,779 times.

Archived Comments (locked)

in
Subscribe to Archived Comments 21 posts, 10 voices



Jesse Andrews Admin

The following is an archive of comments made before threaded discussions was implemented (November 16th, 2008)

 
Mindeye Scriptwright

I have posted the updated version here

 
Mindeye Scriptwright

I'm working in a fixed version of this script (Youtube changed again its design), since ETcelera doesn't seem to update it anymore. I hope it'll be ready by next week

 
Andrew Guyton Scriptwright

gasoline's fix to the script seems to have stopped working.

 
Gasoline- Scriptwright

Yes, all seems to work with that change, except retrieving comments. I'm afraid that script section needs a more important rewrite

 
gabedibble Scriptwright

Gasoline- Good call! I confirm, that works well.

 
Gasoline- Scriptwright

Ok, if you change...

"var tId = player.src.match(/t=([^&]+)/)[1];"

...to...

"var tId = player.getAttribute("flashvars").match(/t=([^&]+)/)[1];"

... some functionality is restored

 
Gasoline- Scriptwright

Youtube changed the design and now the script don't work! :-( A shame, as it is one of the script I use more. ETcelera, will you update it? Is there a working script similar to this one?

 
Andrew Guyton Scriptwright

Doesn't appear to be working any more :(

 
gabedibble Scriptwright

Author: Please check out User Script Updates - simply update the header of your script and your users will be able to receive change-notification when you improve this script

 
PixelaseR User

Not sure if you'll read this, but I think there's a couple of weird bug when using this script. There are times when everything "below" the loaded video would go complete misaligned. Anyway you can fix that. This happens with any youtube videos.

 
ETcelera Script's Author

bmn : As far as I know, this is not possible from a GreaseMonkey script due to security restrictions. Alternatives include rewrtiing this as an extension, or using a pseudo-protocol to open the file with a download manager. I'm working on a more generic script supporting other websites and implementing the second option, I'll post it on userscripts.org soon.

Sven: yes, that's a pretty good idea. I have this working for redirector (e.g. asx) files, but it requires first downloading the file, then modifying it, thus more complicated with media files since I need a callback from the download manager to notify that the donwload is finished... With an extension that uses the built-in download manager this wouldn't be hard, but since it doesn't support stream downloading that's not really an option... I'll see what I can do.

 
Sven User

A nice addition to this would be if "more" details were saved as comment metadata to the video file automatically when it downloaded. Nice script already.

 
bmn Scriptwright

Could it be possible to update the script to save the files with its true name (no get_video)?

 
ETcelera Script's Author

Alright, I updated the script with a fix, thanks for reporting.

 
bmn Scriptwright

You're right, it seems to happen when the description doesn't originally has a collapse button. An example: http://youtube.com/watch?v=aAP_pxMqmr4

 
ETcelera Script's Author

Um, probably a bug if the description is so short there is no collapse button? I'm affraid I've not been doing much YouTubing lately, could you post an URL where it does this so I can fix it? Alternatively, try setting:
var hideCollapse = false;

in configuration. If that doesn't help, also:
var expandDescription = false;

 
bmn Scriptwright

The script works very well, but has an annoying bug. In some videos, it makes the description dissapear

 
ETcelera Script's Author

Updated script:
-Added a workaround for a bug where comment form doesn't get focus on click if it was focused before focusing the video (which prevents typing until you focused something else and refocused the text box...)
-Allowed the video to be 23 pixels larger on "fill" or "max" when limited horizontally.
-Added an option to remove description and tags collapse links and options to disable removing the quicklist intro and sp offers.
-Improved the display of retrieved comments and added a safety check to retrieval so partial comments aren't removed if download fails for some reason.

Nothing really essential, but you might as well update while you are here ^^

I want to parse comment for links to work around YouTube's stupid no external links policy, but I don't want to risk breaking anything with an overly complicated regex, any suggestion as to which pattern(s) I should look for? Replacing a dot with (dot) seems to be most common, should I go for just that?

 
ETcelera Script's Author

Work "OK"? Meh ^^ Glad you appreciate. Tell me if you find any bug or have suggestions for improvement.

 
Ira Schneider User

This works as described. There are no ads and it appears to work OK. Thanks.

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