Large

YouTube Link Title

By kuehlschrank Last update Mar 13, 2014 — Installed 117,834 times.

A few feature requests

in
Subscribe to A few feature requests 12 posts, 2 voices



Drug0y User
FirefoxWindows

Could you please add the following to your script?
<strike>1. an ability to move the frame with video by dragging it's title-bar.</strike> Frame's title-bar could contain the video's title.
2. an ability to resize the frame with video [or just make your script compatible with this one http://userscripts.org/scripts/show/49097 ]
3. an ability to download the video and subtitles [or just make your script compatible with these ones: http://userscripts.org/scripts/show/62634 and http://userscripts.org/scripts/show/50003 ]
4. in-video ad-blocking feature [as part of this script http://userscripts.org/scripts/show/49366 does]
5. a feature to auto-pause the video if you switch to another tab/window [or just make your script compatible with this one http://userscripts.org/scripts/show/58720 ]
But it would be even more awesome, if that feature would be configurable, so a user could turn it on/off. The script I mentioned also auto-resumes the video when you switch back to the tab/window with video, but making it also optional would be mega-awesome.

If you could release these features - your script would totally rock! It would be a single script with all the functions needed to fit anyone's needs!

 
kuehlschrank Script's Author
FirefoxWindows

dragging
Definitely planned. Can't tell you a date.

resizing
Right now you can toggle between 360p and 480p player size by clicking the lightblue +/-. I thought this would be good enough. I'll look into freehand resizing when I've implemented drag and drop.

in-video ad-blocking
I think it's safe to assume that most people here use an adblocker.

video and subtitles download
Never gonna happen. Sorry. I don't wanna bloat my script with features that most people would rarely use or that are a pain to maintain. Those download scripts seem to break all the time.

auto-pause
In order to access player features I had to rewrite my script to use YouTube's JavaScript API which downloads and runs additional 80 KB of code. Not worth it in my opinion.
 
Drug0y User
FirefoxWindows

dragging
Awesome.

resizing
Current resizing reloads the video [hence, the cached part gets deleted]
+ 2 states is not as comfortable as having no limits at resizing at all.

in-video ad-blocking
I thought that there are different types of ads. The script blocks in-video ads, the ones which are inside the flash container. AdBlock+ can't block any part of a flash object: it can only block the whole object. Actually, I haven't yet investigated the issue, maybe the ads on youtube are stored as separate files - in that case you are right and we don't need adblocking inside the script.
I'll try to investigate the issue and will report about the results.

video and subtitles download
Okay, that's your right to reject a feature request. Should I address my request only to those scripts' authors or you need to make some steps towards back-compatibility with them too?

auto-pause
Okay then, same reply as above. Whom to ask to do the compatibility changes? Just that script's author or you both?
And just to make things clear: aren't those additional 80kb of code get cached? In case they do - this will be a one time download and then this code will be used from the cache - isn't it?

 
kuehlschrank Script's Author
FirefoxWindows

AdBlock+ can't block any part of a flash object [...]
Whatever Adblock Plus does, it does it well. I haven't seen a YouTube ad in ages.

Current resizing makes reloads the video
True, like if you were on YouTube. If I switch to a bigger player, I'd expect better quality, therefore 360p data gets thrown away. The annoying thing is of course that your playback position doesn't get remembered - although, how often do you switch size halfway through the video? But like I said, I'll look into it. Let's hope the player won't switch quality on its own...

Should I address my request only to those scripts' authors [...]?
Supporting youtube.com and embedded players are two different things, especially if you have to take into account that embeds can appear and disappear at any time. Honestly, I think it's work that's unnecessary. Just visit the YouTube page.

The script I linked to is 1938 bytes only.
The script you linked has the benefit of running directly on youtube.com where a lot of useful stuff hangs around in memory. My script runs everywhere else and uses IFRAME embeds which cannot be controlled because of security restrictions. If I tell an embed to enable scripting (enablejsapi=1 in URL), it's going to download code in order to make YouTube's programming interface available. Cached or not, feels disproportional to me.
 
Drug0y User
FirefoxWindows

<quote>True, like if you were on YouTube. If I switch to a bigger player, I'd expect better quality, therefore 360p data gets thrown away. The annoying thing is of course that your playback position doesn't get remembered - although, how often do you switch size halfway through the video? But like I said, I'll look into it. Let's hope the player won't switch quality on its own... </quote>
Yeah, but it does reload even if the video has only one set of quality.
Well, I'm satisfied with your promise to look into it, after you add drag'n'drop.

And I also give up my position about other requests - you are mostly right, though personally I wouldn't care much about any additional 80 or 800 kb if it would save me some time or make my browsing a bit more comfortable, but it's just me, who has 30mbit download channel with unlimited traffic and a modern PC. There are also other people, but it's not that necessary for me, so I agree with your point.

The two main things I really want to have is dragging and a normal resizing.
So thanks in advance - I'll track the development.
Good luck @ coding :)

 
Drug0y User
FirefoxWindows

Ah, and one more thing: currently AdBlock+'s label, that appears when you hover any flash object - it makes hard to hit the close button. Could you, please, place that button at right of the container?
I know I can turn off showing ABP's "block" labels, but they are turned on by default, so other users will suffer anyways.

 
Drug0y User
FirefoxWindows

Since you've implemented dragging - could I ask you to add a contrast (white or grey) border to the frame, when it's being dragged? On sites with black background it's hard to understand where the edges of the video frame are.

+ I just found out that your script is not working with links written as plain text (i.e. unclickable ones), and it appeared that you had even mentioned that in the script's description.
Instead of using the suggested Linkify Plus (which slows browsing greatly, actually), I suggest the following: could you add a hotkey, so user could highlight a plain-text-link and hit that hotkey, so the script would handle the text as a link and show the video container?

p.s.: I also think, that script's settings shouldn't be overwritten to defaults at script update, if that's possible.
p.p.s.: your script is not the only, that suffers from that problem, so I'll try to ask Scriptish/Greasemonkey developers to create a special file for holding setting of the installed scripts.

 
kuehlschrank Script's Author
FirefoxWindows

(white or grey) border to the frame, when it's being dragged?
Done.

script is not working with links written as plain text
Judging by the download numbers of Linkify Plus and Linkification, adding text link conversion would be just bloat for many users and could lead to unwanted side effects.
highlight a plain-text-link and hit that hotkey
Too clunky. I would suggest to limit the number of sites Linkify Plus runs on (Manage User Scripts -> Settings). Also check whether you have the latest version installed. Version 2.0.3 fixed a bug that lead to infinite function calls.

script's settings shouldn't be overwritten
Done.

 
Drug0y User
FirefoxWindows

Could you add resizing feature please?
At the moment I use FlashResizer extension for that purpose, but I'd like to keep 1 less extension.

 
Drug0y User
FirefoxWindows

Could you also fix this bug:
<quote> The annoying thing is of course that your playback position doesn't get remembered</quote>
?
When you are changing video's quality on YouTube page - it sets the playback position properly (actually it sets it to ~1sec earlier position).

 
kuehlschrank Script's Author
FirefoxWindows

resizing feature
I don't feel like it. I'm satisfied with how it's now (two sizes + fullscreen).
playback position
See my answer regarding auto-pause.

If you're really constantly adjusting the player size, you might be happier with Greasemonkey menu -> User Script Commands -> Set up YouTube Link Title -> embedding -> popup window.
 
Drug0y User
FirefoxWindows

> I don't feel like it. I'm satisfied with how it's now (two sizes + fullscreen).

If that was already coded, could you then just add it?
It's a pain in the ass to use separate tabs for video, as I have to click a hotkey to detach the tab into a separate window, then click a hotkey to set it "always-on-top", then resize the window (as it gets opened full screen, which is too big for me) and after closing the video - I have to clear the list of recently closed windows, because if I don't - they will get reopen on browser restart, as I have the setting to restore the previous session.
Seriously, that's too complex, though it has 2 pluses:
1. I can resize the video as I want.
2. I can read other tabs, while the video stays visible.