Perhaps someone wishes to show the SaladoPlayer in the content of a Joomla webpage, so I created code for this. It works perfect on my Joomla 1.5.23 webpage.
I just added one of the two code below in an article of Joomla.
The codes of the following examples uses the directory structur of the SaladoPlayer example,
and is placed here on my webserver in the directory "images/Bilder/Panorama/".
If you have another directory, just change the appearances.
Hints:
- Some browsers caches the settings.xml. So if you upload a new settings to your webpage, you must restart the browser or disable the cache. Otherwise you get the old configuration. Reload don't work.
- params.base = "." is important
- if the height is 100%, the flash was not shown
- Joomla settings for JCE
Regards Ralf
Code without Javascript
It seems, that the code has double entries, but they are necessary for Firefox and IE.
<p>
<object id="sign_on" width="100%" height="400" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0">
<param name="FlashVars" value="xml=examples/settings.xml" />
<param name="play" value="true" />
<param name="loop" value="false" />
<param name="menu" value="false" />
<param name="quality" value="high" />
<param name="scale" value="showall" />
<param name="wmode" value="window" />
<param name="bgcolor" value="#FFFFFF" />
<param name="devicefont" value="false" />
<param name="allowfullscreen" value="true" />
<param name="allowscriptaccess" value="sameDomain" />
<param name="base" value="." />
<param name="movie" value="images/Bilder/Panorama/SaladoPlayer-1.0.swf" />
<embed width="100%" height="400" type="application/x-shockwave-flash" src="images/Bilder/Panorama/SaladoPlayer-1.0.swf" FlashVars="xml=examples/settings.xml" play="true" loop="false" menu="false" quality="high" scale="showall" wmode="window" bgcolor="#FFFFFF" devicefont="false" allowfullscreen="true" allowscriptaccess="sameDomain" base=".">
</embed>
</object>
</p>
Code with the same structure like the index.html
<script src="images/Bilder/Panorama/embed/swfobject.js" type="text/javascript"></script>
<script type="text/javascript">
// <![CDATA[
var flashvars = {};
flashvars.xml = "examples/settings.xml"
var params = {};
params.play = "true";
params.loop = "false";
params.menu = "false";
params.quality = "high";
params.scale = "showall";
params.wmode = "window";
params.bgcolor = "#FFFFFF";
params.devicefont = "false";
params.allowfullscreen = "true";
params.allowscriptaccess = "sameDomain";
params.base = ".";
var attributes = {};
swfobject.embedSWF("images/Bilder/Panorama/SaladoPlayer-1.0.swf", "SaladoPlayer", "100%", "500", "10.0.0", "embed/expressInstall.swf", flashvars, params, attributes);
// ]]>
</script>
<div id="SaladoPlayer"><a href="http://www.adobe.com/go/getflashplayer"> <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /> </a></div>
|