VideoLAN VLC ActiveX Plugin v1 使用方法
安裝軟件後, 係 Vistual Studio Toolbox 上 增加工具 (Choose Item) -> 選擇 COM Components ->
再選擇 (VideoLAN VLC ActiveX Plugin v1) 及 (VideoLAN VLC ActiveX Plugin v2) -> 完成加入 Control 係 Tools Box 上 -> 再將 (VideoLAN VLC ActiveX Plugin v1) 既 Control 拖入 Form 上 -> 完成
form1.cs |
//選擇檔案 this.axVLCPlugin1.addTarget("C:\\1.mts", null, AXVLC.VLCPlaylistMode.VLCPlayListAppendAndGo, 0); //PLAY 檔案 this.axVLCPlugin1.play(); //STOP 檔案 this.axVLCPlugin1.stop(); //PAUSE 檔案 this.axVLCPlugin1.pause(); //加快 PLAY 檔案 this.axVLCPlugin1.playFaster(); //減慢 PLAY 檔案 this.axVLCPlugin1.playSlower(); |