Stop Autoplay of mshtml.HTMLObjectElement
C#
1
Posts
1
Posters
0
Views
1
Watching
-
Hi, My Application attache on control with Internet Explorer and control has WebBrowser window control. Now actually we are reading data from any web page and we capturing object and embed tag from that pages. Now when we put that captured tag in our control it makes it autoplay. And we want to stop that autoplay. Code.................... IHTMLDocument2 htmlDoc = (IHTMLDocument2)((BasketToolBar)this.Tag).WebBrowser.IWebBrowser_Document; IHTMLElement el = htmlDoc.elementFromPoint(e.X, e.Y); if (el.tagName.Equals("OBJECT")) { HTMLObjectElement objEl = (HTMLObjectElement)el; }
Kiran Banker