by Merk » Mon Jun 20, 2005 2:57 pm
Sorry everybody -- I'm not really trying to take over the Hugo discussion. It just seems like I'm the only person asking questions right now. :)
Regarding video, I mentioned before that I solved the problem of having the video freeze on the last frame by showing a frame identical to the last frame, as a JPG. This was Kent's suggestion, and it worked great. Originally, though, I thought it might only work if not playing video in "background" mode -- because otherwise I wouldn't have any idea when the video ends, in order to show my still image afterwards. It turns out, though, that the video appears in front. So as long as I show the video and the image in the same window { } block, it works like a charm. When the video ends, the image remains "under" it. It's pretty slick.
So, my first question is this. Does that hold true on all platforms that support video? Will the media player appear in front, or are there platforms where it's actually embedded in the screen? I'm hoping that this trick will work, but I'm worried about other platforms.
Second thing -- because I'm playing video in the background, it continues to play at inappropriate times until it ends. I solved this by making a tiny 1x1 pixel AVI with one frame, basically an "blank" AVI. I play this, and it effectively kills whatever background video was previously playing. So.... again, does this hold true on other platforms, besides just Windows? Will starting a new AVI always end the one playing before?
Thanks,
---- Mike.
Sorry everybody -- I'm [i]not[/i] really trying to take over the Hugo discussion. It just seems like I'm the only person asking questions right now. :)
Regarding video, I mentioned before that I solved the problem of having the video freeze on the last frame by showing a frame identical to the last frame, as a JPG. This was Kent's suggestion, and it worked great. Originally, though, I thought it might only work if not playing video in "background" mode -- because otherwise I wouldn't have any idea when the video ends, in order to show my still image afterwards. It turns out, though, that the video appears in front. So as long as I show the video and the image in the same window { } block, it works like a charm. When the video ends, the image remains "under" it. It's pretty slick.
So, my first question is this. Does that hold true on all platforms that support video? Will the media player appear in front, or are there platforms where it's actually embedded in the screen? I'm hoping that this trick will work, but I'm worried about other platforms.
Second thing -- because I'm playing video in the background, it continues to play at inappropriate times until it ends. I solved this by making a tiny 1x1 pixel AVI with one frame, basically an "blank" AVI. I play this, and it effectively kills whatever background video was previously playing. So.... again, does [i]this[/i] hold true on other platforms, besides just Windows? Will starting a new AVI always end the one playing before?
Thanks,
---- Mike.