Posts tagged: user guide

Installing a flash animation to my web

Embedding Flash Video into a Web Page

In this exercise, you insert an FLV file with a controller into a supplied web page in several easy steps.

You have two options when you insert and display an FLV file in your HTML documents using the Flash Video component:

  • Progressive Download Video: If you choose this video type, the video is downloaded to the user’s hard drive, but starts playing the video before it finishes downloading. The video is downloaded from beginning to end, unless the user closes the connection before the download is complete. The user must have Flash Player 6 r65 (or greater) installed to see videos encoded with Sorensen Spark (included with Flash MX Professional 2004 and its standalone encoder). The user must have Flash Player 8 installed to see videos encoded with the On2 codec. For more information on which versions of Flash Player work with the different video codecs, search “on2 VP6 video codec”(with quotes) in Macromedia Flash 8 Help (F1).

Note: The FLV video included with the article source files uses the Sorenson Spark codec, and can be viewed with Flash Player 6 r65 or greater.

  • Streaming Video: If you choose this option, the video starts playing after a short buffer period, when a small amount of data downloads to the computer to ensure smooth playback. You must have Macromedia Flash Media Server available if you select this option. The user must have Flash Player 6 (or greater) installed to see your video, assuming it uses the Sorenson Spark codec.

Depending on which video type you select in the pop-up menu the following steps will vary slightly. For this tutorial you use the Progressive Download Video option to display your video files.

  1. Launch Dreamweaver 8. Choose File > Open from the main menu and select the video01.html file within the chickens folder.

  2. In either Design view or Split view, position your cursor within the editable content region and delete any existing text, such as “[insert video here] .”

  3. Select Insert > Media > Flash Video from the main menu to launch the Flash Video Component.

  4. Select Progressive Download Video from the Select video type pop-up menu, and the appearance of the Flash Video dialog box changes to show the following options for this format:

    • URL: Specifies the URL of the FLV file to embed in your HTML document.

    • Skin: Specifies the URL of the skin to load.

    • Width: Specifies the width of FLV display.

    • Height: Specifies the height of FLV display.

    • Constrain: Maintains the aspect ration of the video if the width or height text boxes change the corresponding value.

    • Detect Size: Detects the dimensions of the FLV file and automatically populates the Width and Height text boxes.

    • Auto play: Specifies whether you play the video when the web page opens.

    • Auto rewind: Specifies whether the playback control returns to the starting position after the video finishes playing.

    • Prompt users to download Flash Player if necessary: When selected, this option embeds the required JavaScript code to detect users’ Flash Player version and prompts them to download a newer version, if necessary. If this option is not selected, the Message text box is disabled.

    • Message: A message displays if a user’s current Flash Player version isn’t high enough to view the Flash content.

Figure 3. Specify your options in the Flash Video dialog box.

  1. Click the Browse button next to the URL text box. Navigate to the farmsite directory on your hard drive, select chicken01.flv from the videos folder, and click OK.

  2. Select a skin from the Skin pop-up menu. For this exercise, select Clear Skin 3. The area below the Skin pop-up menu shows you a small preview of the specified skin’s controller. Click the Detect Size button so Dreamweaver calculates the width and height of the current FLV file automatically, and then populates the text boxes with the correct dimensions of the video.

Figure 4. This video controller uses the Clear Skin 3 skin.

  1. Select the Auto play check box if you want the video to play automatically after the page loads. You need to ensure the Auto rewind check box is enabled if you want the video to return to the first frame after it completes.

  2. Click OK to apply your settings, and Dreamweaver generates and inserts code that you need to embed the selected video into this web page. Embedding an FLV file and a player adds 8 lines of HTML code (provided that the Prompt users to download Flash Player if necessary check box was not selected), which configures the Flash Video component based on your selections.

