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 powered Starting In 2010, students at the Ohio State University Open Source Club published substantial upgrades to the software, including versions for Drupal 6 and Drupal 7.

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

We're glad to see that adoption of HTTPS encryption has skyrocketed. h/t @PardonSnowden

Oct 20 @ 12:42pm

The Student Privacy Pledge stops short of fully protecting students and their information.

Oct 20 @ 10:44am

Snowden's effect on tech? People have adopted better security habits.

Oct 20 @ 10:06am
JavaScript license information