Skip to content

How to Fix Cannot Play YouTube Videos on VLC Media Player?

Cannot Play YouTube Videos on VLC Media Player. Here is the Detailed Guide to Fix YouTube Videos Not Playing on VLC.
How to Fix YouTube Videos Not Playing on VLC

Unable to play YouTube videos on the VLC Media player? I have compiled some troubleshooting tips to help you fix the problem. VLC media player is a popular free application to watch videos of different supported file types such as AVI, MP4, MKV, etc. It also supports streaming YouTube videos through its native Open Network Stream feature.

The LUA files on VLC associated with playing YouTube videos may have become corrupt or are missing. It will result in VLC being unable to play YouTube videos. Also, you may be using a version of VLC with serious bug issues that require a fix through version update.

Tips to Fix VLC Media Player Cannot Play YouTube Videos

Implement these fixes to debug any issues with VLC and stream videos from YouTube on it.

1. Update VLC Media Player

Install the latest update available for VLC Media Player.

  1. Open VLC media Player.
    launch the VLC media player
  2. If a new update is available, it will flash on the screen and prompt you to download it.
    download VLC media player update
  3. Install the update by following the instructions on the screen.
    install VLC media player update
  4. Relaunch the VLC Media player.
  5. Press Ctrl + N to launch the Open Network Stream.
  6. Enter the YouTube video URL and click on Play.
    VLC Open Network stream

If the bug on VLC Media Player has been fixed after installing the update, it should play YouTube videos without any issues.

2. Force Close VLC

Try to force close the VLC Media Player and restart it. It helps fix random errors on the app.

  1. Open Task Manager by pressing Ctrl + Shift + Esc
  2. Within the Apps tab, right-click on VLC and select End Task.
    close VLC media player
  3. Wait for a few seconds, and launch VLC using Windows search.
    launch the VLC media player
  4. Press the Ctrl + N shortcut to launch the Open Network Stream dialog box.
  5. Copy and paste a YouTube URL into VLC’s Open Network Stream panel.
    VLC Open Network stream
  6. Click the Play button, and check if the YouTube video is playing on the VLC Media Player.

3. Replace the LUAC File

Replace the corrupt YouTube.luac file with the latest version of the file that is available.

  1. Download the latest youtube.lua file from here.
  2. Press Windows + E to launch File Explorer.
  3. In the address bar, follow this address (on a 64-bit machine)
    C:\Program Files\VideoLAN\VLC\lua\playlist
  4. Alternatively, if you use a 32-bit PC, enter this address
    C:\Program Files (x86)\VideoLAN\VLC\lua\playlist
  5. Locate the existing youtube.luac file and delete it.
    delete Youtube luac file
  6. Then go to the Downloads folder and copy the new youtube.luac file you downloaded in the first step.
    copy new youtube lua file
  7. Paste it in the same directory as Step 3 or Step 4 depending on the machine you have.
  8. Open VLC Media Player.
    launch the VLC media player
  9. Press Ctrl + N to access Open Network Stream.
  10. Copy a YouTube video URL from YouTube and paste it into the URL.
    VLC Open Network stream
  11. Click Play and the YouTube video will start streaming on VLC Media Player.
    play YouTube videos on VLC

4. Rename the LUA File

There is another troubleshooting tip related to the LUA file. Rename the existing youtube.lua to youtube.luac. For most users, this trick has helped play YouTube videos on VLC.

  1. Press Windows + E to launch File Explorer.
  2. In the address bar, follow this address (on a 64-bit machine)
    C:\Program Files\VideoLAN\VLC\lua\playlist
  3. Alternatively, if you use a 32-bit PC, enter this address
    C:\Program Files (x86)\VideoLAN\VLC\lua\playlist
  4. Right-click on the file youtube.lua
    rename Youtube lua file
  5. Click on Rename and set the new name as YouTube.luac

Once you are finished renaming the file, launch VLC and play the YouTube video on it. It should play without any errors.

5. Check the Internet Connection

A stable internet connectivity is needed to play YouTube videos on VLC smoothly. Contact your ISP to fix the network issues if you have been facing frequent network disconnections.

You may connect your PC to another stable WiFi network. Also, run network speed tests to ensure the network is responsive enough to play videos from YouTube without stuttering.

6. Restart the PC

As per the reports of several users, restarting the PC has solved several errors on the VLC Media Player. You can try this fix out when other troubleshooting tips are not working.

  1. Press the Windows key to bring up the search window.
  2. Click the Power icon, and from the sub-menu, click on Restart.
    restart Windows PC
  3. After the PC reboots, open VLC Media Player.
  4. Using Open Network Stream, try playing a YouTube video on VLC.

Enjoy Streaming YouTube Videos on VLC Media Player

Using these tips and tricks, you can fix the issue with the VLC Media player’s inability to stream YouTube videos. For a change, you may like to play your favorite YouTube videos on a platform different than the native interface. I hope you found this guide informative.

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *