Bugs (fallos)
|
|
@dert07: Open the script with whatever editor you prefer. Find this section of the code:
// Create an special image
var imgLightsOut = $E('img',
{ 'id': 'img-lights-out',
'src': outImg,
'style': 'position:absolute;top:0;left:0;width:100%;height:' +
document.height + 'px;z-index:100;' });
..and replace it with this:
// Create an special image
var imgLightsOut = $E('img',
{ 'id': 'img-lights-out',
'src': mediumImg,
'style': 'position:absolute;top:0;left:0;width:100%;height:' +
document.height + 'px;z-index:100;' });
It should work the same as before after that (normal > dimmed > black). |
|
|
Hey, thank you so much Wes!
|
|
|
dert: Try this: // Create an special image
var imgLightsOut = $E('img',
{ 'id': 'img-lights-out',
'src': mediumImg,
'style': 'position:absolute;top:0;left:0;width:100%;height:' +
document.height + 'px;z-index:100;' });
// When the user clicks on the overlay, we want to darken it the first time
// and erase it the second time
imgLightsOut.addEventListener('click', function (e) {
if ($('img-lights-out').src != mediumImg) {
$('img-lights-out').src = mediumImg;
} else {
$('lightsout').className = 'lights-off';
document.body.removeChild($('img-lights-out'));
}
}, false);
|
|
|
Wow, thank you so much Wes, everything worked great! |
|
|
In Opera, sometimes the page doesn't finish loading until a minute into the video, and THEN the script kicks in. Can't you load the script at document onload, e.g. not wait for all the images etc. to load? |
|
|
To clarify, this also causes the video to re-load and begin playing from the start. :( |
|
|
I don't know if it's just me, but the script really seems to be broken.
|
![]() ![]() |
der07, the script should work now. |
![]() ![]() |
Thanks for fixing it :) |
![]() ![]() |
The script's menu has disappeared from YouTube. |
![]() ![]() |
Sad...
|
![]() ![]() |
my fav script on here is now working good after the update, thank you.
'lights out' doesn't work when a video is playing, I applied this; 'http://userscripts.org/topics/20924?page=2#post...'
|
![]() ![]() |
concerning the grey box, i added 'style': 'position:absolute;top:0;left:0;width:100%;height:100%' the 100% to the height. |
![]() ![]() |
Script can't detect HD video |
![]() ![]() |
Hi,
|
![]() ![]() |
If you're trying to play Flash and the youtube video has fmt=22, 35, 18, and low quality(6?), and you disable HD it does not play the next best quality which should be fmt=35. Instead it plays the low quality version. This is very annoying and the only option is to manually add &fmt=35 to the url. Can you configure it to automatically play the next best format? Or let us choose what to pick? Youtube also has 1080p videos (fmt=37) now so you might want to include that also. |
![]() ![]() |
I'm having the same troubles as henriqesilva, the video doesn't appear unless I change to another tab and then return to the tab with the video. I'm running Firefox 3.5.7 on OS X 10.5.8 on a G5 processor. Thanks for the scripts! |
![]() ![]() |
Me pasa esto:
Otro problema (algo más "retorcido"): uso Flashblock para bloquear los flash. Normalmente, si quiero ver un vídeo de YouTube, simplemente hago clic en el hueco que queda y se reproduce, pero con este script eso no funciona, así que tengo que desactivar Flashblock cada vez que quiero ver vídeos de YouTube. Para solucionar esto ya habría que investigar cómo trabaja Flashblock y puede que sea complicado de arreglar. Y lo último, claro, que con esto no se pueden ver las capas de información, pero eso la verdad es que es más una ventaja que un problema... (salvo para cosas como Tube Adventures) Por lo demás, enhorabuena por el plugin. Con la de recursos que consume Flash en Linux, a ver si los vídeos se ven mejor. |
![]() ![]() |
Looking forward to revision of the script for the new Youtube layout! |
![]() ![]() |
script doesn't seem to do anything at all for me... Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 |
![]() ![]() |
In case others are seeing the same problem as I, youtube changed 'watch-player-div' to 'watch-player' and this script looks for 'watch-player-div' before even trying to do anything. Just removing the '-div' got it to run (but not work correctly) and changing all the instances of 'watch-player-div' to 'watch-player' got it to work for playing (I just did a quick test). The download doesn't works as I am used to - maybe someone else will volunteer some information on that. |




