Large

YouTube Enhancer

By GIJoe Last update Dec 13, 2011 — Installed 1,194,461 times.

Little bit confused now ! ; video size.

in
Subscribe to Little bit confused now ! ; video size. 4 posts, 2 voices



leecovuk User

Hello again GIJoe and thanks for your other reply; I haven't (yet) looked further into CPU load but am now just catching up, having seen you've been hard at work again on your script.

I'm a little confused now with the changes to the video size options; is there an equivalent setting or settings I can choose which will mean all videos are left at Youtube default size? I've tried a couple of options in the code settings without success so far. Previously, I think your script just had a setting which could turn off resizing, if I recall correctly.

Thanks very much,
Lee

 
leecovuk User

Hello again,

I now seem to have done it, and automatically by default, using the code below.

// Video display Config
const DEFAULT_4DV3_VIDEO_RESIZING = 11; // Button Number ( 1 -> 12 )
const CUSTOM11_4DV3_VIDEO_RESIZING_W = 640; const CUSTOM11_4DV3_VIDEO_RESIZING_H = 360; // Custom size 11
const CUSTOM12_4DV3_VIDEO_RESIZING_W = 640; const CUSTOM12_4DV3_VIDEO_RESIZING_H = 360; // Custom size 12

const DEFAULT_WIDE_VIDEO_RESIZING = 11; // Button Number ( 1 -> 12 )
const CUSTOM11_WIDE_VIDEO_RESIZING_W = 640; const CUSTOM11_WIDE_VIDEO_RESIZING_H = 360; // Custom size 11
const CUSTOM12_WIDE_VIDEO_RESIZING_W = 640; const CUSTOM12_WIDE_VIDEO_RESIZING_H = 360; // Custom size 12

By the way, unless I'm doing something very wrong and/or failing to understand the new options, setting a button number as the default seems to end up with the next one up being selected instead.
eg I have 11 shown above but button 12 (~2~) gets selected on the web page.
?
:)

Lee

 
GIJoe Script's Author

Oups, Thanks for the bug report... it's now 1 -> 12 in the new update.

The default Youtube Size is "YT LQ" and can be set by default with:
const DEFAULT_4DV3_VIDEO_RESIZING = 3; // Button Number ( 1 -> 12 )
const DEFAULT_WIDE_VIDEO_RESIZING = 3; // Button Number ( 1 -> 12 )
Note: There a tooltip on each video size button.

 
leecovuk User

Great, thanks GIJoe.

Lee

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