MyTube - Limit the Privacy Risks of Embedded Video

Including embedded video content on your website creates some privacy risk, allowing the party that hosts the video to record information about your visitors and place cookies in their browser. This usually happens as soon as a visitor loads a webpage, whether or not they actually click to play the video.

In 2008, EFF created a script called MyTube to limit these risks. It uses JQuery javascript to prevent a website visitor's client from connecting with a third-party video-host until the visitor explicitly opts-in by clicking on the play button.

MyTube works with almost every web-video host, whether an all-purpose host like YouTube or Vimeo, or a host specific to a TV show or content-owner like The Colbert Report or MSNBC.

You can see the script in action here and here.

MyTube was originally implemented as a module for Drupal 5, the content management system that powers In 2010, students at the Ohio State University Open Source Club published substantial upgrades to the software, including a version for Drupal 6.

You can learn more on Deeplinks.

The most recent version can be found on the Drupal site at

Related Issues

Stay in Touch

NSA Spying

EFF is leading the fight against the NSA's illegal mass surveillance program. Learn more about what the program is, how it works, and what you can do.

Follow EFF

Facebook's name policy isn't just unfair, it's "akin to profiling, a social media equivalent of stop-and-frisk."

Oct 9 @ 9:17am

ICYMI: A major victory for privacy—Gov. Brown signed SB 178. Now cops need a warrant to search your data in CA.

Oct 9 @ 9:01am

Hey @WhiteHouse: these 21 tech companies came out unequivocally against crypto back doors. So should you.

Oct 9 @ 8:25am
JavaScript license information