Click to See Complete Forum and Search --> : Please Help me with flash


dwight.99
04-07-2009, 02:20 AM
Hi, please help me. How can I put on first frame of video some image? I have this code:

<object height="375" width="600" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">
<param value="/swf/video/FLVPlayer_Progressive.swf" name="movie"/>
<param value="lt" name="salign"/>
<param value="high" name="quality"/>
<param name="wmode" value="transparent" />
<param value="noscale" name="scale"/>
<param value="playerMode=embedded&amp;skinName=/swf/video/Halo_Skin_2&amp;streamName=/swf/video/ternteamspirit" name="FlashVars"/>
<!--[if !IE]> <-->
<object height="375" width="600" type="application/x-shockwave-flash" data="/swf/video/FLVPlayer_Progressive.swf">
<param value="high" name="quality"/>
<param value="http://www.macromedia.com/go/getflashplayer" name="pluginurl"/>
<param value="lt" name="salign"/>
<param name="wmode" value="transparent" />
<param value="noscale" name="scale"/>
<param value="playerMode=embedded&amp;skinName=/swf/video/Halo_Skin_2&amp;streamName=/swf/video/ternteamspirit" name="FlashVars"/>
</object>
<!-- <![endif]-->
</object>

Thanks for answers

Eye for Video
04-07-2009, 12:54 PM
Getting an image as the first frame can be done a few different ways. Best way, use a real video editing program from Adobe or Pinnacle to place an image in the first frame of the video. This image could be any type of photo or even a frame from the video which was exported as a bitmap and then placed in the first frame in the timeline of the video. If your video is for the Web, never fade in from black. Then render video as .flv. Image will appear in first frame.
Second way, if you have a pre-made video that you cannot add a frame to, use a program like Flash 8 Video Encoder to trim off unwanted frames at beginning of movie (like a fade in from black). Trim to a point where the desired image would appear as first frame. If you have this software, check out the instructions for “crop and trim”.
A third way to make it look like you have an image in the first frame is to get into the .fla file which was used to create your .swf video player. In a layer underneath the video screen, place an image the exact same size as the video screen. This could be an intro photo, or instructions on how to play, or a welcome greeting. Then when the Web page loads and no video is playing, the greeting photo or message will show until the play button is pushed.
As for making videos for the Web, I recommend always placing an image in the first frame of the video before rendering so that while the video is loading into the buffer, the first frame will display and let viewers know that the video is working. If the video uses a fade in from black, viewers are often confused, they click the play button and it seems as though nothing is happening. Actually the first frame is displayed (but it’s black) and then several seconds later the rest of the black finally fades away. So skip the fade in, place an image in the very first frame.
Here is an example of a player with a Welcome message built into the player underneath the video screen. When video starts, message is covered up. Click on a video and you’ll see the videos start with a complete image in the first frame, no fade in. Notice that that first frame is displaying as the video file buffers, letting you know the that your selected video is being downloaded.
http://www.cidigitalmedia.com/video.html
Best wishes,
Eye for Video
www.cidigitalmedia.com

dwight.99
04-08-2009, 04:30 AM
Thanks lot. It´s good idea, but I wat know HTML parram settings with the aid of I can put IMG, like png jpg..., on this first frame of my video.

infinityspiral
04-10-2009, 11:53 AM
There isn't a param for this specifically. You can however define an image path inside the flash vars and then call that variable into a loader inside flash. That's the closest way to using a param value available.