Requests (Peticiones)

in
Subscribe to Requests (Peticiones) 28 posts, 10 voices



Víctor Pimentel Script's Author

In this thread you can request new functionalities relating this script. Written in English or Spanish, that's indifferent. Though you can use any language, if I don't understand you I could hardly answer your petition.

 
Zero_G User

Hola de nuevo, viendo como los videos HD se amplian en casi toda la pantalla (sin hacer uso del fullscreen). Estaba tratando de ver como hacer para -usando el boton "amplia"- que amplie un poco más el video. Claro que esto ya tiene que ver con que resolución usa cada uno en su PC.

 
Zero_G User

Bueno, al final encontré más o menos como hacerlo, en esta linea

player" type="video/mp4" src="'
+ video_src.replace(/&/g, "&") + '" '
+ 'height="710" width="860"

scale="aspect">

cambié los valores a como mejor se me acomodaban a mi pantalla, pero el drama es que las dos ventanas de la derecha (las de la descripción y la de videos relacionados), quedan por debajo del video.

 
Leonard Lin Scriptwright

Victor, great script. Do you know if it's possible to enable a fullscreen playback mode w/ the embed?

 
Víctor Pimentel Script's Author

Leonard, I've tried every solution but it depends completely on the plugin implementation.

Sadly, the only working alternative is using the Flash player :(

 
lainsnavi User

From what I can tell, this hasn't been requested yet (I don't know spanish).

I figured out that you can make the script display the HD MP4 on YouTube instead of the HQ MP4 by changing the "18" to "22". However, I haven't figured out a way to increase the size of the video frame without covering up the sidebar on the right.

Can this script be updated to move the sidebar down when increasing the size for the HD MP4 like it does with HD Flash videos?

 
SpookyET Scriptwright

I have modified the userscript to support MP4 HD. I have also hidden the expand button by default. It only shows up for flash video.

http://pastie.org/411267

 
lainsnavi User

SpookyET, THANK YOU!!! That works perfectly!

 
Víctor Pimentel Script's Author

Thanks SpookyET, but I've already working on that problem, and MP4 HD works flawlessly :) Expand button are removed in HD videos, in favor of a "Toggle HD" button.

I'll update the script in two or three days, because there's a lot of new options I think the users may want to change, so I'm working on an Option panel. There's work to do, but I think it will be perfect!

 
Víctor Pimentel Script's Author

Well, I have modified the script to include full HD support and a neat menu to tweak the options... What do you think? :P

 
SpookyET Scriptwright

I don't like expansion because of pixelation. They quality of the videos is crap as it is.
HD off/on works on flash video. It doesn't work on MP4. If you turn it off and on again, you get the low res MP4 expanded. You don't get the HD video.

I don't see a menu in Safari, presumably, it's an option menu for GreaseMonkey. I use GlimmerBlocker, not GreaseKit.

 
SpookyET Scriptwright

Also, I'd change the play icon. It's ugly. Try http://yarbroughholbywedding.com/Video_files/pl...

Is it possible to get previews without pixillation?

 
Víctor Pimentel Script's Author

SpookyET, the menu is only accessible from Greasemonkey. Sorry, but it requires some functions to save variables between sessions, and only Greasemonkey offers it. Now, the only alternative in Safari is changing the variables manually in the script: it's the same.

However, I'm thinking in a solution that may apply for Safari 4. Since this version supports HTML 5 DB, it could actually work! Maybe next week I could play a little with it.

About pixelation, I can do nothing about it. At least in my machine, Quicktime blends the pixels, so you don't see actual pixels but a blurry image. Not ideal, but it's the best you can do. Better than the Flash player, definitely.

About the image: yes, it is something ugly. But it's the only image of Youtube that fits and I don't want to use an external image. I guess the only solution will be putting the data directly in the script. Again, next week.

About the bug, I'm going to review it right now.

Thanks for the comments :)

 
SpookyET Scriptwright

Definitely base64 a pretty image in the css. Safari 3.2 supports HTML 5 structured client-side storage. You could create a html 5 settings widget. Right now, I'm still using the modified older version of this script because i tweaked it to my liking.

It will be interesting to be able to create a universal Flash to QT/VLC/Whatever Installed script that would work on all sites. It's not possible to detect the video URL for all Flash video objects because some use wrapper movies, but one may poll with ajax for 404s to see if a file exists before butchering the page.

 
lainsnavi User