Based on the settings that you chose for this exercise, Dreamweaver inserts the following code into your document:

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" 
  codebase="http://download.macromedia.com/pub/shockwave/
  cabs/flash/swflash.cab#version=7,0,0,0" width="320" 
  height="240" id="FLVPlayer"> 
  <param name="movie" value="FLVPlayer_Progressive.swf" />
   <param name="salign" value="lt" />
   <param name="quality" value="high" />
   <param name="scale" value="noscale" />
   <param name="FlashVars" 
    value="&MM_ComponentVersion=1&skinName=Clear_Skin_3&streamName
    =../videos/chicken01&autoPlay=false&autoRewind=false" />
   <embed src="FLVPlayer_Progressive.swf" 
   flashvars="&MM_ComponentVersion=1&skinName=Clear_Skin_3&streamName
   =../videos/chicken01&autoPlay=false&autoRewind=false" 
   quality="high" scale="noscale" width="320" height="240" 
   name="FLVPlayer" salign="LT" type="application/x-shockwave-flash" 
   pluginspage="http://www.macromedia.com/go/getflashplayer" />
 </object> 

The parameters you specify in the wizard are inserted into the previous HTML snippet, and pass information to Flash using FlashVars. The skin Clear_Skin_3 is copied to the same folder as the current HTML file, although it omits the file extension (.swf) in the HTML code. The second parameter, streamName, points to the FLV file you defined in the URL text box. It is a relative path and again omits the FLV file extension (.flv).

The next two parameters are Boolean (true/false) values, which are based on your selections in the wizard. If you want to modify the skin or path to the FLV file, then you can modify these values directly using Code view in Dreamweaver. You might need to edit the width and height parameters manually in both the param and embed tags. These values represent the width and height of the FLV document; however, if you use certain default or custom skins, then you might need to modify these values if your skin contains a border and is larger than the dimensions of the FLV file.

You will also notice that the values are repeated twice. Due to cross-browser issues, you need to define the FlashVars values in both a param tag as well as the embed tag so that the code works with Internet Explorer– and Netscape-based browsers

Note: The actual SWF file that you need to drive the Flash Video component is a mere 10–12K, depending on whether you select the progressive download or streaming option. Using one of the default skins adds approximately another 4–11K, depending on the skin that you choose.

 

 

 

 

 

5. How to I install a QuickTime file into my web site?

 

QuickTime media files are viewable in the majority of modern web browsers.

To use an Anistock QuickTime animation file on your website you simple have

to install the following code into the HTML source code of the page you wish

the Anistock animation file to be viewed on. Then make sure you have the

correct file names and paths inserted in the code, and check the page in your

favorite browser.

 

Step 1: Open your web page in a text editor, or web editor of choice.


Step 2:
In your HTML code find the location where you want the clip to be displayed in the page, and paste the following code into your HTML source

 

<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" height="256" width="320">
<param name="src" value="
yourmovie.mov">
<param name="autoplay" value="
true">
<param name="controller" value="
true">
<embed height="
256" width="320" src="yourmovie.mov" pluginspage="http://www.apple.com/quicktime/download/" type="video/quicktime" controller="true" autoplay="true">
</object>

Step 3: Change yourmovie.mov to the full path/URL of your QuickTime movie.

This will look something like http://www.yousite.com/mymovie.mov

If you place your .mov file into a sub directory such as /images/ the above URL

will look something like http://www.yousite.com/images/mymovie.mov


Step 4: Set the controller attribute.
QuickTime includes a graphical controller for users to play, stop and pause movies. The default value in our sample code is to have the controller showing. If you would prefer to hide the controller, please set the controller attribute to false (marked in blue). Note: the controller attribute is set twice in the above code. Ensure you update the attribute in both instances.


Step 5:
Set the autoplay attribute.
Autoplay is a feature that allows you to instruct QuickTime to automatically start playing the movie as soon as enough information has downloaded to the users computer. In our default code above Autoplay is set to true. Sometimes there are instances where you might want to have autoplay set to false (when you are giving a web presentation for example). The autoplay attribute is marked in orange in the source code above. Note: the autoplay attribute is set twice in the above code. Ensure you update the attribute in both instances.


Step 6: Change the height and width of the embed tag to match the height and width of your Anistock movie.

Step 7: Test your web page.
It’s always a good idea to test your web page before publishing it. Save your web page, then open it in a web browser to make sure it’s working correctly.

