|
Playing media clips in VB.NET
Create a form and remove its borders and maximize it. Add the Media Player ActiveX Control. Arrange its layout. Hide any interface on the control and disable autostart. Open the media clip. Add keyboard handling (this is rather complicated with ActiveX controls). Show the form modally and start playing the media clip. After the media clip finishes, close the form.
To hide controls in a Media Player ActiveX Control, you can use :
MyMediaPlayerInstance.UiMode = "none"
|