If you want to try something different and play videos from YouTube using VLC Media Player then there is a built-in support in the application itself that allows you to do so. You can use the Media > Open Network Stream feature and enter the video URL to play it. You just enter a YouTube address like https://www.youtube.com/watch?v=VfndS5SKUs4 and it will stream and play the video for you. It also supports many other video sharing websites.
Here are the steps to play YouTube Videos in VLC Media Player:
- Click on Media > Open Network Stream… [CTRL + N]
- Enter the direct YouTube URL to the video.
- Hit Play.
The video will begin to stream and play immediately. You can even choose the quality of the media and also use all the controls and features of VLC Media Player like speeding it up or slowing it down. It is a great way to watch YouTube videos in high speed like 1.2x so that you save some time. The YouTube website and app doesn’t have this feature.
To choose the quality of the video that is fetched:
- Go to Tools > Preferences.
- Switch to All settings.
- Click on Input/Codecs.
- Choose an option next to Preferred video resolution.
- Press Save.
The available options are Best available, Full HD (1080p), HD (720p), Standard Definition (576 or 480 lines), Low Definition (360 lines) and Very Low Definition (240 lines). You can find the video resolution and other media information by hitting CTRL + J or from Tools > Media information.
Additional Options
There are a few options that you can set before streaming and you can also choose what happens after the video streams. To access the streaming options check the show more options checkbox. You will find these options:
- Caching: Change how much of the video is cached and loaded before playing begins. The default value is 1000 ms (1 second). You can change it to a higher number if the player stops at multiple intervals but you might have to wait in the beginning.
- Start Time: Choose a point in the video from where it begins playing. It is useful to avoid the unnecessary parts.
- Play another media synchronously (extra audio file, …)
Extra Media: Activate the checkbox and you can add another audio or video file to play along with the YouTube video. It is an interesting feature useful for mashups.
Besides the Play button, you can also see a small down-facing arrow. It reveals additional things you can do with the media.
- Enqueue: Add it to your playlist.
- Stream: Stream it to a file. It contains advanced streaming features which are not for everyone.
- Convert: Convert video formats using VLC.
VLC For Android
In the app version of this wonderful software, you will find the stream option in the hamburger menu (three lines on the top-left). Tap on it and hit Stream. Paste the address to your YouTube video in the Enter network address input box and give it a few moments to load up the video instantly in your app.
View Comments (47)
It doesn't work! Same error every time to open the stream.
HTTP 429 Error probably due to IP address being blacklisted as a public one... but Browser does NOT have this problem. So watch out for useragent filtering by Youtube.
VLC didnt play it for years now, since 3.0.xxxwhatever.xx. Long years old YT video about how to fix that, didnt work. Mine older 3.0 version show it cant open the stream (check for log, log empty). Update it to recent 3.0.18 - and now it just erase playlist back to empty instead of play. Not even load thumb preview image.
Android version keep crashing the whole player trying to play YT. Again, same issue - for years, on differ Android and device versions.
Such old YT solution videos have links to some custom lua files supposed to be in test versions and then in release. It was long ago, few versions of VLC-release roll out. Never really fixed. Whata that? What the wrong with VLC?
(Win10, Win7 and differ Android)
Hi. It's just working fine on VLC for Linux. Is there a way to play youtube on VLC for Android?
linux is great
yes there is if you go on the more section on the bottom right and then click 'new stream' then enter the youtube link and it should work.
I do not think so.
It only shows a fixed image of the initial youtube video.
Mac mini m1
Why doesn't it play the video, it doesn't give correct playback time either. It only shows the title and as play time 00:00
Hi everyone, I currently have the same issue, I'm not able to basically stream as I wish, I don't know if any answer is here. I thank you for any update,
I have everything updated (April 2021)
How about watching livestream while it's happening?
Don't work anymore in android, please check
wow, thank i really needed this
Based on the previous answer I found a solution that works as of now on the latest VLC x64 3.0.11.
You need the latest version of thr “youtube” script from here:
https://raw.githubusercontent.com/videolan/vlc/master/share/lua/playlist/youtube.lua
and the latest patched versoion on the original script
https://gist.github.com/seraku24/db42e0e418b2252f2136d2d7f1656be5
The details view in the playlist brakes though.
How does one install the scripts?