YousableTubeFix

By Mindeye Last update Feb 2, 2012 — Installed 595,034 times.

Selectively change playback type

in
Subscribe to Selectively change playback type 4 posts, 2 voices



Dark_Rak3r User
FirefoxWindows

I was wondering if there was any way for the script to use a different playback type when playing playlists e.g. automatically switch to normal playback if a playlist is being used, but otherwise use the prevent autoplay function.

 
aoxyjvwdfkbs Scriptwright
FirefoxWindows

Edit Sept 08, 2009

// Allows autoplay if the playlist is active
if (/feature=PlayList/.test(location.href)) {
	preventOnlyAutoplay = false;
	videoToIcon = false;
}

// PUT THAT BEFORE THIS EXISTING CODE:

// Stops the video autoplay and autodownload by substituing the player with an icon or using the YouTube API
if (videoToIcon) {
	var subsIcon; // subsIcon is declared here because it's used by both iconizeVideo and restoreVideo
	iconizeVideo();
}

Or try the script I compiled some tweaks in: http://userscripts.org/scripts/show/57145

 
Dark_Rak3r User
FirefoxWindows

Where would I put this if I use the prevent only autoplay function?

 
aoxyjvwdfkbs Scriptwright
FirefoxWindows

Edit Sept 05, 2009: This no longer works!

// Allows autoplay if the playlist is active
if (/feature=PlayList/.test(location.href)) {
	preventOnlyAutoplay = false;
	videoToIcon = false;
}

// EVERYTHING BELOW THIS IS EXISTING CODE

// Stops the video autoplay and autodownload by substituing the player with an icon or using the YouTube API
if (videoToIcon) {
	var subsIcon; // subsIcon is declared here because it's used by both iconizeVideo and restoreVideo
	iconizeVideo();
}

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