Havvy wrote:
I mean I want to tell if there are flash or video in a page by detecting the
mimeTypes of it's every document.

That's not really a reliable way to detect either flash or video...

I get the Type by GetTypeAttrValue() in
nsHTMLSharedObjectElement::BindToTree() and set it in the related PresShell.

There might not be a presshell specifically for the nsHTMLSharedObjectElement (and in fact there is not in the flash/video case).

I'm not sure is it clear?

Not really.  :(

It seems I can't catch the aProgress of the "<div> " in the call back
OnStateChange().

Especially this part...

-Boris
_______________________________________________
dev-embedding mailing list
dev-embedding@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to