http://bloodsongtermagant.wordpress.com
which won't show you anything, but that's my blog. or one of them. i bought a random quote rotator from oxylus flash, to (try to) embed on one of my pages.
now, following this extremely useful and popular tutorial by panos:
http://wpbtips.wordpress.com/2010/07/22/gigya-shortcode-3-widgets/
i know i have to convert my swf file's embed code into gigya shortcode. however, whenever i try to do it, the widget does not work. i thought instead of overloading poor panos, i'd ask folks at large, hoping there are more people who know how to properly do this.
so, here is the embed code for my swf app:
<br />
<!-- START: EMBED CODE --><br />
<style type="text/css"><br />
html{<br />
margin:0;<br />
padding:0;<br />
height:100%;<br />
width: 100%;<br />
background-color: #000000;<br />
}<br />
body {<br />
margin: 0;<br />
padding: 0;<br />
height:100%;<br />
width: 100%;<br />
min-width: 1200px;<br />
min-height: 600px;<br />
}<br />
#oxylusflash{<br />
min-width: 1200px;<br />
min-height: 600px;<br />
height: 100%;<br />
overflow: hidden;<br />
display:block;<br />
outline:none;<br />
}<br />
</style><br />
<script type="text/javascript" src="js/swfobject.js"></script><br />
<script type="text/javascript" src="js/swfaddress.js"></script></p>
<p> <script type="text/javascript"><br />
// DOCUMENTATION: http://code.google.com/p/swfobject/wiki/documentation<br />
var flashvars = {};<br />
flashvars.xmlFile = "data.xml"; // SET XML FILE HERE<br />
var params = {};<br />
params.scale = "noscale";<br />
params.salign = "tl";<br />
params.bgcolor = "#000000";<br />
params.seamlesstabbing = "false";<br />
params.swliveconnect = "true";<br />
params.allowfullscreen = "true";<br />
params.allowscriptaccess = "always";<br />
params.allownetworking = "all";<br />
params.base = "";<br />
var attributes = {};<br />
attributes.id = "oxylusflash";<br />
attributes.align = "top";<br />
swfobject.embedSWF("main.swf", "alternativeContent", "100%", "100%", "9.0.0", false, flashvars, params, attributes);<br />
</script><br />
<!-- END: EMBED CODE --><br />
THIS is what i translated that into:
<br />
[gigya src="http://bldsong.net/dabz/Quotes/main.swf" width=400 & height = 220 & flashvars.xmlFile ="http://bldsong.net/dabz/Quotes/data.xml"]<br />
(i had a longer one, but all those params didn't really seem needed.)
i get the flash widget's blank background, but i don't get my random quotes.
my guess is, there's something screwy with the flashvars.xmlFile thing. because that's not a full parameter, it's... part of an array?? i'm stumped, and i didn't get any reply on the oxylus support forum on this.
is this widget just not going to work via gigya shortcode because of the external xml file it is using for its operation? i have no idea, to be honest.
thanks for any help or suggestions to try!
The blog I need help with is bloodsongtermagant.wordpress.com.