How can I use Anistock video backgrounds and video loops

Hi,

We at Anistock often get asked for ideas or suggestion from our customers, so we thought we’d share some insight with you. Flash format including flash animations is most popular format. Flash is superb for web usage, like like YouTube use the flash/flv format to display videos, so you too can avail of this channel with any Anistock video background, video loop or animation

Our next popular format is the QuickTime NTSC broadcast format, mainly in the video backgrounds and video loops categories.  So below is 2 categories from each to choose, we will give you insight into the other categories over the next few weeks,

After Effects video backgrounds, mainly used in video ad, video production and multimedia web production: Samples Click here: http://www.anistock.com/after-effects-cp1.html  

Video Backgrounds, Video Loops, mainly used in video production and to enhance any video or web video production: Samples Click here: http://www.anistock.com/background-cp1.html

anistock user guide

1. What is an Anistock animation clip?

Anistock animation clips are Royalty Free video backgrounds plus 2d-3d stock flash animation video clips created and produced by Anistock. The video clips have been produced for use in web sites, blogs, PowerPoint presentations, multimedia projects, mobile projects, and broadcast as well as cost effective ready to use adverts.

2. How can I use an Anistock animation clip?

Anistock clips can be integrated into your projects and used anywhere that Macromedia Flash and QuickTime can be used, both on-line and off. Use them on website, in web pages, flash banners and web advertisements, great for inexpensive rich media to enhance presentations or blogs. Anistock clips can also be used for mobile, broadcast, video, CD-ROMs and communication projects.

3. What is the best file format to use?

Anistock offers all its animations in different file types to suit your project needs.

All animation clips are provided in Flash, Mobile and Apple QuickTime format.

  1. Flash (480×360) plus Jpeg

  2. Mobile (176×144) [75-100k]

  3. Web quality– mov (480×360)

  4. Broadcast NTSC — mov (720×486)

  5. Broadcast PAL — mov (720×576)

  6. High Definition — mov (1920×1080) [On request]

Flash.

Anistock provide flash animation clips in the FLV format, which is viewable using Adobe Flash Player. FLV, or Flash Live Video file, is a preferred file format that is designed for web playback, offering high rates of compression to deliver video over the Internet

Since Flash Player is already installed on over 96% of Internet-connected desktops worldwide, as well as millions of mobile devices, your FLV content is instantly viewable without additional plug-ins.

Unlike other video formats, viewing FLV files doesn’t require large player downloads, lengthy registration forms, or invasive up-sells to premium versions of the video player. With FLV, your content simply loads and plays.

So for web sites, blogs, or on line adverts, then a FLV version will be best suited to your needs.


Mobile

Anistock provides clips for cell and mobile usage in 176×144 file size @ 25fps as a .3pg file extension.

What is 3GP?
3GP – is the mobile phone video file format (playable on most/many mobile phones now available)

3GPP, 3GPP2 are the worldwide standard for the creation, delivery and playback of multimedia over 3rd generation, high-speed wireless networks. Defined by the 3rd Generation Partnership Project and 3rd Generation Partnership Project 2 respectively, these standards seek to provide uniform delivery of rich multimedia over newly evolved, broadband mobile networks (3rd generation networks) to the latest multimedia-enabled wireless devices. Tailored to the unique requirements of mobile devices, 3GPP and 3GPP2 take advantage of MPEG-4, the standard for delivery of video and audio over the Internet.


QuickTime
For projects that require editing of the video, combining the video with other elements such as text, music or graphics, or when you need a higher quality version from which to generate other formats like Adobe Flash, then QuickTime is for you. QuickTime is a file type that has broad acceptance across computing platforms. We offer all our QuickTime files in the following sizes

Web Quality – 480×360

Broadcast NTSC – 720X486

Broadcast PAL – 720X576

High Definition – 1920x 1080

The files are large, but retain the highest quality visual information. In the case of Web quality clips, the files are compressed with the Photo JPEG codec. For files larger than Web quality, the QuickTime files will utilize Photo JPEG or Motion JPEG, compression codecs