Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I use the ClickToFlash Safari extension, out of concern for Flash security vulnerabilities and to remove annoyances. However, I do not like its replacements for YouTube video players over YouTube's own player.

How can I configure ClickToFlash so that it does not affect YouTube players (whether on YouTube pages or embedded), but blocks/replaces all other Flash? Putting “” in the “Allow Flash on these sites:” list works for YouTube itself, but not embedding.

share|improve this question
Have you looked at the sites doing the embedding to check and see if Google is using a pattern of host names you can add in addition to www? Also, have you tried whitelisting * instead of restricting just the www host name? – bmike Jan 3 '12 at 0:02
up vote 3 down vote accepted

bmike's comment prodded me into actually, y'know, reading the manual, which led me to find that the whitelists are in fact substring matches. Therefore these settings work:

enter image description here

I had to find the /v/ URL by looking at the source of a page with a YouTube embedding.

share|improve this answer
Well done - I'm now flash free so I couldn't test this out for you. – bmike Jan 3 '12 at 0:33

These days, you need to remove killers/YouTube.js from "conversion scripts" in the General preferences pane. This seems to apply to both ClickToFlash and ClickToPlugin. Note that after making the change, you have to restart Safari, then wait a second for plugins to load, then open a YouTube tab to test.

I believe Kevin's answer was correct in 2012, but the FAQ now says, "Starting from Safari 8, YouTube is completely Flash-free." I found whitelisting both and had no effect.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.