Dotaz2potreboval bych z VBA ovladat VLC prehravac. Mohu ho zapnout a ukoncit pres prikaz.radek, ale potreboval bych vedet, kdy VLC zacal prehravat video abych s nim synchronizoval dalsi akce. A ted mi nabiha +-2 sekundy, coz je moc.
Tenhle kod se zkompiluje bez chyb, ale nic nedela - netusim proc...
Public Myvlc As AXVLC.VLCPlugin
Public Myvlc2 As AXVLC.VLCPlugin2
Public Function VLCPlay(sMediaDemo As String)
Set VLCax = Nothing
Set VLCax = New AXVLC.VLCPlugin
VLCax.addTarget sMediaDemo1, vbnone, 2, 0
VLCax.Play
End Function
|