Victor, I do like that you added HD to the plugin. However, I'm don't really like how it automatically expands SD videos to a larger size. In order to reduce it down to 100%, you now have to click "expand" and then "contract" to put it down to a size that looks clearer. I tried changing "AUTO EXPAND" to false, but that didn't seem to do anything. I really like what SpookyET did with the sizing in his. However, I really really like how your new version detects if an HD version exists or not. I really appreciate that addition since I don't have to guess if one exists or not.

I can confirm SpookyET's glitch by toggling the HD On/Off button. Turning it off will load the lower res MP4, but clicking it again will just expand it to HD size instead of refreshing w/ the HD quality MP4. I'm using Safari 4 with GreaseKit.

 
Víctor Pimentel Script's Author

lainsnavi: Could you post any screenshots? No about the hD bug (I already corrected it), but about the "expand/contract" situation. In my machine, with Safari+Greasekit, if I set autoExpand to false then the videos are not "expanded" as an HD video.

Maybe you are talking about 4:3 videos (non-widescreen videos). In those cases, the videos are expanded a little to avoid white space.

 
lainsnavi User

I went ahead and did a video screengrab. It looks like it starts out at 150%, then shifts to 200% when you hit expand, and then goes down to 100% when you hit contract. Personally, I prefer the 100% even if it's smaller. I don't see any point in having the 150% version.

http://web.me.com/mikewagner85/misc/auto-expand...

 
Víctor Pimentel Script's Author

Thank you lainsnavi for the video. Indeed, it is a bug on the code :P

I'd explain this: right now, Youtube is optimized for widescreen videos (16:9), the format of the "new" widescreen TVs. But there are a lot of videos that are in 4:3 format (like "old" TVs), so two blank gaps appear in the sides. This script avoid that by making 4:3 videos a bit taller than 16:9 videos, so 4:3 videos will cover all available space. This is a personal decision, I prefer to see no gaps.

Within days a new version of the script is going to be released, and there's going to be an option to toggle this behaviour. Also, I'm done a working menu to change these options for Safari and other browsers. And another very cute option that I hope you like :P

There are a few bugs since the code is going trickier and trickier, so I need to polish more code.

 
Víctor Pimentel Script's Author

Well, that took me not so long. I've fixed some major bugs and the new version is released. Now both of you should have a menu right at the top. At least I tested it on Safari and all ran smooth.

Lainsnavi: to tweak the script to do what you want, you should turn off options "Expand all videos" and "Correct 4:3 videos".

I also added a new button/option to automatically "turn off the lights" and focus only on the video. Of course this can be fully disabled from the options.

So far, the only thing that I want to do is to put the base64 image like SpookyET wanted. With that and a cleaner code, I think we have a 1.0 release :)

 
lainsnavi User

Victor, you are awesome! Thanks so much. Everything looks great. The lights out option is great. I can't remember if it was there before, but I haven't tried it until now. The scaling for mp4s after applying those settings works great. I'm loving it. Great job, man. You rock! :D

 
Das Dingo User

Victor your script is very awesome.
But I have some requets that can make your Script the best for youtube.
1. an option to activate and deactivate the preview function
2. auto-buffer the video (also when preview is activated)
3. and at last an option for hq-quality (some videos only have normal but with adding &fmt=18 they are in high quality)

 
Víctor Pimentel Script's Author

Das Dingo:

1. There's already an option for activate/deactivate the previews/autoplay. It is the first one! :P
2. It would be interesting, I'd think how to add that in a future release.
3. HQ is always loaded within the Quicktime player. If you enable the HD option of the script, then the HQ version would be activated in Flash too. Right now, there's only one case I don't cover: when a video has a HD version but you want to see the HQ version. Actually, this case is not covered by Youtube without tweaking it. Anyway, I'll add it to a list of future features :)

 
RunAway User

Hi, I love this great script (as much as I hate flash...).
I've just a couple of requests: full screen and pause button (specially for mp4 movies).

 
Wes M User

Is there any way you could make this script work with the YouTube user pages as well? Mainly I just want a way to disable autoplay for those videos, but full functionality with all the buttons would be nice.

 
Wes M User

Actually you can ignore my last request; could you tweak the script so it works with the Shows and Movies that are on YouTube now?

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