View Full Version : please Help!! with video object
how to make a video object in the AMS appear like still picture which moves when i press play . i don't want the video to appear like a black aquare in the screen which turn to be a video when i press play button . i mean i want the first frame of the video to appear as a still picture to make it easy for user to know the content of the video object . all i want is to make Ams capture my video first image .
and i want to stop the video in the end of it at still picture of last frame .
please help me to do that.
longedge
08-05-2009, 02:41 AM
just one option -
Screenshoot the frame you want to appear and save it as an image.
Set your video invisible with the image in an object where the video is on the page.
To play the video, set it visible and then start it playing (by making the video visible it will automatically show 'above' the image).
Another option -
Edit your video so there are no blank frames and set it to play automatically. In the page on show put a video pause command in.
Centauri Soldier
08-05-2009, 02:42 AM
Set the position of the movie to 1. Use the Video.SetPos action.
You may have to play and then pause the movie right away to get it show up.
longedge
08-05-2009, 04:39 AM
You may have to play and then pause the movie right away to get it show up.
The video overlay doesn't show until it is playing. There's no option but to play it first if you use this method. This is why you get a black frame even if the video doesn't fade in.
I always use my first suggestion because you get to choose the still frame that you want to use. You could also use a flash object in the same way.
Another option would be to use another video file initially, a small loop or even single frame and then load and play the main video when triggered by an appropriate event.
just one option -
Screenshoot the frame you want to appear and save it as an image.
Set your video invisible with the image in an object where the video is on the page.
To play the video, set it visible and then start it playing (by making the video visible it will automatically show 'above' the image).
Another option -
Edit your video so there are no blank frames and set it to play automatically. In the page on show put a video pause command in.
thank u for your help . your idea to create a screen shot of the frame and then make it invisible is a great idea and it works properly .
Centauri Soldier
08-05-2009, 02:43 PM
The video overlay doesn't show until it is playing. There's no option but to play it first if you use this method. This is why you get a black frame even if the video doesn't fade in.
I always use my first suggestion because you get to choose the still frame that you want to use. You could also use a flash object in the same way.
Another option would be to use another video file initially, a small loop or even single frame and then load and play the main video when triggered by an appropriate event.
That is why I said you have to play the video to play for 1 second and then pause it. I've done this before. I built a movie player that, when loaded with a video, it would display the first frame and I did it with the play and pause method. There is no need to make a screenshot.
First, you set the video player's volume to 0 ,then force play and then pause and finally set the volume back to what it was originally....it's very simple. :D
Powered by vBulletin™ Version 4.0.6 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.