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

BREAKING: jailed Syrian technologist Bassel Khatabil moved to unknown location. RT to show the world is watching

Oct 3 @ 1:46pm

BREAKING: Imprisoned Syrian technologist Bassel Khatabil moved to unknown location. RT to show the world is watching:

Oct 3 @ 1:42pm

Tearing down CDA 230 won't help solve harassment. It will silence those fighting against it:

Oct 2 @ 5:09pm
JavaScript license information