I tried vlc 2.0.7-win32 on XP (Virtual Machine) => works fine in IE8 : I tried the official test.htmlHello Funman
I installed vlc-2.0.7-win32.exe on Win XP/7/8 x86 and Win 7 x64.
. ActiveX won't work on Win XP/7/8 x86
. ActiveX work on Win 7 x64
I can't install VLC x64 on x86 platform
But I run VLC x86 on Windows x64
I have tried this already, but I still can't use the plugin inside IE (still using the official test.html).I have found that x64 activex isn't really broken. It is only not registered.
This command in Command Prompt (as Administrator) fixes this manually:
regsvr32 "C:\Program Files\VideoLAN\VLC\axvlc.dll"
Have you tried to play anything? This does not work, IE will report "'playlist' is null", "'video is null'", etc.https://www.youtube.com/watch?v=utJs8qP ... e=youtu.be
2.0.7 on a freshly installed Windows 7 SP1 x86 VM -> works fine
I have tried it using the official test.html, and it works for me with Win7x64.I have tried this already, but I still can't use the plugin inside IE (still using the official test.html).I have found that x64 activex isn't really broken. It is only not registered.
This command in Command Prompt (as Administrator) fixes this manually:
regsvr32 "C:\Program Files\VideoLAN\VLC\axvlc.dll"
You're right, it doesn't work.. And it's hard to debug as VLC 2.1 outputs debug that can be read with DbgView but not 2.0.Have you tried to play anything? This does not work, IE will report "'playlist' is null", "'video is null'", etc.https://www.youtube.com/watch?v=utJs8qP ... e=youtu.be
2.0.7 on a freshly installed Windows 7 SP1 x86 VM -> works fine
I am semi-sure I tried the correct version, but I will do more tests with 2.1 so I can watch the debug logI have tried it using the official test.html, and it works for me with Win7x64.I have tried this already, but I still can't use the plugin inside IE (still using the official test.html).I have found that x64 activex isn't really broken. It is only not registered.
This command in Command Prompt (as Administrator) fixes this manually:
regsvr32 "C:\Program Files\VideoLAN\VLC\axvlc.dll"
You really use the x64 version of IE in Win x64?
The Activex-Plugin in the newest x64-nightly-build (http://nightlies.videolan.org/build/win ... 0620-0404/) is broken for me. When the installer starts regsvr32.exe to register axvlc.dll, regsvr32 crashes with the following message: "Microsoft(c) Register Server has stopped working". When I try to register the file manually, it crashes, too.Next 2.1.0 Nightly builds should now register the axvlc.dll properly at install, no need to run regsvr32 manually.
Also works in MS VS 2008, whereas 2.0.7 did not. However, I wanted to get VLC ActiveX working in VB6. I know this has been broken since 1.0.6, but I thought I'd try using a reference to it & load it at run time instead of design time:new note : VLC 2.1.0 ActiveX (win32) works like a charm in IE8 (Windows XP)
Actually you need to separate the fields to understand how it works:Also thanks to RSATom for pointing out the 3rd backslash in "file:///"; that one threw me for a while as I thought only 2 were needed (like "http://").
NEW VB6 TESTED SUGGESTION, NOV 2013...new note : VLC 2.1.0 ActiveX (win32) works like a charm in IE8 (Windows XP)Also works in MS VS 2008, whereas 2.0.7 did not. However, I wanted to get VLC ActiveX working in VB6. I know this has been broken since 1.0.6, but I thought I'd try using a reference to it & load it at run time instead of design time:
Code: Select all
Dim ax2 As New AXVLC.VLCPlugin2 'In Form header. To load this, goto proj references,
'..and load [C:\Program Files\VideoLAN\VLC\axvlc.dll] (or similar) using browse button.
'This will load itself as "VideoLAN VLC ActiveX plugin"
Sub whatever()
Debug.Print "ax_vlc.object.playing", ax2.VersionInfo
ax2.Visible = True 'nb:
'..if a video is playing, a window is created/displayed. Warning! No playable video, no window!
ax2.Toolbar = True
ax2.playlist.Add "file:///" & "C:\SANY0422.MP4" 'my eg (Nb "file:///" is crucial)
ax2.playlist.play 'starts
Debug.Print "buffering while not .isPlaying", ax2.playlist.isPlaying
For n1 = 1 To 20 '2s check to see if found and playing
WaitSecs 0.1 'care (ensure no timers interrupt)
If ax2.playlist.isPlaying Then
GoTo i___________ExitFor
Else
Debug.Print "buffering while not .isPlaying"
End If
Next
If ax2.video.Width = 0 Then Spot.Msg "FAILED TO LOAD VIDEO", , , vbRed: qPlaySound: GoTo ExitSub
i___________ExitFor: 'ok
Debug.Print "ax_vlc PLAYING", ax2.video.Width, ax2.video.Height
ax2.input.TIME = 0 'sets start position
ax2.input.Rate = 1 'set playback speed (1 is normal)
For n1 = 1 To 2000 'max vid secs /2
WaitSecs 0.5 ' /2
If ax2.playlist.isPlaying Then
Debug.Print "ax_vlc_isPlaying", ax2.input.TIME
Else '.isPlaying = False
Exit For
End If
Next
Debug.Print "ax_vlc playing complete.", ax2.VersionInfo
End Sub
Sub WaitSecs(Secs!) 'sample wait proc (tested)
Dim tim#
Static zGloballyAccessibleTmr#
zGloballyAccessibleTmr = Timer
tim = zGloballyAccessibleTmr + Secs
Debug.Assert Das((tim - zGloballyAccessibleTmr) > Secs + 1)
zGloballyAccessibleTmr = Timer
Do While tim > zGloballyAccessibleTmr
zGloballyAccessibleTmr = Timer
If (tim - zGloballyAccessibleTmr) > Secs + 1 Then If InDesign Then Debug.Assert 0 Else Exit Do
DoEvents
Loop
End Sub
Users browsing this forum: No registered users and 1 guest