When using dynamic publishing, it works just fine. It is only static publishing.
Obviously I could just make the player visible, but I feel that that skips most of swfobject's goodness... On 14 jan, 12:04, K-Mile <[email protected]> wrote: > The page is not online yet, and since I am working on a commercial > project for a client I can only show snippets of the code. The HTML: > > <object id="swfMovie" classid="clsid:D27CDB6E- > AE6D-11cf-96B8-444553540000" width="425" height="344"> > <param name="movie" value="http://www.youtube.com/v/ > 229NvV0SRHw" /> > <!--[if !IE]>--> > <object type="application/x-shockwave-flash" > data="http://www.youtube.com/v/229NvV0SRHw" width="425" height="344"> > <!--<![endif]--> > <a href="http://www.youtube.com/v/229NvV0SRHw">Flash > movie</a> > <!--[if !IE]>--> > </object> > <!--<![endif]--> > </object> > > My code is called on the jQuery dom loaded event. It does some sanity > checking, and in this case performs just: > > swfobject.registerObject('swfMovie', '8'); > > Thanks for your suggestions! > > On 14 jan, 11:51, "Aran Rhee" <[email protected]> wrote: > > > So you have the proper <object> definition on the page as well? > > > A link to your page would be the quickest way for people to check what is > > going on. > > > Also, the code generator can be a helpful tool to ensure you code is well > > formed:http://www.bobbyvandersluis.com/swfobject/generator/index.html > > > Aran > > > -----Original Message----- > > From: [email protected] [mailto:[email protected]] On > > > Behalf Of K-Mile > > Sent: Wednesday, 14 January 2009 9:43 PM > > To: SWFObject > > Subject: registerObject hides SWF file > > > Hi, > > > I am probably missing something huge here, but when registering a > > flash movie using the static publishing method, my flash movie ends up > > with 'visibility:hidden'. When going through the source the > > registerObject method ends with 'setVisibility(objectIdStr, false)' so > > the fact that the movie is hidden is clear to me. What I don't > > understand is why the main method is (apparently) never called, never > > showing the SWF file. > > > It fails in IE6, IE7, and FF3. > > > Do I need to register the dom load event myself? Could this be > > conflicting with jQuery? Is there something else I am not aware of? > > > Thanks for any pointers you might have on this! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SWFObject" 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/swfobject?hl=en -~----------~----~----~----~------~----~------~--~---
