|
We often confront with situation where we need to display a flash demo or video to our intended audience. Using S3 services of Amazon, it becomes like a cake walk. Here are steps you can follow to display such animated files on your web page(s) using your Bucket Explorer account. Here we have unveiled steps for you. Take a look.
-
Launch Bucket Explorer, login and move to ready state.
-
Open or create Bucket as usual.
-
Explore file system from left tree menu and select the swf or flv file you wish to publish over web.
-
Upload the file(s) as usual to the bucket (bucket/folder) as usual.
-
Set read permission to all users.
-
Generate public URL, (This will be used soon.)
-
If you're familiar with WYSIWYG (What You See Is What You Get) editors like Macromedia Dreamweaver or Microsoft FrontPage, then it's easy to just use the Insert menu to insert a Flash object, and then select your SWF file from its location on your hard drive; the HTML editor will write the code for you, and all you need to do is edit the path of the file to reflect the location on your web server.
-
If you are using coding method, use codes given below and make changes as per your description.
-
Add the following html code to your page and customize the relating parameters.
|
<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="400" height="300"
id="flashvideoplayer.swf" align="middle">
<param name="allowScriptAccess" value="sameDomain">
<param name="movie"
value="http://www.myhomepage.com/flashvideoplayer.swf?
flv=http://www.myhomepage.com/myvideofile.flv">
<param name="quality" value="high">
<param name="bgcolor" value="#ffffff">
<embed src="http://www.myhomepage.com/flashvideoplayer.swf" quality="high" bgcolor="#ffffff" width="400" height="300" name="flashvideoplayer.swf"
align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">
</object>
|
-
Replace your public URL generated in step 6 and make other changes such as name of flv file or swf file.
-
Generate public URL to your html page and share it.
Related link:
Host flash website, movies and presentations from Amazon S3
|
|
|