Controlling VLC via c#

后端 未结 2 982
暗喜
暗喜 2020-12-09 23:26

I am writing an application that will open vlc, add a file to its playlist, and play it. I am having a few issues on the last 2.

 AXVLC.VLCPlugin alxplugin1          


        
2条回答
  •  一向
    一向 (楼主)
    2020-12-09 23:51

    The newer version of VLC needs "file:///" in beginning of the file name. It should work if you add this. Please try the following and see if it solves your problem. use: alxplugin1.addTarget("file:///" + "C:\\test.avi", null, AXVLC.VLCPlaylistMode.VLCPlayL­istReplaceAndGo,0);

提交回复
热议问题