Movie Player ActiveX Control

VOBSelectStream

 

Select specific index of a stream.  (For MPEG2, VOB plugin only)

Public Function VOBSelectStream(
  ByVal iStreamIndex As Integer
 ) as Bool

 

Parameter
iStreamIndex
the index of selected stream.

Return Value
Return true if successful, otherwise return false.


Example

   

Visual Basic Syntax
MoviePlayer1.FileName = "c:\test.vob"
List1.Clear

For i = 0 To MoviePlayer1.VOBGetStreamCount - 1
    List1.AddItem MoviePlayer1.VOBGetStreamName(i)
Next

If List1.ListCount > 0 Then
    List1.ListIndex = 0
End If
MoviePlayer1.VOBSelectStream 2
MoviePlayer1.Play