[Very thanks, Boris! I get the docshell from WebBrowser which init the URL load and it seems work in most cases. But I still have some troubles with the pages with flash. I installed adobe flashplayer in my server. but it seems RenderDocument can not deal with flash. Does my flashplayer work or something else wrong? Thanks!
2009/6/27 <[email protected]> > Send dev-embedding mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.mozilla.org/listinfo/dev-embedding > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of dev-embedding digest..." > > > Today's Topics: > > 1. Re: Flash plugin and OnStateChange flags (Havvy) > 2. Re: Flash plugin and OnStateChange flags (Boris Zbarsky) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Fri, 26 Jun 2009 18:43:16 +0800 > From: Havvy <[email protected]> > To: [email protected] > Subject: Re: Flash plugin and OnStateChange flags > Message-ID: > <[email protected]> > Content-Type: text/plain; charset=ISO-8859-1 > > > You have the nsIWebNavigation you started the load on, right? Can you > > not just get the information you need from it? > > > -Boris > > > > Hi, Boris, > > Very thanks for your reply! > Sorry to say that I have no idea how and what to get from the > nsIWebNavigation. > Code snippet would be very appreciate. > > > > > > > > > > > ------------------------------ > > > > _______________________________________________ > > dev-embedding mailing list > > [email protected] > > https://lists.mozilla.org/listinfo/dev-embedding > > > > > > End of dev-embedding Digest, Vol 42, Issue 23 > > ********************************************* > > > > > ------------------------------ > > Message: 2 > Date: Fri, 26 Jun 2009 12:11:55 -0400 > From: Boris Zbarsky <[email protected]> > To: [email protected] > Subject: Re: Flash plugin and OnStateChange flags > Message-ID: <[email protected]> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Havvy wrote: > > Sorry to say that I have no idea how and what to get from the > > nsIWebNavigation. > > You get its DOM window, then GetInterface nsIWebNavigation from the DOM > window. The resulting object is a docshell. Proceed from there. > > -Boris > > > ------------------------------ > > _______________________________________________ > dev-embedding mailing list > [email protected] > https://lists.mozilla.org/listinfo/dev-embedding > > > End of dev-embedding Digest, Vol 42, Issue 24 > ********************************************* > _______________________________________________ dev-embedding mailing list [email protected] https://lists.mozilla.org/listinfo/dev-embedding
