XWiki.com

Search:

The best way to share information, build online
communities and web applications.
Language: | en
The FAQ has moved to http://www.xwiki.org/xwiki/bin/view/FAQ/

Document HowDoIAddAnimatedGifSshockwaveAndFlashItemsToMyWiki

question How do I add animation: animated gif's, flash/shockwave content, and web3d items to my wiki?

answer
  • Animated GIFs can be added just like any image
  • For web3d can you provide some pointers
  • For flash you can use the following code
#set($width = "500")
#set($height= "500")
#set($flashurl = $doc.getAttachmentURL("filename.swf", "download"))
#includeForm("xwiki:XWiki.Flash")

You can also replace the call to getAttachmentURL with and http:// url..

The next XWiki version will provide an even simplier macro for this.


Copyright 2004-2006 (c) XWiki.com
Powered by XWiki