9 Solutions to Resolve YouTube Videos Not Playing in VLC

Yash Sinha
Yash Sinha | Updated On - November 28, 2022 |

Read time: 11 minutes

VLC is a free, open-source media player developed by the VideoLAN project that can be installed into Windows, Linux, and macOS operating systems. It is a fully feature-loaded video toolkit that is not only limited to playing your local video files but is also designed to stream YouTube videos directly from the link. This media player supports many audio and video formats, including DVD files. In reality, the VLC built-in plugins are used internally to stream YouTube videos. To play videos on VLC, you can also drag and drop the video from the browser to the VLC Media Player. You can download this media player from various digital distribution platforms like Google Play, App Store, and Microsoft Store.

Many users have complained that they are not able to stream YouTube videos on VLC Media Player and get a short error message, i.e., “VLC is unable to open the YouTube link. Check the log for details,” while trying to perform the same. There might be many reasons behind the specific issue; we need to determine the actual cause before taking appropriate actions to resolve it.

Best solutions to fix this issue

Here, we have listed amost all the causes of the specific issue with their solutions. You can refer to it if you are facing the same issue on your system:

Solution 1: Update VLC to its latest version

The VLC not playing issue may appear on your system if you are using older versions of VLC Media Player. You can resolve it by updating your VLC to its latest versions. It is the primary solution that doesn’t require extensive efforts to resolve the issue. Once you have updated your VLC Media Player, check whether the issue has been resolved after relaunching the application.

Solution 2: Disable Cookies Forwarding Setting

Before practicing this solution, you must safeguard your files and keep their backup as it leads to a security breach. Also, ensure that you use the trusted network to prevent loss. If you want to use this method, you need to follow the below steps:

  1. First, open VLC Media Player and click on the Tools option from the top menu.click on the Tools
  2. Next, choose the Preferences option.choose the Preferences
  3. A new window will now appear on the screen. You need to change the Show Settings option from Simple to All (available at the bottom left corner of the window).change the Show Settings
  4. Double-click on the Access modules option in the Input/ Codecs.click on the Access modules
  5. After that, click on the HTTPS and untick the Cookies forwarding.click on the HTTPS
  6. Finally, click the Save button to save the changes.
  7. At last, check whether the issue has been resolved or not.

Solution 3: Disable Hardware-accelerated Decoding

You might know that VLC Media Player includes a Hardware Acceleration feature to enhance the encoding and decoding process of certain video types. But some users also find some compatibility issues while enabling this feature. It might be the reason behind the specific issue faced in the VLC media player. Therefore, disabling the hardware-accelerated decoding may be a good solution for this. To do this, you must try the following steps:

  1. First, click on the Tools option from the top menu and select the Preferences option. You can directly open the VLC preference window using the shortcut Ctrl + P.
  2. After that, click on the Input/ Codecs tab from the top menu.click on the Input/ Codecs
  3. Now, disable the Hardware-Accelerated Decoding by changing its settings from Automatic to Disable. You can see this option under the Codecs section of the VLC Preference window.changing its settings from Automatic to Disable
  4. Once you have done these steps, click the Save button to save the changes.click the Save

At last, check whether the issue has been resolved after relaunching your VLC media player.

Solution 4: Replace the existing Youtube.lua file

In this solution, you must replace your existing youtube.lua file with the new one. For this, you need to follow the below steps:

  1. First, download youtube.lua file from the official VLC download link.
  2. Open Windows Explorer by pressing Windows + E keys together.
  3. Next, copy-paste the below address in the website address bar:
  4. For 64-bit operating system: C:\Program Files (x86)\VideoLAN\VLC\lua\playlist
    For 32-bit operating system: C:\Program Files\VideoLAN\VLC\lua\playlist
  5. After that, locate your existing .luac file and delete it.locate your existing .luac file
  6. Now, copy your newly downloaded youtube.lua file from the Download folder of your operating system.
  7. Paste the specific file in the location listed in step 3.
  8. Open the Open Media window by pressing Ctrl + N after reopening the VLC media player.
  9. That’s it. To see if the issue is resolved, enter the YouTube streaming video URL, and hit the play button after relaunching your VLC media player.

Solution 5: Rename Existing YouTube.lua File

