Forum OpenACS Development: Re: Embedding flash video player

Collapse
Posted by Jon Griffin on
If you use xowiki it is built in. For an example see:

http://salsablanca.com/ethno/changui-video

This is the code you need:

[[swf:changui-promo1.swf|Video of traditional cuban changüi being played in Havana Cuba|-width 320px -height 234px -quality high -wmode transparent]]

For raw adp, this may help
http://salsablanca.com/ethno/casino-rueda
is using:
I did this before I asked Gustaf to add this as a wiki type.

<div id="flashcontent"> This text is replaced by the Flash movie.
</div>
&lt;script type="text/javascript"&gt;
var so = new SWFObject("/movies/Ban Rarra on Malecon.swf", "casinorueda", "359", "282", "7", "#336699");
so.addParam("quality", "high");
so.addParam("wmode", "transparent");
so.addParam("salign", "t");
so.write("flashcontent");

It is using the swfObject js library, don't remember where I got it.

Hope that helps.

Collapse
Posted by Gustaf Neumann on
swfObject.js is shipped with xowiki, and included on demand on pages, where swf files are used....