Archived Comments (locked)
|
|
The following is an archive of comments made before threaded discussions was implemented (November 16th, 2008) |
|
|
Is it possible to enable the loop button by default? Sometimes I open multiple videos and it's a pain to press loop on each one. |
|
|
Yep, so the loop button can align to the bottom right of video properly. Glad you got it sorted. ^^ |
|
|
thanks! I assume that the change to yousabletubefix is to stop the loopy button from showing up on the far right of the page.
// Resizes the player
player.style.width = newW.toCSS();
player.style.height = newH.toCSS();
// Centers the player, video title and resize links horizontally
var posOffset = (((vw - newW) / 2) - oPlayerDivData.xPos).toCSS(); // Calculates the offset --> ((Container width - Content width) / 2) - Content Initial Position;
[playerDiv, vidTitle, linkDiv].forEach(function(n) {
n.style.position = "relative"; // Enables CSS relative positioning
n.style.left = posOffset; // Sets the offset
});
There is no "resize the player div too!" comment! Should I add both playerDiv.style.width = newW.toCSS();
and
EDIT: damn, this post is getting long. Anyways, never mind the above question. I added both lines and it works great! |
|
|
Hi Alala, I've modified the CSS slightly to fix compatibility issues on my side, and I recommend a minor change to the YousableTubeFix script.. // Function used to resize video
function resizeVideo(aSize) {
<...>
// Resizes the player
player.style.width = newW.toCSS();
player.style.height = newH.toCSS();
// Resize the player div too!
playerDiv.style.width = newW.toCSS();
<...>
}
Add the line(s) in bold and all should be sweet, happy looping. |
|
|
could you possibly look into the issue of incompatibility with the yousabletubefix script (http://userscripts.org/scripts/show/13333) ? thank you. |
|
|
Excellent. Thank you! |
|
|
haha... this is so cool... i installed ABP an hour ago... noticed the loopy issue just now... came here to see what was up, and i find that its already solved... the new script works fine with abp... thanks ppl! u guys rock |
|
|
Thanks QuaraMan! I've updated the script with some of your embed code and gave you some credit. Hopefully all goes well, happy looping loopers. |
|
|
The script will not work with Adblock Plus because the use of unsafeWindow leads to security errors.
under this URL you can see my version: Happy Looping! |
|
|
Regarding Adblock Plus, I had noted the bug you mention previously.. but after a couple of script revisions and/or possibly the Firefox 3.0.1 update, I am able to run both without any problems and had thought the bug be squashed. Thanks for your input though, seems this bug still exists for some people.. so I'll re-add the details. ps. If you are up for some troubleshooting, make sure Firefox, ABP and Flash are all up-to-date and try with minimal extensions enabled. Hopefully we can find a way to finally resolve it. |
|
|
Ditto on the Adblock plus issue...I was really puzzled why this wasn't working even though "Loop" displayed properly. Thanks a lot for the script - looping ocean waves and other white noise is a real lifesaver for me! |
|
|
@CDM: This script does NOT work with Adblockplus!
|
|
|
Thanks, done and done. ^^ |
|
|
suggestion... please add "http://youtube.com/watch?v=*" as well ...btw, thanks a zillion ton for this!!! had been looking around for such a thing since a long time... :) |
|
|
It works! Thanks a lot CDM, you are really awesome to do this for everyone. |
|
|
Fixed compatibility issues with Opera, let me know how it goes. |
|
|
Anybody know if this should work on the Opera web browser. Probably obviously, I am not skilled in computers but I have been searching for a loop utility for youtube (via google) nearly weekly for months. I finally found this, but after creating a folder on my desktop, saving (via the install this script button at the top of this page) the javascript file there, and then right-clicking, finding edit site preferences->scripting>user scripts (finding the js-containing folder on my desktop and pressing ok) I don't get the loop button--even after restarting my browser. Is this script incompatible with opera or did I do something wrong? |
|
|
Updated as you suggested, thanks for the comment. |
|
|
change www. to *. if your using an international version of YouTube (eg. UK) |