youtube fix for gecko 1.8(km 1.1.x-1.5.x)
Posted by: disrupted
Date: August 06, 2010 07:43PM

this script fixes several display issues in youtube affecting gecko 1.8.x (kmeleon 1.1.x -1.5.x)

to install using usercontent(standard):
in kmeleon go to the edit menu>configuration>user-defined stylesheet, this will open usercontent.css in notepad.. copy orange text belowe and paste in usercontent.css , save the file and restart kmeleon

to install using stylish extension, just create a new style and copy and paste the code- restart is not required

-----copy code below--------


@-moz-document url-prefix(http://www.youtube)
{
html>body>div>div>div>div>div>div>div>div>div>ul>li>a>span[class="title"]{margin-top:88px!important}

#watch-description{ width:404px!important}
#watch-views{ width:124px!important;margin-right:3px!important}
#watch-captions{width:70px!important}

iframe[width="300"]{display:none!important}

html>body>div>div>div>span{opacity:.8!important}
div[id="quicklist-loading"]{opacity:.8!important}

div[class="yt-uix-slider yt-uix-slider-fluid"],div[id="quicklist-tray"]{opacity:.9!important}

div[id="quicklist"],div[class="hid passive"]{opacity:.9!important}

#watch-actions-left{width:176px!important;height:21px!important;padding-right:129px!important}
[class="action-bar-ratings-stats yt-uix-tooltip"]{float:right!important;margin-top:-24px!important}

*[class="yt-uix-slider-body"]{float:left!important;background-color:transparent!important}
li[class^="quicklist-item"]{float:left!important}
div[id="quicklist-tray-content"]{width:2800%!important}

div[class="yt-uix-slider yt-uix-slider-fluid"],div[id="quicklist-tray"]{background-color:transparent!important}
span[class="delete"]{margin-left:-20px!important}

html>body>div>div>div>div>div>div>ol>li>a>span[class="title"]{color:white!important}
span[class="title yt-uix-slider-title"]{font-size:12px!important}
html>body>div>div>div>div>div>div>span>span[class="watch-expander-head yt-uix-expander-head yt-rounded"]{position:absolute!important;height:14px!important;width:108px!important}
*[class^="subscribe-button"]{margin-left:128px!important;color: #9D9D9D !important}
*[id="subscribeDiv"]{margin-left:128px!important;color: #9D9D9D !important}
*[id="watch-userbanner"]{float:left!important;padding-top:2px!important;padding-bottom:22px!important;height:22px!important}

ol[class="video-list"]{min-width:500px!important}

*[id="browser-upgrade-outer-box"]{display:none!important}
}

@-moz-document url-prefix(http://www.youtube.com/videos)
{
div[class="main-tabs-spotlight-inner yt-rounded"]{height:280px!important}
}

@-moz-document url(http://www.youtube.com),
url(http://www.youtube.com/),
url(http://youtube.com),
url(http://youtube.com/),
url(http://il.youtube.com),
url(http://il.youtube.com/)
{
html>body>div>div>div>div>div>div>div>div>div>div>div>a>span[class="video-time"]{margin-right:-134px!important;margin-bottom:-74px!important}
html>body>div>div>div>div>div>div>div>div>div>div>div>a>span[class^="yt-uix-button-group"]{margin-right:-134px!important;margin-bottom:-74px!important}
html>body>div>div>div>div>div>div>div>div>div>div>div>a>span[class="video-in-quicklist"]{margin-bottom:-79px!important;width:125px!important}

html>body>div>div>div>div>div>div>div>div>div>div>a>span[class^="yt-uix-button-group addto"]{margin-right:-134px!important;margin-bottom:-74px!important}

html>body>div>div>div>div>div>div>div>div>div>div>a>span[class="video-time"]{position:inherit!important;}
html>body>div>div>div>div>div>div>div>div>div>div>a>span[class="video-in-quicklist"]{margin-bottom:-79px!important;width:125px!important}

html>body>div>div>div>div>div>div>div>div>div>div>div>a>span[class="video-time"]{background-color:transparent!important;color:#E1E1E1!important}
html>body>div>div>div>div>div>div>div>div>div>div>a>span[class="video-time"]{background-color:transparent!important;color:red!important}
}




- update fixes count number not displaying on queued video
- updated after youtube changed css

-update 11th october: fixes the queue list video items 8 limit
- for youtube serentity see the usercontent.css wiki for updates

-update fix for hidden user video list expand button
-update fix for user logo image partially displaying
-fixes the item hover long title in queue panel not fully displayed

-update brings back transparency effects

- fix for transscripts/captions button misplaced when available

- fix for add to queue button/video-time misplaced/hidden on first entries on the front page only/featured/recommended for you-december updates

- fix for user videos titles not displaying in carousel-december updates
- fix for hidden/overlapped user subscribe button-december updates



Edited 20 time(s). Last edit at 12/19/2010 08:06PM by disrupted.

Re: youtube fix for gecko 1.8(km 1.1.x-1.5.x)
Posted by: desga2
Date: August 06, 2010 11:16PM

Thanks disrupted.

Quote
desga2
If you have some others could be created a Wikipage similar to MacroLibrary for StylesLibrary.
http://kmeleonbrowser.org/forum/read.php?1,109135

K-Meleon in Spanish



Edited 1 time(s). Last edit at 08/06/2010 11:17PM by desga2.

Re: youtube fix for gecko 1.8(km 1.1.x-1.5.x)
Posted by: disrupted
Date: August 07, 2010 12:14AM

that's a good idea, thanks desga.. perhaps i can make a new styles wiki tomorrow,'d appreciate it if someone kick-starts it

p.s style update to fix count-see first post

Re: youtube fix for gecko 1.8(km 1.1.x-1.5.x)
Posted by: Mister M
Date: August 07, 2010 03:41AM

Thanks.

Without this code YouTube really is a terrible mess.

Much appreciated. smiling smiley

Re: youtube fix for gecko 1.8(km 1.1.x-1.5.x)
Posted by: slayer
Date: August 09, 2010 01:40AM

Can you point me to that Stylish extension you mention in your first post, disrupted? I have one that enables an Stylesheets menu. But I don't know if it is the same one.

Does this new CSS code overrides the other one you posted a while ago? Is a long code which changes some BACKGROUNDs, colors and other things.

Thanks.

Re: youtube fix for gecko 1.8(km 1.1.x-1.5.x)
Posted by: disrupted
Date: August 09, 2010 12:11PM

no it's alright to use both together without any conflicts since one is for fixing position bugs, they other is for colours..but the new serenity is already updated to include all the fixes so you'dn't need to use the fix code..

updated there:
http://kmeleon.sourceforge.net/wiki/CSS-YTserenity
more fixes: http://kmeleon.sourceforge.net/wiki/CSSstylesheets

stylish adds a menu called stylish in the tools menu..i think you mean the regular styles macro or siria's extreme styles.. stylish is xul so opens its own windows where you can edit and disable styles

you can download it there:
http://kmext.sourceforge.net/files/kmstylish-joykillr.7z

special thanks to joykiller for porting the stylish extension
http://www.digivill.net/~joykillr/kmeleon/

Re: youtube fix for gecko 1.8(km 1.1.x-1.5.x)
Posted by: newbie
Date: August 25, 2010 06:22AM

i am new in k-melon (older version 152) and installed this script in usercontent.css.

but all looks like before: the youtube video description box is supressed by the counter. picture here http://i41.tinypic.com/156zfjd.png

what i am doing wrong ?

thanks

Re: youtube fix for gecko 1.8(km 1.1.x-1.5.x)
Posted by: disrupted
Date: August 25, 2010 08:03PM

remeber you'll need to restart but if that's not the case..then you might not have permission rights for the profile folder. make sure you're the administrator or user with privileges on the system. to check you can open the usercontent file again and check if the changes you have made were saved.

you can download this usercontent. file [file removed-outdated] see first post(right-click-save taget as) it's already fixed for youtube' replace your one with it. remember your usercontent.css is inside your profile folder in a subfolder called chrome
e.g
%profilepath%\chrome\usercontent.css



Edited 1 time(s). Last edit at 10/11/2010 04:27AM by disrupted.

Re: youtube fix for gecko 1.8(km 1.1.x-1.5.x)
Posted by: newbie
Date: August 27, 2010 06:26PM

great - thank you !

all is working fine now with the download from sourceforge.

but the only difference i watch in the files is the layout/line breaks/comment lines. i copied the script above to the the default/existing usercontent.css - layout and comment lines were preserved. in the downloaded file there is no layout ... (bad readability).

because there are some other interesting styles for k-meleon: is there a need to remove the comments in the example file ?

and (sorry, newbie as told):

what is the meaning of lines like

@namespace url(http://www.w3.org/1999/xhtml);

is there a connection established to this url ?

thank you

Re: youtube fix for gecko 1.8(km 1.1.x-1.5.x)
Posted by: disrupted
Date: August 27, 2010 07:18PM

no it doesn't connect, it's a standard referrer to w3..you can remove it if it makes you uneasy

note: more css fixes there http://kmeleon.sourceforge.net/wiki/CSSstylesheets



Edited 1 time(s). Last edit at 08/27/2010 07:19PM by disrupted.

Re: youtube fix for gecko 1.8(km 1.1.x-1.5.x)
Posted by: guenter
Date: August 30, 2010 04:45PM

@namespace url(http://www.w3.org/1999/xhtml); ist IMHO der Namensraum für den der CSS Eintrag gilt. Näheres findest du sicher auf selfhtml.org. Es ist AFAIK keine Link URL.

Is the namespace for which the CSS entry is vallid. No Link URL AFAIK.



Edited 1 time(s). Last edit at 08/30/2010 04:50PM by guenter.

Re: youtube fix for gecko 1.8(km 1.1.x-1.5.x)
Posted by: Mala Okeh
Date: October 05, 2010 11:06AM

I used the usercontent.css from disrupted but there still remains a problem in the presentation of the playlist at the bottom of youtube (see picture - e.g. url: http://www.youtube.com/watch?v=nfxx2LwZwJU&a=4oVf-d_DwKD7aCG61Qh_x5Ev5E1DtY81&list=ML&playnext=1
): the next button doesn't work and not all the videos in the playlist are shown or attendable.


https://docs.google.com/leaf?id=0B3pAvKUclCoGNGQ2MmEwNzEtOTc0ZS00Y2E3LWE0OTMtNmYyZDBmMTMyY2Fh&authkey=CJ2wif4M&hl=en


Is there a remedy for that?

Thx

Mala Okeh

Re: youtube fix for gecko 1.8(km 1.1.x-1.5.x)
Posted by: disrupted
Date: October 07, 2010 08:45PM

maka olena, that code in the linked usercontent.css is outdated.. it was only provided for a user who couldn't edit the usercontent file. please use the orange code at the very first post. open your usercontent.css file and delete all its contents and paste the orange code into it and restart kmeleon.

for all users: the usercontent.css linked in this thread is outdated and doesn't work properly, only use the orange code at the first post or refer to the usercontent wiki for updates

http://kmeleon.sourceforge.net/wiki/CSSstylesheets

Re: youtube fix for gecko 1.8(km 1.1.x-1.5.x)
Posted by: Mala Okeh
Date: October 10, 2010 04:27PM

Thx, disrupted for the answer.
But for the k-meleon 1.5.4 the ccs-style for youtube doesn't work completely as it should : the bottom tray of the playlist of the Medialuna Tango Project Mix shows only 7 videos out of 35 (see picture in link previous post), the next button does not function.
I don't know why.

Re: youtube fix for gecko 1.8(km 1.1.x-1.5.x)
Posted by: disrupted
Date: October 11, 2010 04:43AM

sorry that was my mistake. after yahoo updated their slider-carousel to slider-body, i didn't think there will be a problem in displaying all lists in playlist or queued items because it worked before normally so didn't test adding many videos and just tested add/delete list.. the problem was that the item-list was limited to 8 and couldn't display more videos.

it has been fixed now and should display all added videos in a queue or from a playlist.. see the first post for the update. copy orangish code and replace the older one in usercontent.css or in your custom stylish style




Re: youtube fix for gecko 1.8(km 1.1.x-1.5.x)
Posted by: disrupted
Date: October 11, 2010 09:11PM

yt fix has been updated to address user logo image partially displaying and user video expand button not showing:



youtube serenity has been revamped.. please check:
http://kmeleon.sourceforge.net/wiki/CSS-YTserenity

please note, yt serenity no longer contains fixes for 1.8, making it available for km 1.6. for 1.5.x you'll need to add both serenity and fix codes in usercontent or better use the stylish extension

Re: youtube fix for gecko 1.8(km 1.1.x-1.5.x)
Posted by: disrupted
Date: October 12, 2010 04:09AM

hopefully the final update:

adss transparency to the queue tray

now youtube should look and act exactly like in gecko 1.9. code in the first post.

please report back if you notice any peculiarities or differences with km 1.6/gecko 1.9.x

---
don't forget to check youtube serenity on the css wiki for extra effects(for both g1.8 and 1.9) and if you want to get rid of google/youtube faggotry blue



Edited 1 time(s). Last edit at 10/12/2010 04:19AM by disrupted.

Re: youtube fix for gecko 1.8(km 1.1.x-1.5.x)
Posted by: disrupted
Date: October 16, 2010 01:37PM

new fix for captions button on some videos(not all) misplaced and oversized..code at first post


test: http://www.youtube.com/watch?v=GUE0si2llTY&feature=related

Re: youtube fix for gecko 1.8(km 1.1.x-1.5.x)
Posted by: newbie
Date: October 27, 2010 05:51PM

disrupter, thank you for the fixes.

online the new fix is working with the above link from Mala Okeh ('tango') with playlist.

but saving the page and open it local there is a problem. the buttons and the info behind are missed.

look at

1.saved = http://www.abload.de/image.php?img=km-saved-1-2010-10-27_7f2f.jpg
2.online = http://www.abload.de/image.php?img=km-online-2-2010-10-27ytmi.jpg

Re: youtube fix for gecko 1.8(km 1.1.x-1.5.x)
Posted by: disrupted
Date: December 10, 2010 10:29PM

this is normal, it affects the youtube domain and can't work when the pages are saved locally

K-Meleon forum is powered by Phorum.