How do I embed .SWF files?

Hello,

I have an interactive flash animation (swf file) that will play in the browser but can’t seem to figure our how to embed it into a wiki page. I’ve tried the JWPlayer macro without success.

Any help would be appreciated.

Thanks,
Ben

Hi,

I’m not sure if the jwplayer is even capable of playing swf files. I guess you will need to create something like the following code with the html macro (see SEO for everyone • Yoast).

<object type="application/x-shockwave-flash" 
data="music/sound.swf" 
width="0" height="0">
<param name="movie" value="music/sound.swf" />
<param name="quality" value="high"/>
</object>

Thanks @rbr!

The x-shockwave part of your answer made me look in the XWiki macro list… I found this: https://extensions.xwiki.org/xwiki/bin/view/Extension/Flash%20macro

Works nicely, has a few edit bugs that I will report when I get the chance.

Regards,
Ben