VlcPlayerBase player = new VlcPlayerBase();
player.SetRenderWindow((int)panel1.Handle);//panel
///
/// VLC 播放器。
///
///
public VlcPlayerBase()
{
string pluginPath = Environment.CurrentDirectory + "\plugins\"; //插件目录
string plugin_arg = "--plugin-path=" + pluginPath;
string[] arguments = { "-I", "dummy", "--ignore-config", "--no-video-title", plugin_arg };
libvlc_instance_ = LibVlcAPI.libvlc_new(arguments);
libvlc_media_player_ = LibVlcAPI.libvlc_media_player_new(libvlc_instance_); //创建 libvlc_media_player 播放核心
}
有没有大佬教一下啊!