====== swfObject Plugin ====== Embedding Flash into a website can be pain - especially if you need an alternative image when Flash is being blocked or non-existing. The OpenSource project [[http://code.google.com/swfobject|swfObject]] offers a clean way for almost every browser to insert Flash objects - with an alternative in case Flash is not installed. %%(c)%% ===== Usage ===== %ALTERNATE_CONTENT% ^Variable^Content^ |%SWF%|your flash-media file, eg. :wiki:my_flash.swf| |%OPTIONS%|see link below| |%ALTERNATE_CONTENT%|any content renderable by DokuWiki| Please see the following [[http://inetsoftware.de/other-products/dokuwiki-plugins/swfobject#options|page]] for information on the swfObject plugin. ===== Example ===== Demo cannot display. Demo cannot display. ===== Using swfobject to display Flash ===== To display a Flash (.flv) file using the swfobject plugin, you need the [[https://wiki.cse.yorku.ca/dept/tdb/_media/:wiki:plugins:player.swf|player.swf]] file from [[http://www.longtailvideo.com/players/jw-flv-player|JW FLV Player]] which is an swf file that can display flv files. You need to upload the player.swf to your Wiki, and then you can do something like: additional content ===== External Links ===== * [[http://en.wikipedia.org/wiki/SWF|Wikipedia on SWF]] * [[http://en.wikipedia.org/wiki/FLV|Wikipedia on Flash]] * [[http://en.wikipedia.org/wiki/SWFObject|Wikipedia on SWFObject]]