Adding a flash animation (.swf) file is merely easy task.
- Upload flash file (.swf) to Document Library. (For e.g.: wolf.swf is the file, I have uploaded to my Document Library)
- Add a Content Editor Web Part to your page.
- Click Source Editor.
- Paste the following code there:
< 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="550"
HEIGHT="400">
< PARAM NAME=movie VALUE="/Shared%20Documents/wolf.swf">
< PARAM NAME=WMODE VALUE="Transparent">
< PARAM NAME=quality VALUE="high">
< EMBED src="/Shared%20Documents/wolf.swf"
quality="high"
wmode="transparent"
WIDTH="550"
HEIGHT="400"
TYPE="application/x-shockwave-flash"
PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">
< /EMBED>
< /OBJECT>
4 comments:
I tried the same But its not working. Im getting simly some white spaces of the specified size.
Hello Ashok,
Make sure you have specified the path to .swf correctly.
Also, remove the extra spaces, I added in the XML above for e.g.: < OBJECT>
A Page Viewer web part can show a swf file video.
Thank you, thank you, thank you -- a thousand times!!!
Post a Comment