|
Easy way to add Flash to iWeb
Flash SWF and FLV Files in iWeb
- Create a folder in your "iDisk/Web/Sites folder".
- Name it "flash".
- Copy mediaplayer.swf file into the newly created iDisk folder flash. this is a media player which will provide a player menus for movie
- Copy YourFlash.swf file into the newly created iDisk folder flash.
- Go to the page where you want the file to play.
- Copy the code below.
<embed src="http://web.mac.com/Your_iDisk/flash/mediaplayer.swf"
width="320"
height="240"
allowscriptaccess="always"
allowfullscreen="true"
flashvars="width=320&height=240&autostart=true&repeat=true&file=http://web.mac.com/Your_iDisk/flash/YourFlash.swf" />
- Select HTML Snippet from the Insert menu.
- Paste the code in the HMTL Snippet
- Alter the RED text as follows:
http://web.mac.com/Your_iDisk/flash/mediaplayer.swf is a mediaplayer which will provide a palyer menu such as play and stop buttons.
320 is a Width of your flash file
240 is a Height of your flash file
http://web.mac.com/Your_iDisk/flash/YourFlash.swf is a Your iDisk, name of your new folder (flash), and name of your flash SWF or FLV file.
autostart=true is a autostart option, you can disable them by setting to autostart=false
repeat=true is repeat option allows you to repeat movie, you can disable them by setting to autostart=false
- Click “Apply” and save your page.
- Publish it and enjoy.
|