Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Join Date
    Jul 2009
    Posts
    137

    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.
    Last edited by mimo; 08-05-2009 at 01:20 AM.

  2. #2
    Join Date
    Aug 2003
    Posts
    2,427
    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.
    Last edited by longedge; 08-05-2009 at 01:55 AM.

  3. #3
    Join Date
    Jun 2007
    Location
    Delphi II
    Posts
    1,534
    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.
    Action Plugins
    AllOn | Box | Class | Code | Cursor | DXML | Error | Frames | GlobalPaths | Group | INIPlus |KeyBind | KeyLock | MathEx | Menu | Name | Project | Resize | StatusBar
    Download

  4. #4
    Join Date
    Aug 2003
    Posts
    2,427
    Quote Originally Posted by Centauri Soldier View Post
    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.

  5. #5
    Join Date
    Jul 2009
    Posts
    137

    thank u for your help

    Quote Originally Posted by longedge View Post
    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 .

  6. #6
    Join Date
    Jun 2007
    Location
    Delphi II
    Posts
    1,534
    Quote Originally Posted by longedge View Post
    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.
    Last edited by Centauri Soldier; 08-05-2009 at 01:47 PM.
    Action Plugins
    AllOn | Box | Class | Code | Cursor | DXML | Error | Frames | GlobalPaths | Group | INIPlus |KeyBind | KeyLock | MathEx | Menu | Name | Project | Resize | StatusBar
    Download

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts