To play YouTube through VLC you need
1. Install:
3. Add new SSL certs to VLC
4. Patch old VLC for support YouTube
5. Play video
1. Install:
- VLC 2.0.1 (In folder Applications -> "/Applications/VLC.app")
- MacPorts
Code:
sudo port install curl-ca-bundle
3. Add new SSL certs to VLC
Code:
mkdir -p ~/Library/Preferences/org.videolan.vlc/ssl/certs
Code:
ln -s /opt/local/share/curl/curl-ca-bundle.crt ~/Library/Preferences/org.videolan.vlc/ssl/certs/ca-certificates.crt
4. Patch old VLC for support YouTube
Code:
rm -f /Applications/VLC.app/Contents/MacOS/share/lua/playlist/youtube.luac
Code:
curl --insecure https://raw.githubusercontent.com/videolan/vlc/master/share/lua/playlist/youtube.lua -o /Applications/VLC.app/Contents/MacOS/share/lua/playlist/youtube.lua
5. Play video
- Copy link of video
- Open VLC
- In VLC open: File -> Open Network
- Past URL and press Open
-