Hi!

I can't embedded nothing in my application... just appear a blank
square...

I tried put <embed> directly,gadget.flash.embedFlash(), SWFObject +
getProxyUrl using the same example of davew and nothing...

I send here what I did:

<?xml version="1.0" encoding="UTF-8" ?>
<Module>
  <ModulePrefs title="TestFlash" summary="..." description="..."
icon="..." thumbnail="..." author_email="..." author="..."
screenshot="..." height="500">
    <Require feature="opensocial-0.7"/>
    <Require feature="flash" />
    <Require feature="dynamic-height"/>
    <Require feature="views" />
  </ModulePrefs>
  <Content type="html">
    <![CDATA[
          <script>document.write('<scr' + 'ipt src="' +
      gadgets.io.getProxyUrl('http://www.gadgets.cineflip.com/orkut/js/
swfobject.js',
      { "REFRESH_INTERVAL": (60) }) + '"></scr' + 'ipt>'); </script>

      <div id="flashcontainer" style="height:500px"> </div>

      <script type="text/javascript">
      function startGadget()
      {
      // url to swf, followed by a version number so you can update
the file
      var flashUrl = "http://www.youtube.com/v/AmqT9ERKhVY&hl=pt-
br&fs=1";

      // proxied version of swf - it will cache the swf on google's
servers for 365 days
      var movie = gadgets.io.getProxyUrl(flashUrl,
{ "REFRESH_INTERVAL":
      (60*60*24*365) });

      var so = new SWFObject(movie, "myflash", "450", "500", "9",
      "#ffffff");
      so.addParam("wmode", "transparent");
      so.addParam("allowScriptAccess", "always");
          so.addParam("allowFullScreen", "true");
      so.write("flashcontainer");

      gadgets.window.adjustHeight();
      }

      gadgets.util.registerOnLoadHandler(startGadget);
      </script>]]>
  </Content>
</Module>


Thanks for attention!
Bruno Souza
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Orkut Developer Forum" group.
To post to this group, send email to opensocial-orkut@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/opensocial-orkut?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to