ActiveX Plugin v1 and v2 not working

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
DannyD
New Cone
New Cone
Posts: 4
Joined: 05 Mar 2012 12:08

ActiveX Plugin v1 and v2 not working

Postby DannyD » 05 Mar 2012 12:26

Hi, I'm trying to add the ActiveX plugin to my win Forms application for c#. I have VLC Player 2.0.0 installed and have added the plugin onto my Form.
My Code for a button push to play a video is:

V1

Code: Select all

private void button2_Click(object sender, EventArgs e) { axVLCPlugin1.addTarget("C:\\apple.avi", null, AXVLC.VLCPlaylistMode.VLCPlayListReplaceAndGo, 0); axVLCPlugin1.play(); }
V2

Code: Select all

private void button3_Click(object sender, EventArgs e) { axVLCPlugin21.playlist.add(@"c:\apple.avi", "apple"," " ); axVLCPlugin21.playlist.play(); }
Both plugins remain the same, a black screen with the VLC logo in the middle. I am obviously missing something but cannot find out what?

chris2000
Blank Cone
Blank Cone
Posts: 16
Joined: 14 Feb 2012 15:31

Re: ActiveX Plugin v1 and v2 not working

Postby chris2000 » 05 Mar 2012 12:59

newer versions of VLC needs "file:///" in beginning ("file:///C:\apple.avi")

DannyD
New Cone
New Cone
Posts: 4
Joined: 05 Mar 2012 12:08

Re: ActiveX Plugin v1 and v2 not working

Postby DannyD » 05 Mar 2012 13:12

chirs2000!!!!!

You are a legend! Thx :D both plugins work perfect now.

Funny how I missed that. I've looked on the net the last few hours and haven't read anywhere about the "file:///"
Can you maybe direct me to a good site/document that I can familirize myself better with this plugin?

Thaks again for your help

tnetrider
New Cone
New Cone
Posts: 1
Joined: 15 Mar 2012 23:49

Re: ActiveX Plugin v1 and v2 not working

Postby tnetrider » 15 Mar 2012 23:53

Hi, I just started using Visual C# and thanks to this thread, was able to successfully embed the ActiveX V1 and V2 plugin to a WPF app... However, I would like to capture the events generated by the VLC plugin. How would I go about doing that? Thanks in advance.

gokuhs
New Cone
New Cone
Posts: 1
Joined: 28 May 2012 11:16

Re: ActiveX Plugin v1 and v2 not working

Postby gokuhs » 28 May 2012 11:18

Hi! I had the same problem!! Thanks!!

itataki
New Cone
New Cone
Posts: 1
Joined: 25 Jun 2012 13:08

Re: ActiveX Plugin v1 and v2 not working

Postby itataki » 25 Jun 2012 13:24

Hi. Thanks. It's working now. I want to add: We have in germanspeaking regions letters like ä ö ü. They are not working in this command's filepath. (But you got [space] working).

ozi48
New Cone
New Cone
Posts: 1
Joined: 06 May 2015 16:55

Re: ActiveX Plugin v1 and v2 not working

Postby ozi48 » 06 May 2015 16:59

Hi,i started video but how can i create mp4 file and save video which has rtsp ?


My code:

Code: Select all

string[] options = { ":sout=#transcode{vcodec=mp4v,vb=1024,scale=1}:duplicate{dst=std{access=file,mux=mov,url=D:\\test.mp4}}" }; axVLCPlugin1.addTarget("rtsp://*****/profile2/media.smp", options, AXVLC.VLCPlaylistMode.VLCPlayListAppendAndGo, 0); axVLCPlugin1.play();

I tried axVLCPlugin21 and axVLCPlugin1 but they did not work.
Help me =)


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 6 guests