Flash content in WebBrowser makes a problem
Hi all,
I'm currently developping a .netcf 2.0 application(Rss feed reader) for wm 6.0 devices.
I've embedded a webbrowser control within a form but it seams I have one problem with it when HTML (got from feed) that is to be displayed contains flash content, such as:
<object type="application/x-shockwave-flash" data="http://blip.tv/scripts/flash/showplayer.swf?autostart=false&
showplayerpath=http://blip.tv/scripts/flash/showplayer.swf&
file=http://blip.tv/rss/479666&brandname=Rocketboom&
brandlink=http://www.rocketboom.com&
showguidebutton=false&showsharebutton=true"
allowfullscreen="true" id="showplayer" height="300" width="480">
<param name="movie" value="http://blip.tv/scripts/flash/showplayer.swf?autostart=false&
showplayerpath=http://blip.tv/scripts/flash/showplayer.swf&
file=http://blip.tv/rss/479666&brandname=Rocketboom&
brandlink=http://www.rocketboom.com&
showguidebutton=false&showsharebutton=true">
<param name="allowScriptAccess" value="always">
</object><br style="clear: both;" /><br />
So, when the form with WebBrowser is to be shown with the stated content, the "Security dialog form" arises, due to security settings in the Internet Explorer with an information that some content cannot be displayed. This form also contains an OK Button, CheckBox with "Do not show this message again" text and Minimize ControlBox on the right side of the caption bar. When I click OK button, or check the check box, everything's fine, but if I (read a potential user) click on the Minimize box, Security dialog form hides, and hides the WebBrowser form too. After few openinigs (creation/show) of the Webbrowser form with unsecure content, and following arisings of the Security dialog form which I minimize, I get the StackOverflow Exception.
Is there any known workaround for this problem, except changing the security settings in the Internet Explorer, which will totally disable arising of security form.
Thanks in advance.
|