Page 1 of 1

PlayVideo(n) and clear the space of video

Posted: Sat Jun 22, 2013 1:50 pm
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?

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

Posted: Tue Jun 25, 2013 3:29 pm
by airsoftsoftwair
Just call StopVideo() to remove the video overlay from the display.

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

Posted: Tue Jun 25, 2013 6:58 pm
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.

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

Posted: Tue Jun 25, 2013 9:55 pm
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.

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

Posted: Wed Jun 26, 2013 6:39 pm
by airsoftsoftwair
Sorry, I don't understand what is the problem here.

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

Posted: Thu Jun 27, 2013 7:11 pm
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.