video Issue: Media Player logo displays

This forum is meant for discussing how to create pictures, sounds, and videos. You can also post technical questions about how to use a particular program (Poser, Lightwave, etc.).

Moderators: time-killer-games, Vengeance66, Candle, reneuend, GM-Support

video Issue: Media Player logo displays

Postby reneuend » Thu Oct 15, 2009 12:34 am

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
  Else
    MediaPlayerObject(1).PlayCount = 1
  End If
  MediaPlayerObject(1).Visible = True
  MediaPlayerObject(1).Play
End Sub
---


Image
Image
User avatar
reneuend
Administrator
 
Posts: 2686
Joined: Sat Nov 22, 2008 8:37 pm
Location: Midwest Cornfield, USA

Postby Candle » Thu Oct 15, 2009 7:09 am

Are you talking about the Divx logo?
Please don't PM me questions, ask here in the forums!
``````````````
Between grand theft and a legal fee, there only stands a law degree.
User avatar
Candle
Administrator
 
Posts: 3050
Joined: Sat Feb 07, 2004 2:21 am
Location: Rudy's Bar

Postby reneuend » Thu Oct 15, 2009 12:48 pm

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.
---


Image
Image
User avatar
reneuend
Administrator
 
Posts: 2686
Joined: Sat Nov 22, 2008 8:37 pm
Location: Midwest Cornfield, USA


Return to How to make pictures, sounds, and videos

Who is online

Users browsing this forum: No registered users and 1 guest

cron