Actions

Watching YouTube Videos in Whonix ™

From Whonix



Youtubelogo.png

Introduction[edit]

To watch Youtubelogo.png YouTube videos anonymously, users have three options:

  1. Watching videos directly in Tor Browser Icon Tor Browser via the YouTube or Invidious websites.
  2. Downloading videos -- for example via the youtube-dl logo youtube-dl command line downloader, Invidious or YouTube video download sites -- and then watching them in VLC Media Player Icon VLC Media Player (pre-installed).
  3. Using the YouTube URL to watch videos directly in MPV logo MPV or VLC Media Player via the network streaming option.

Tor Browser[edit]

Tor Browser Icon

YouTube Website[edit]

Watchingyoutube.jpg

To watch videos directly on the YouTube website, leave the security slider at the lowest setting; video playback is usually dysfunctional at higher levels. Higher security settings might work at a later time, so readers are encouraged to edit this page if the situation changes. In late 2020 it is common for YouTube to report 'suspicious network activity' when attempting to stream videos in Tor Browser (due to the detection of Tor exit nodes in use).

Figure: YouTube in Whonix ™ Tor Browser

Youtubeinqubeswhonix.png

It is common to experience "buffering issues" (interrupted video playback) because Tor is slow. A simple workaround is to pause the video when it first starts so it can "buffer". This allows enough of the upcoming video playback to load in advance for an uninterrupted viewing experience. Alternatively the videos can be downloaded instead and watched in a media application like VLC Media Player, rather than relying upon an online internet connection with the YouTube website.

Invidious[edit]

It is strongly recommended to utilize Invidious [archive] (project homepage [archive]) as an alternative front-end to YouTube. Note that at the time of writing, the primary invidio.us site presents with a message stating it has closed down as of 1 September, 2020. However a number of alternative instances are available and have been tested to work:

  • invidious.snopyta.org
  • invidious.ggc-project.de
  • invidious.13ad.de
  • yewtu.be
  • invidious.fdn.fr
  • invidious.toot.koeln
  • invidiou.site
  • yt.iswleuven.be
  • vid.mint.lgbt
  • watch.nettohikari.com

Invidious is more lightweight than YouTube itself and comes with many additional features such as a video download option and onion addresses. Also, it does not present the user with login prompts or terms of service messages.

Figure: Invidious in Whonix ™ Tor Browser

Invidiousexample.png

Media Player Streaming[edit]

MPV[edit]

MPV Icon

Installation[edit]

The MPV Icon MPV video player can be installed to stream videos from Youtube or Invidious without enabling JavaScript.

Install mpv.

1. Update the package lists.

sudo apt-get update

2. Upgrade the system.

sudo apt-get dist-upgrade

3. Install the mpv package.

Using apt-get command line parameter --no-install-recommends is in most cases optional.

sudo apt-get install --no-install-recommends mpv

The procedure of installing mpv is complete.

Usage[edit]

After locating the relevant video, copy the URL and run.

mpv your URL

VLC Media Player[edit]

VLC Media Player Icon

A simpler option is to use a media player, VLC Media Player Icon VLC Media Player which comes pre-installed in Whonix ™:

  1. Locate and copy the relevant video URL.
  2. Launch VLC Media Player.
  3. MediaOpen Network Stream...Paste the URLPlay

Figure: YouTube Streaming in VLC Media Player

Vlcnetworkstream.png

Troubleshooting[edit]

General Issues[edit]

Troubleshooting-114197640.jpg
  1. "Forget" about Whonix ™ for a moment and imagine you had never heard of the platform. Test this using the virtualizer software (such as VirtualBox, KVM or Qubes) without Whonix ™ being involved first.
  2. Try a VM other than Whonix ™ such as Debian buster.
  3. If the issue persists, this means the root issue is not caused by Whonix ™. Therefore it is recommended to attempt to resolve the issue as per the Free Support Principle.

VirtualBox[edit]

VirtualBox Logo

VirtualBox logo VirtualBox users should note that video performance might be slow. For a possible solution, see: VirtualBox, Troubleshooting: Slow Video Playback.

See Also[edit]

Footnotes[edit]



text=Jobs in USA
Jobs in USA


Search engines: YaCy | Qwant | ecosia | MetaGer | peekier | Whonix ™ Wiki


Follow: 1024px-Telegram 2019 Logo.svg.png Iconfinder Apple Mail 2697658.png Twitter.png Facebook.png Rss.png Reddit.jpg 200px-Mastodon Logotype (Simple).svg.png

Support: 1024px-Telegram 2019 Logo.svg.png Discourse logo.png Matrix logo.svg.png

Donate: Donate Bank Wire Paypal Bitcoin accepted here Monero accepted here Contriute

Whonix donate bitcoin.png Monero donate Whonix.png United Federation of Planets 1000px.png

Share: Twitter | Facebook

Check out the Whonix ™ News Blog. Rss.png

https link onion link

This is a wiki. Want to improve this page? Help is welcome and volunteer contributions are happily considered! Read, understand and agree to Conditions for Contributions to Whonix ™, then Edit! Edits are held for moderation. Policy of Whonix Website and Whonix Chat and Policy On Nonfreedom Software applies.

Copyright (C) 2012 - 2020 ENCRYPTED SUPPORT LP. Whonix ™ is a trademark. Whonix ™ is a licensee [archive] of the Open Invention Network [archive]. Unless otherwise noted, the content of this page is copyrighted and licensed under the same Freedom Software license as Whonix ™ itself. (Why?)

Whonix ™ is a derivative of and not affiliated with Debian [archive]. Debian is a registered trademark [archive] owned by Software in the Public Interest, Inc [archive].

Whonix ™ is produced independently from the Tor® [archive] anonymity software and carries no guarantee from The Tor Project [archive] about quality, suitability or anything else.

By using our website, you acknowledge that you have read, understood and agreed to our Privacy Policy, Cookie Policy, Terms of Service, and E-Sign Consent. Whonix ™ is provided by ENCRYPTED SUPPORT LP. See Imprint, Contact.