环境:windows/android/ios
-
windows端保存以下内容为reg文件并运行
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOTvlc]
"URL Protocol"="C:\Program Files (x86)\VideoLAN\VLC\vlc.exe"
@="FileVersionProtocol"
[HKEY_CLASSES_ROOTvlcDefaultIcon]
@="C:\Program Files (x86)\VideoLAN\VLC\vlc.exe,1"
[HKEY_CLASSES_ROOTvlcshell]
[HKEY_CLASSES_ROOTvlcshellopen]
[HKEY_CLASSES_ROOTvlcshellopencommand]
@=""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" "%1""
注:目录地址是vlc的安装地址
-
在浏览器中输入以下内容 即可调出vlc播放器
vlc://
-
如果指定播放网络流视频,输入以下内容 即可播放test.ts视频文件
vlc://http://172.xxx.xxx.xxx/test.ts