Hi, Normally it's not possible to add a silverlight embed code in the gadget. But flash is now fully supported in the Desktop gadgets. http://code.google.com/intl/nl-NL/apis/desktop/docs/releasenotes-v58.html
Also the 'iframe' is not supported inside the 'main.xml'. Note: The gadget API uses XML and JavaScript. It is not HTML based. Kind Regards, Stefan Van Damme (aka Stefan vd) Gadget Developer On 21 mei, 09:48, Arpicheck <[email protected]> wrote: > Hi, > > I would like to embed a silverlight XAP file into a google desktop > gadget. I thought, that I can simply copy/paste the embed code, and it > will work fine, but now I think, the gadget engine cuts some tags/ > attributes from my code, therefore the silverlight application does > not load. The main.xml is as follows: > > <view width="250" height="300"> > <div id="silverlightControlHost"> > <object data="data:application/x-silverlight-2," type="application/ > x-silverlight-2" width="100%" height="100%"> > <param name="source" value="WHM.xap"/> > <param name="background" value="white" /> > </object> > <iframe style='visibility:hidden;height:0;width:0;border:0px'></ > iframe> > </div> > </view> > > The referenced XAP file is in the same folder as the main.xml. > > Do I missing something important? Is is possible to show a silverlight > application in a google desktop gadget? > > thank you in advance, > > arpicheck --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Desktop Developer Group" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Desktop-Developer?hl=en -~----------~----~----~----~------~----~------~--~---
