Watching YouTube Videos in Whonix
YouTube videos can be watched using Tor Browser, streaming, MPV or VLC Media Player, other alternatives such as Invidious. Alternatively, downloading may also be possible. This page also discusses troubleshooting YouTube performance and other issues.
Contents
Introduction[edit]
Copy or share this direct link!
Click = Copy
Copied to clipboard!
https://www.whonix.org/wiki/YouTube#Introduction
Click below ↴ = Copy to Clipboard
Click = Copy
Copied to clipboard!
[[YouTube#Introduction|Introduction]]
Copy as Wikitext
Click = Copy
Copied to clipboard!
[Introduction](https://www.whonix.org/wiki/YouTube#Introduction)
for Discourse, reddit, GitHub
Click = Copy
Copied to clipboard!
[Introduction](https://www.whonix.org/wiki/YouTube#Introduction)
Copy as Markdown
Click = Copy
Copied to clipboard!
[url=https://www.whonix.org/wiki/YouTube#Introduction]Introduction[/url]
Copy as phpBB
Click below ↴ = Open social URL with share data
We don't use embedded scripts
This share button is completely self-hosted by this webserver. No scripts from any of the social networks are embedded on this webserver. See also
Social Share Button.
To watch YouTube videos anonymously, users have three options:
- Watching videos directly in Tor Browser via the YouTube or Invidious websites.
- Downloading videos -- for example via the yt-dlp command line downloader, Invidious or YouTube video download sites -- and then watching them in VLC Media Player (pre-installed).
- Using the YouTube URL to watch videos directly in MPV or VLC Media Player via the network streaming option.
Tor Browser[edit]
Copy or share this direct link!
Click = Copy
Copied to clipboard!
https://www.whonix.org/wiki/YouTube#Tor_Browser
Click below ↴ = Copy to Clipboard
Click = Copy
Copied to clipboard!
[[YouTube#Tor_Browser|Tor Browser]]
Copy as Wikitext
Click = Copy
Copied to clipboard!
[Tor Browser](https://www.whonix.org/wiki/YouTube#Tor_Browser)
for Discourse, reddit, GitHub
Click = Copy
Copied to clipboard!
[Tor Browser](https://www.whonix.org/wiki/YouTube#Tor_Browser)
Copy as Markdown
Click = Copy
Copied to clipboard!
[url=https://www.whonix.org/wiki/YouTube#Tor_Browser]Tor Browser[/url]
Copy as phpBB
Click below ↴ = Open social URL with share data
We don't use embedded scripts
This share button is completely self-hosted by this webserver. No scripts from any of the social networks are embedded on this webserver. See also
Social Share Button.
YouTube Website[edit]
Copy or share this direct link!
Click = Copy
Copied to clipboard!
https://www.whonix.org/wiki/YouTube#YouTube_Website
Click below ↴ = Copy to Clipboard
Click = Copy
Copied to clipboard!
[[YouTube#YouTube_Website|YouTube Website]]
Copy as Wikitext
Click = Copy
Copied to clipboard!
[YouTube Website](https://www.whonix.org/wiki/YouTube#YouTube_Website)
for Discourse, reddit, GitHub
Click = Copy
Copied to clipboard!
[YouTube Website](https://www.whonix.org/wiki/YouTube#YouTube_Website)
Copy as Markdown
Click = Copy
Copied to clipboard!
[url=https://www.whonix.org/wiki/YouTube#YouTube_Website]YouTube Website[/url]
Copy as phpBB
Click below ↴ = Open social URL with share data
We don't use embedded scripts
This share button is completely self-hosted by this webserver. No scripts from any of the social networks are embedded on this webserver. See also
Social Share Button.
To watch videos directly on the YouTube website, use Tor Browser.
Figure: YouTube in Whonix Tor Browser
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. To stream videos:
Set the Tor Browser security slider to the "Safer" setting
→click the "script blocked" icon
→temporarily allow JavaScript for youtube.com
[1]
Video playback is usually dysfunctional if the security slider is set to the "Safest" level. Higher security settings might work at a later time, so readers are encouraged to edit this page if the situation changes. In late 2021 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).
Invidious[edit]
Copy or share this direct link!
Click = Copy
Copied to clipboard!
https://www.whonix.org/wiki/YouTube#Invidious
Click below ↴ = Copy to Clipboard
Click = Copy
Copied to clipboard!
[[YouTube#Invidious|Invidious]]
Copy as Wikitext
Click = Copy
Copied to clipboard!
[Invidious](https://www.whonix.org/wiki/YouTube#Invidious)
for Discourse, reddit, GitHub
Click = Copy
Copied to clipboard!
[Invidious](https://www.whonix.org/wiki/YouTube#Invidious)
Copy as Markdown
Click = Copy
Copied to clipboard!
[url=https://www.whonix.org/wiki/YouTube#Invidious]Invidious[/url]
Copy as phpBB
Click below ↴ = Open social URL with share data
We don't use embedded scripts
This share button is completely self-hosted by this webserver. No scripts from any of the social networks are embedded on this webserver. See also
Social Share Button.
It is strongly recommended to utilize Invidious (project homepage) as an alternative front-end to YouTube. It is recommended to also check the register of public clearnet Invidious instances and Invidious onion services.
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
Media Player Streaming[edit]
Copy or share this direct link!
Click = Copy
Copied to clipboard!
https://www.whonix.org/wiki/YouTube#Media_Player_Streaming
Click below ↴ = Copy to Clipboard
Click = Copy
Copied to clipboard!
[[YouTube#Media_Player_Streaming|Media Player Streaming]]
Copy as Wikitext
Click = Copy
Copied to clipboard!
[Media Player Streaming](https://www.whonix.org/wiki/YouTube#Media_Player_Streaming)
for Discourse, reddit, GitHub
Click = Copy
Copied to clipboard!
[Media Player Streaming](https://www.whonix.org/wiki/YouTube#Media_Player_Streaming)
Copy as Markdown
Click = Copy
Copied to clipboard!
[url=https://www.whonix.org/wiki/YouTube#Media_Player_Streaming]Media Player Streaming[/url]
Copy as phpBB
Click below ↴ = Open social URL with share data
We don't use embedded scripts
This share button is completely self-hosted by this webserver. No scripts from any of the social networks are embedded on this webserver. See also
Social Share Button.
MPV[edit]
Copy or share this direct link!
Click = Copy
Copied to clipboard!
https://www.whonix.org/wiki/YouTube#MPV
Click below ↴ = Copy to Clipboard
Click = Copy
Copied to clipboard!
[[YouTube#MPV|MPV]]
Copy as Wikitext
Click = Copy
Copied to clipboard!
[MPV](https://www.whonix.org/wiki/YouTube#MPV)
for Discourse, reddit, GitHub
Click = Copy
Copied to clipboard!
[MPV](https://www.whonix.org/wiki/YouTube#MPV)
Copy as Markdown
Click = Copy
Copied to clipboard!
[url=https://www.whonix.org/wiki/YouTube#MPV]MPV[/url]
Copy as phpBB
Click below ↴ = Open social URL with share data
We don't use embedded scripts
This share button is completely self-hosted by this webserver. No scripts from any of the social networks are embedded on this webserver. See also
Social Share Button.
Installation[edit]
Copy or share this direct link!
Click = Copy
Copied to clipboard!
https://www.whonix.org/wiki/YouTube#Installation
Click below ↴ = Copy to Clipboard
Click = Copy
Copied to clipboard!
[[YouTube#Installation|Installation]]
Copy as Wikitext
Click = Copy
Copied to clipboard!
[Installation](https://www.whonix.org/wiki/YouTube#Installation)
for Discourse, reddit, GitHub
Click = Copy
Copied to clipboard!
[Installation](https://www.whonix.org/wiki/YouTube#Installation)
Copy as Markdown
Click = Copy
Copied to clipboard!
[url=https://www.whonix.org/wiki/YouTube#Installation]Installation[/url]
Copy as phpBB
Click below ↴ = Open social URL with share data
We don't use embedded scripts
This share button is completely self-hosted by this webserver. No scripts from any of the social networks are embedded on this webserver. See also
Social Share Button.
The MPV video player can be installed to stream videos from Youtube or Invidious without enabling JavaScript.
Install package(s) mpv
following these instructions
1 Platform specific notice.
- Non-Qubes-Whonix: No special notice.
- Qubes-Whonix: In Template.
2 Update the package lists and upgrade the system .
Click = Copy Copied to clipboard! sudo apt update && sudo apt full-upgrade
3 Install the mpv
package(s).
Using apt
command line
--no-install-recommends
option
is in most cases optional.
Click = Copy Copied to clipboard! sudo apt install --no-install-recommends mpv
4 Platform specific notice.
- Non-Qubes-Whonix: No special notice.
- Qubes-Whonix: Shut down Template and restart App Qubes based on it as per Qubes Template Modification .
5 Done.
The procedure of installing package(s) mpv
is complete.
Usage[edit]
Copy or share this direct link!
Click = Copy
Copied to clipboard!
https://www.whonix.org/wiki/YouTube#Usage
Click below ↴ = Copy to Clipboard
Click = Copy
Copied to clipboard!
[[YouTube#Usage|Usage]]
Copy as Wikitext
Click = Copy
Copied to clipboard!
[Usage](https://www.whonix.org/wiki/YouTube#Usage)
for Discourse, reddit, GitHub
Click = Copy
Copied to clipboard!
[Usage](https://www.whonix.org/wiki/YouTube#Usage)
Copy as Markdown
Click = Copy
Copied to clipboard!
[url=https://www.whonix.org/wiki/YouTube#Usage]Usage[/url]
Copy as phpBB
Click below ↴ = Open social URL with share data
We don't use embedded scripts
This share button is completely self-hosted by this webserver. No scripts from any of the social networks are embedded on this webserver. See also
Social Share Button.
After locating the relevant video, copy the URL and run.
Click = Copy Copied to clipboard! mpv your URL
VLC Media Player[edit]
Copy or share this direct link!
Click = Copy
Copied to clipboard!
https://www.whonix.org/wiki/YouTube#VLC_Media_Player
Click below ↴ = Copy to Clipboard
Click = Copy
Copied to clipboard!
[[YouTube#VLC_Media_Player|VLC Media Player]]
Copy as Wikitext
Click = Copy
Copied to clipboard!
[VLC Media Player](https://www.whonix.org/wiki/YouTube#VLC_Media_Player)
for Discourse, reddit, GitHub
Click = Copy
Copied to clipboard!
[VLC Media Player](https://www.whonix.org/wiki/YouTube#VLC_Media_Player)
Copy as Markdown
Click = Copy
Copied to clipboard!
[url=https://www.whonix.org/wiki/YouTube#VLC_Media_Player]VLC Media Player[/url]
Copy as phpBB
Click below ↴ = Open social URL with share data
We don't use embedded scripts
This share button is completely self-hosted by this webserver. No scripts from any of the social networks are embedded on this webserver. See also
Social Share Button.
A simpler option is to use a media player, VLC Media Player which comes pre-installed in Whonix:
- Locate and copy the relevant video URL.
- Launch VLC Media Player.
Media
→Open Network Stream...
→Paste the URL
→Play
Figure: YouTube Streaming in VLC Media Player
Troubleshooting[edit]
Copy or share this direct link!
Click = Copy
Copied to clipboard!
https://www.whonix.org/wiki/YouTube#Troubleshooting
Click below ↴ = Copy to Clipboard
Click = Copy
Copied to clipboard!
[[YouTube#Troubleshooting|Troubleshooting]]
Copy as Wikitext
Click = Copy
Copied to clipboard!
[Troubleshooting](https://www.whonix.org/wiki/YouTube#Troubleshooting)
for Discourse, reddit, GitHub
Click = Copy
Copied to clipboard!
[Troubleshooting](https://www.whonix.org/wiki/YouTube#Troubleshooting)
Copy as Markdown
Click = Copy
Copied to clipboard!
[url=https://www.whonix.org/wiki/YouTube#Troubleshooting]Troubleshooting[/url]
Copy as phpBB
Click below ↴ = Open social URL with share data
We don't use embedded scripts
This share button is completely self-hosted by this webserver. No scripts from any of the social networks are embedded on this webserver. See also
Social Share Button.
General Issues[edit]
Copy or share this direct link!
Click = Copy
Copied to clipboard!
https://www.whonix.org/wiki/YouTube#General_Issues
Click below ↴ = Copy to Clipboard
Click = Copy
Copied to clipboard!
[[YouTube#General_Issues|General Issues]]
Copy as Wikitext
Click = Copy
Copied to clipboard!
[General Issues](https://www.whonix.org/wiki/YouTube#General_Issues)
for Discourse, reddit, GitHub
Click = Copy
Copied to clipboard!
[General Issues](https://www.whonix.org/wiki/YouTube#General_Issues)
Copy as Markdown
Click = Copy
Copied to clipboard!
[url=https://www.whonix.org/wiki/YouTube#General_Issues]General Issues[/url]
Copy as phpBB
Click below ↴ = Open social URL with share data
We don't use embedded scripts
This share button is completely self-hosted by this webserver. No scripts from any of the social networks are embedded on this webserver. See also
Social Share Button.
- "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.
- Try a VM other than Whonix such as Debian
bookworm
. - 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 Self Support First Policy.
VirtualBox[edit]
Copy or share this direct link!
Click = Copy
Copied to clipboard!
https://www.whonix.org/wiki/YouTube#VirtualBox
Click below ↴ = Copy to Clipboard
Click = Copy
Copied to clipboard!
[[YouTube#VirtualBox|VirtualBox]]
Copy as Wikitext
Click = Copy
Copied to clipboard!
[VirtualBox](https://www.whonix.org/wiki/YouTube#VirtualBox)
for Discourse, reddit, GitHub
Click = Copy
Copied to clipboard!
[VirtualBox](https://www.whonix.org/wiki/YouTube#VirtualBox)
Copy as Markdown
Click = Copy
Copied to clipboard!
[url=https://www.whonix.org/wiki/YouTube#VirtualBox]VirtualBox[/url]
Copy as phpBB
Click below ↴ = Open social URL with share data
We don't use embedded scripts
This share button is completely self-hosted by this webserver. No scripts from any of the social networks are embedded on this webserver. See also
Social Share Button.
VirtualBox users should note that video performance might be slow. For a possible solution, see: VirtualBox, Troubleshooting: Slow Video Playback .
KVM[edit]
Copy or share this direct link!
Click = Copy
Copied to clipboard!
https://www.whonix.org/wiki/YouTube#KVM
Click below ↴ = Copy to Clipboard
Click = Copy
Copied to clipboard!
[[YouTube#KVM|KVM]]
Copy as Wikitext
Click = Copy
Copied to clipboard!
[KVM](https://www.whonix.org/wiki/YouTube#KVM)
for Discourse, reddit, GitHub
Click = Copy
Copied to clipboard!
[KVM](https://www.whonix.org/wiki/YouTube#KVM)
Copy as Markdown
Click = Copy
Copied to clipboard!
[url=https://www.whonix.org/wiki/YouTube#KVM]KVM[/url]
Copy as phpBB
Click below ↴ = Open social URL with share data
We don't use embedded scripts
This share button is completely self-hosted by this webserver. No scripts from any of the social networks are embedded on this webserver. See also
Social Share Button.
See KVM, Troubleshooting: Videos.
See Also[edit]
Copy or share this direct link!
Click = Copy
Copied to clipboard!
https://www.whonix.org/wiki/YouTube#See_Also
Click below ↴ = Copy to Clipboard
Click = Copy
Copied to clipboard!
[[YouTube#See_Also|See Also]]
Copy as Wikitext
Click = Copy
Copied to clipboard!
[See Also](https://www.whonix.org/wiki/YouTube#See_Also)
for Discourse, reddit, GitHub
Click = Copy
Copied to clipboard!
[See Also](https://www.whonix.org/wiki/YouTube#See_Also)
Copy as Markdown
Click = Copy
Copied to clipboard!
[url=https://www.whonix.org/wiki/YouTube#See_Also]See Also[/url]
Copy as phpBB
Click below ↴ = Open social URL with share data
We don't use embedded scripts
This share button is completely self-hosted by this webserver. No scripts from any of the social networks are embedded on this webserver. See also
Social Share Button.
Footnotes[edit]
Copy or share this direct link!
Click = Copy
Copied to clipboard!
https://www.whonix.org/wiki/YouTube#Footnotes
Click below ↴ = Copy to Clipboard
Click = Copy
Copied to clipboard!
[[YouTube#Footnotes|Footnotes]]
Copy as Wikitext
Click = Copy
Copied to clipboard!
[Footnotes](https://www.whonix.org/wiki/YouTube#Footnotes)
for Discourse, reddit, GitHub
Click = Copy
Copied to clipboard!
[Footnotes](https://www.whonix.org/wiki/YouTube#Footnotes)
Copy as Markdown
Click = Copy
Copied to clipboard!
[url=https://www.whonix.org/wiki/YouTube#Footnotes]Footnotes[/url]
Copy as phpBB
Click below ↴ = Open social URL with share data
We don't use embedded scripts
This share button is completely self-hosted by this webserver. No scripts from any of the social networks are embedded on this webserver. See also
Social Share Button.
Copy as Wikitext Click = Copy Copied to clipboard! [Watching YouTube Videos in Whonix](https://www.whonix.org/wiki/YouTube)
for Discourse, reddit, GitHub Click = Copy Copied to clipboard! [Watching YouTube Videos in Whonix](https://www.whonix.org/wiki/YouTube)
Copy as Markdown Click = Copy Copied to clipboard! [url=https://www.whonix.org/wiki/YouTube]Watching YouTube Videos in Whonix[/url]
Copy as phpBB Click below ↴ = Open social URL with share data We don't use embedded scripts This share button is completely self-hosted by this webserver. No scripts from any of the social networks are embedded on this webserver. See also Social Share Button.
We believe security software like Whonix needs to remain open source and independent. Would you help sustain and grow the project? Learn more about our 12 year success story and maybe DONATE!