Movie Player ActiveX Control

DecoderAdd2BlackList 

 

Add specific decoder to black list. It enables the developer to reject specific filters only. You must set UseDecoderFilter property = true and set DecoderFilterType =2 if you use this method. Keep in mind that if you use this method for reject some decoders, It may not playback the video correctly.

Public Function DecoderAdd2BlackList( _
  ByVal strDecoderName As String
) 

 

Parameter
strDecoderName
Specifies the name of decoder or filter.

NoReturn Value

No return value


Example

   

Visual Basic Syntax
MoviePlayer1.UseDecoderFilter = True
MoviePlayer1.DecoderFilterType = 2
MoviePlayer1.DecoderAdd2BlackList "MPEG Audio Decoder"
MoviePlayer1.FileName="yourfile.mpg"
MoviePlayer1.Play