This solution is somewhat similar to the previous one; the only difference is that Youtube.lua file will not be replaced in this solution. Here, the .lua file will be renamed to the .luac file. As it doesn’t replace the existing .lua file, downloading a new .lua file is not required in this solution. To make this solution clear for you, we have listed the steps the that are as follows:

  1. Open Windows Explorer by pressing Windows + E keys together.
  2. Copy-paste the below address in the website address bar:
  3. For 64-bit operating system: C:\Program Files (x86)\VideoLAN\VLC\lua\playlist
    For 32-bit operating system: C:\Program Files\VideoLAN\VLC\lua\playlist
  4. Now, rename youtube.lua file with youtube.luac.
  5. That’s it. If you want to check whether the issue has been resolved, enter the YouTube streaming video URL, and hit the play button after relaunching your VLC Media Player.

Solution 6: Increase File Caching and Network Caching Values

VLC Media Player caches a small amount of content on the system for continuing the playback even after interruptions on the connection. But, if VLC Media Player fails to perform the same and fails in playing online videos or playing in freezing or lagging conditions, this solution seems a great option. In such cases, you need to increase the file caching and network caching values in VLC to resolve the specific issue. If you want to perform this solution, you need to follow the below steps:

  1. First, open VLC Media Player and click on the Tools option from the top menu.
  2. Next, choose the Preferences option.
  3. After that, a preference window will appear on the VLC. Click on the Input/ Codecs tab from the top menu.
  4. Change the Show Settings option from Simple to All, available at the bottom left corner of the window.
  5. Now, click on Input/ Codecs listed on the left panel of the window.
  6. After that, scroll down on the right panel of the window and change the Network caching value to 1500 and the File caching value to 2000. You can find these options under the Advanced section of the Input/ Codecs window.Input/ Codecs window
  7. Click Save to save the changes. That’s it.Click save

Solution 7: Give up YouTube AV1 Streaming in VLC

AV1 is an open-source video coding format mainly used for video transmission over the internet. It is a strong competitor of HEVC and was developed as a successor to VP9 by Alliance for Open Media (AOMedia). You must know that most YouTube videos are encoded by AV1. The VLC Media Player also supports 12-bits decoding of AV1 since version 3.0.6. You might face issues in VLC while playing AV1 video with av01 subcodec. Hence, converting the AV1 (av01) video to other formats (like MP4, MKV, MOV) is a great option for resolving the specific issue. For this, you need an advanced video converter tool that must be proficient in video conversion and offers prominent user features.

You can try Kernel Video Converter to perform the same tasks as it supports a wide range of video formats like MP4, MPEG, M4V, MOV, WMV, 3GP, and many more. This tool enables users to convert unlimited video files simultaneously. By using it, you can also convert videos into audio formats. In addition, it offers better performance & accuracy and is supported on all Windows platforms.

Solution 8: Reset the VLC preferences

The preferences files in VLC Media Player are mainly responsible for storing all its important settings. It might be possible that this file has been corrupted due to any reason. It results in the abnormal behavior of the VLC media player. Hence, you must bring it back to its original state by resetting the VLC preferences. To perform this, follow the below steps:

  1. Open Preference Window by using the shortcut Ctrl + P.
  2. Click on the Reset Preferences option at the bottom of the window.Reset Preferences
  3. Confirm your selection and then click on the OK button.click on the OK button
  4. At last, restart your VLC media player and check whether the issue has been resolved.

Solution 9: Choose DirectX (Direct Draw) as the default Video Output Mode

By default, VLC Media Player uses the OpenGL video output for windows for the video output mode. But it might be possible that this output mode failed to play certain types of videos. Hence, you can set the output mode to DirectX to resolve the problem. To do so, you need to follow the below steps:

  1. Open the Preference window by using the shortcut Ctrl + P.
  2. Click on the Video from the top menu.Click on the Video from the top menu
  3. From the drop-down menu of the Output option, you must select DirectX Video Output Mode.DirectX Video Output Mode
  4. At last, click on the Save button to apply the changes.click on the Save

Wrapping Up

VLC is a popular media players used by millions of users, but sometimes, it doesn’t work perfectly for YouTube videos. There might be various reasons behind this issue; we need to determine the actual cause and then use various solutions to resolve it. Here, we have defined the possible solutions that you must try while facing the same issue. It will definitely help you to remove the issues associated with playing YouTube streaming videos on VLC Media Player. And if you are facing VLC Media Player issues with offline video files, you can try Kernel Video Repair to fix the video corruption issues.

Kernel Video Repair