Excel VBA embeding and STARTTIME property
Posted: 24 Jul 2018 15:31
Hello i have a code what works, if i manually insert VLC player activeX object and rename it to VLCPlugin21.
CAn you please advise how i can call this object and rename it with different name while keeping all playbakc methods functional.
As well may be somebodey can advise how to set up STARTTIME for VLC to play (i need videofile to be played from specififc timecode)
CAn you please advise how i can call this object and rename it with different name while keeping all playbakc methods functional.
As well may be somebodey can advise how to set up STARTTIME for VLC to play (i need videofile to be played from specififc timecode)
Code: Select all
Private Sub CommandButton1_Click()
''' Need a code to insert VLCplayerwindow
VLCPlugin21.playlist.Add ("file:///c:/Users/savelser/Desktop/1.wmv")
VLCPlugin21.Visible = True
''' If you are familiar with VLCplugin properties can you please advise how to run video file starting from 30th second
VLCPlugin21.StartTime = 30
VLCPlugin21.playlist.Play
End Sub