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

Look out weekend! Check out the cross-platform video games in Humble Indie Bundle 15 & support EFF's work:

Oct 9 @ 4:58pm

The leaked TPP IP chapter reveals how negotiators have caved to Hollywood demands and betrayed Internet users.

Oct 9 @ 4:30pm

One more California victory for privacy! @JerryBrownGov vetoed bill to put RFID chips in driver licenses:

Oct 9 @ 4:20pm
JavaScript license information