PlayVideo(n) and clear the space of video

Find quick help here to get you started with Hollywood
Post Reply
User avatar
Juan Carlos
Posts: 932
Joined: Mon Sep 06, 2010 1:02 pm

PlayVideo(n) and clear the space of video

Post by Juan Carlos »

I'm working in a game with video but I found a problem with the PlayVideo(n) is impossible clear the game window and the the PlayVideo continues with the last frame from the video, I try to use the cls command display a blank brush, but as the video is played over the window of Hollywood no embebed, how I can clean the own video window?
User avatar
airsoftsoftwair
Posts: 5834
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: PlayVideo(n) and clear the space of video

Post by airsoftsoftwair »

Just call StopVideo() to remove the video overlay from the display.
User avatar
Juan Carlos
Posts: 932
Joined: Mon Sep 06, 2010 1:02 pm

Re: PlayVideo(n) and clear the space of video

Post by Juan Carlos »

Andreas wrote:Just call StopVideo() to remove the video overlay from the display.
uffs, Andreas I didn't think in that it, use the StopVideo, when the movie finish.
User avatar
Juan Carlos
Posts: 932
Joined: Mon Sep 06, 2010 1:02 pm

Re: PlayVideo(n) and clear the space of video

Post by Juan Carlos »

Andreas wrote:Just call StopVideo() to remove the video overlay from the display.
Well, I test it and yes with StopVideo(1) removed the video overlay but neither played it, in theory with this easy routine:
PlayVideo(1)
playing = IsVideoPlaying(1)
If playing = False Then StopVideo(1)
When the video left to plays the StopVideo(1) will remove the overlay but no it continues, and the problem is that is to show miniclips in a game that have to be showed and when they finish continue play the game or return to menus, but no when the overlay continues.
User avatar
airsoftsoftwair
Posts: 5834
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: PlayVideo(n) and clear the space of video

Post by airsoftsoftwair »

Sorry, I don't understand what is the problem here.
User avatar
Juan Carlos
Posts: 932
Joined: Mon Sep 06, 2010 1:02 pm

Re: PlayVideo(n) and clear the space of video

Post by Juan Carlos »

Andreas wrote:Sorry, I don't understand what is the problem here.
Very easy, the Video is played but no removed the overlay.
Post Reply