Page 1 of 1

video Issue: Media Player logo displays

PostPosted: Thu Oct 15, 2009 12:34 am
by reneuend
I'm using the subroutine, PlayVideo, to play some of the videos in a game I'm working on, the problem is that Windows Media Player logo shows up after the video plays. How do I suppress it?

Code: Select all
PlayVideo "myvideo.avi", 0,0,640,480,False

Code: Select all
Sub PlayVideo(FileName, Left, Top, Width, Height, Repeat)
  Action.LoadControl MediaPlayerObject(1)
  MediaPlayerObject(1).Move Left*ScreenObject.TwipsPerPixelX, Top*ScreenObject.TwipsPerPixelX, Width*ScreenObject.TwipsPerPixelY, Height*ScreenObject.TwipsPerPixelY
  MediaPlayerObject(1).FileName = FileName
  If Repeat = True Then
    MediaPlayerObject(1).PlayCount = 0
    MediaPlayerObject(1).PlayCount = 1
  End If
  MediaPlayerObject(1).Visible = True
End Sub

PostPosted: Thu Oct 15, 2009 7:09 am
by Candle
Are you talking about the Divx logo?

PostPosted: Thu Oct 15, 2009 12:48 pm
by reneuend
The logo has the Windows Media Player text on it. I guess I should take a screen shot of it and place it here. I'll do that when I get home from work tonight.