|
|
How to execute flash file in a browser - Flash
|
Views : 3905
|
|
Tagged in : Flash
|
|
|
Report This Scrap as Inappropriate We request you to choose the appropriate categroy and subcategory that suits your
objectionable concern about the scrap, So that our team can review and find out whether it violates our Guidelines or the
scrap is not suitable for all viewers.
|
.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>
|
|
By Sanju, On - 2008-01-11 |
|
|
|