Subscribe to
Posts
Comments
NSLog(); Header Image

ClickToFlash Behaving Oddly

I've disabled ClickToFlash because it's been behaving oddly lately (and development seems to have come to a standstill).

I'll often attempt to display a YouTube video, and a movie file will download. Whitelisting sites doesn't always work, and sometimes I spend five minutes just trying to get a flash movie to play in Flash instead of downloading a movie or display a white box where the movie should be (long bug discussion here - 1.6b7 linked here).

Will cross my fingers and, occasionally, re-enable. It's the easiest way to download the movies from YouTube (though I have a JavaScript bookmarklet that does it too).

P.S. And I'll try 1.6b7 as soon as I can tolerate a re-start of Safari.

2 Responses to "ClickToFlash Behaving Oddly"

  1. Which Javascript bookmarklet do you use? I've been looking for one that works well. I've had similar problems with ClickToFlash myself, randomly downloading videos on tabs I open in the background.

  2. Elmak said on March 13, 2010:

    Which Javascript bookmarklet do you use?

    One that doesn't seem to work any longer, now that I've tried it out:

    javascript:if%20(document.getElementById('download-youtube-video')==null%20&&%20!!(document.location.href.match(/http:%5C/%5C/%5Ba-zA-Z%5C.%5D*youtube%5C.com%5C/watch/)))%20%7Bvar%20yt_mp4_path='http://www.youtube.com/get_video?fmt=18&video_id='+swfArgs%5B'video_id'%5D+'&t='+swfArgs%5B't'%5D;%20var%20div_embed=document.getElementById('watch-embed-div');div_embed.innerHTML=div_embed.innerHTML+'%3Cbr%20/%3E%20%3Cspan%20id=%5C'download-youtube-video%5C'%3E%3Ca%20href=%5C''+yt_mp4_path+'%5C'%3EDownload%20as%20MP4%3C/a%3E%20'+%20%20((navigator.userAgent.indexOf('Safari')!=-1)?'(control-click%20and%20select%20%3Ci%3EDownload%20linked%20file%20as%3C/i%3E)':('(right-click%20and%20select%20%3Ci%3ESave%20'+%20(navigator.appName=='Microsoft%20Internet%20Explorer'?'target':'link')%20+'%20as)%3C/i%3E'))+'%3C/span%3E';%7Dvoid(0);

    Incidentally, I'm still seeing the "download when I don't want it to" behavior with 1.6b7 too. 😛


Trackback URI | Comments RSS

Leave a Reply

Please abide by the comment policy. Valid HTML includes: <blockquote><p>, <em>, <strong>, <ul>, <ol>, and <a href>. Please use the "Quote Me" functionality to quote comments.