|
WidgetBox give us an embed code (choose Copy, Flash option). We can use a Google Gadget to incorporate the Flash Widget. The Gadget allow us to define the FlahVars of the animation. Some gadgets from WidgetBox give us a javascript. In this case we use a variant version of the javascript gadget. Code given by WidgetBox (Flash Version)
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" type="application/x-shockwave-flash" width="330px" height="423px" id="InsertWidget_4f96e53d-ae92-45c0-a21f-ec337ae6d12a" align="middle"> <param name="movie" value="http://widgetserver.com/syndication/flash/wrapper/InsertWidget.swf"/> <param name="quality" value="high" /> <param name="wmode" value="transparent" /> <param name="menu" value="false" /> <param name="flashvars" value="r=2&appId=4f96e53d-ae92-45c0-a21f-ec337ae6d12a" /> <param name="allowScriptAccess" value="sameDomain" /> <embed src="http://widgetserver.com/syndication/flash/wrapper/InsertWidget.swf" name="InsertWidget_4f96e53d-ae92-45c0-a21f-ec337ae6d12a" width="330px" height="423px" quality="high" menu="false" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent" align="middle" allowScriptAccess="sameDomain" flashvars="r=2&appId=4f96e53d-ae92-45c0-a21f-ec337ae6d12a" /> </object> We use the value of the movie attribute as File parameter of the gadget (without carriage return), and we copy the FlashVars value :
File : http://widgetserver.com/syndication/flash/wrapper/InsertWidget.swf FlashVars : r=2&appId=4f96e53d-ae92-45c0-a21f-ec337ae6d12a The Result
About CatsYou like Cats? Help SOS CHATS - NOIRAIGUE . Discover the Slideshow of the cats, on the site of Danielle.
URL of the Gadget (Javascript Version)Code given by WidgetBox (Javascript Version)
<script type="text/javascript" src="http://cdn.widgetserver.com/syndication/subscriber/InsertWidget.js"></script> <script>if (WIDGETBOX) WIDGETBOX.renderWidget('9b5813a5-f86c-4975-b621-d97f4a7ce799');</script> We use the widget ID as parameter of the gadget :
File : 9b5813a5-f86c-4975-b621-d97f4a7ce799 The Result
More informationsAnother way to add a widget from WidgetBox, by Mori79
Find a Wine
|






