0

An application that I am making uses a web browser object to watch videos from YouTube (From an embedded link like this, not a regular link). The problem is that when the user clicks anywhere in the web browser object, it screws up some other aspects of the application. How would I disabled the ability for the user to click the web browser?

So far I've tried several things. I've tried using the legacy Microsoft Web Browser object in Com Components, I've tried placing a one-pixel wide ring of Panels around the web browser with MouseEnter events that changed cursor position back a pixel (No dice, didn't pick it up all the time), creating user control and using it's events, and more, each to no avail.

An acceptable solution would be to disallow clicking (preferably) or to disallow mouse overs, just something that doesn't disrupt the rest of the application. Any help is greatly appreciated.

2
Contributors
2
Replies
3
Views
6 Years
Discussion Span
Last Post by Wheen
0

How is the web browser control messing up your application is what I'd like to know :)

Have you tried handling the Navigating event and setting the Cancel property to true?

0

How is the web browser control messing up your application is what I'd like to know :)

Have you tried handling the Navigating event and setting the Cancel property to true?

It's a syncing thing. The video has to play (Somewhat) in sync with a time.

And I have, it doesn't do anything since it's not actually navigating, flash just pauses the video.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.