Most website builders nowadays should be able to help you insert flash animations to your web pages easily. Let’s take Adobe Dreamweaver for example which is probably one of the most popular website builders around the world. If you want to play Flash videos on websites, we recommend you to convert Flash videos to HTML5 format for maximized compatibilities on all modern web browers, mobile devices such as tablets and smart phones.
To insert Flash into your web page using Dreamweaver, you can firstly open your web page with Dreamweaver, then click Insert from the top menu bar, choose Media, then SWF, browse through your computer’s folders to find the flash animation. Check out this guide for detailed instructions to add Flash to Dreamweaver. A website builder may also help you set your preferences such as how the animation will look and behave, including scale, looping, and autostart properties.
However different web page building tools may have different settings or options, check your software’s user manual, online help or contact the vendor support for the details. For your reference, you can refer to this guide to add Flash to Microsoft Publisher and this tutorial shows how to play Flash slideshow in Google Sites.
If you knows a bit about HTML code, you can simply insert a code snippet into your page source. This is just another way to add Flash to your web page.
Here is a sample code
< object classid=”clsid:D27CDB6E-AE6D-11cf-96B8-444553540000″ codebase=”http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0″ width=”480″ height=”360″ >
< param name=”movie” value=”1.swf?xml_path=slides.xml” / >
< param name=”quality” value=”high” / >
< embed src=”1.swf?xml_path=slides.xml” width=”480″ height=”360″ quality=”high” pluginspage=”http://www.macromedia.com/go/getflashplayer” type=”application/x-shockwave-flash”></embed >
< /object >
About Flash Video Embed Syntax
OBJECT and EMBED tags:
The example flash embed code contains the OBJECT and EMBED tags that reference the actual Macromedia Flash movie file to be opened and played in your web page. The “object”tag is used to embed an object within the document. The OBJECT tag is used by Internet Explorer on Windows and the EMBED is used by Netscape Navigator (Mac and Windows) and Internet Explorer (Mac) to direct the browser to load the Macromedia Flash Player. For cross browser compatibility, we use both OBJECT and EMBED tags to embed the same flash object.
Classid, codebase and pluginspage:
They reside in object tag only. Internet Explorer on Windows uses an ActiveX control to play Macromedia Flash content. Classid identifies the ActiveX control for the IE browser while codebase identifies the location of the Flash Player ActiveX control so that the browser can automatically download it if it is not already installed. Microsoft Internet Explorer versions use the “codebase“ attribute to detect which version of the Adobe Flash Player ActiveX Control is installed on a user’s computer. If the user’s version is earlier than the version specified by “codebase“, Internet Explorer can automatically download and install the newer version of the Flash Player from the location specified in “codebase“.
Pluginspage is for EMBED tag only.
They specify the width and height of your flash slideshow. Please note they can be found from both the OBJECT and EMBED tags in the example flash slideshow embed code. Also they can be in either pixels or percentage of browser window, such as 400, 400px, or 50%.
Movie and SRC
The movie parameter is for object tag only, it specifies the location (URL) of the movie to load for IE browser. SRC does the same job as the movie parameter, but it serves other non-IE browsers.
Other attributes in the sample embed code for flash
The rest attributes and values are pretty self-expanatory.