How to execute flash file in a browser

by Sanju 2008-01-11 19:11:31

.flv is a flash. .swf is a software flash and it can directly play in the browser like online games.
To run swf:
For example: To run test.swf in a browser include the following code in your page:

<object type="application/x-shockwave-flash" width="320" height="260"
wmode="transparent" data="test.swf&autoStart=false">
<param name="movie" value="test.swf&autoStart=false" />
<param name="wmode" value="transparent" />


To run .flv in the browser place the player which is capable to .swf
I had a link which has the software to run .flv in the browser:
http://www.ffmpegx.com/flv.html

After downloading the software you can use the below code:

<object type="application/x-shockwave-flash" width="320" height="260"
wmode="transparent" data="flvplayer.swf?file=movies/holiday.flv&autoStart=false">
<param name="movie" value="flvplayer.swf?file=movies/holiday.flv&autoStart=false" />
<param name="wmode" value="transparent" />

</object>

Tagged in:

6520
like
2
dislike
0
mail
flag

You must LOGIN to add comments