Havvy wrote:
Hi, All, In my custom application, I init a LoadURI by a WebBrowser. How can I get the MimeTypes of the URI?
I'm not sure what exactly you're asking here...
Currently, I GetTypeAttrValue() in nsHTMLSharedObjectElement::BindToTree().
What does that have to do with "the URI" that you originally loaded?
It can detect the MimeTypes of most pages with flash plug-in. But there are always some exceptions, such as "www.rugby.com" Note that, I get the mimetype of the aProgress in WebBroswerListener::OnStateChange(). Does a .swf object not nofity the listener or not walk through the BindToTree()?
All elements go through BindToTree if they're placed in the document. -Boris _______________________________________________ dev-embedding mailing list dev-embedding@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-embedding