2

Does the WPF 4.0 WebBrowser Control support HTML5 if IE9 is installed? My initial tests with the Video Tag were not successful. Am I wasting my time and the control loads an older version of the Trident Engine?

Oliver Weichhold
  • 10,259
  • 5
  • 45
  • 87

3 Answers3

3

Applications that host the WebBrowser control must opt-in to post-IE7 modes using FEATURE_BROWSER_EMULATION. See Will the IE9 WebBrowser Control Support all of IE9's features, including SVG?

Community
  • 1
  • 1
EricLaw
  • 56,563
  • 7
  • 151
  • 196
  • I noticed that your link suggests an easier solution if you control the html: ``. Worked for me! – Sphinxxx Jun 27 '15 at 04:25
  • Yes, using the Edge mode declaration works for some things, but it behaves differently than using the feature control key. – EricLaw Jun 30 '15 at 16:27
1

I guess the hosted version of IE is 7.

Mario Vernari
  • 6,649
  • 1
  • 32
  • 44
0

I haven't had a chance to test HTML5, but according to the below link on MSDN if IE is updated on the user's PC, the WPF browser control will also be updated since it uses the same version of the IE engine.

http://social.msdn.microsoft.com/Forums/en/wpf/thread/3c99a93c-0eb6-4839-83c9-fdfe72804e87

ChrisNel52
  • 14,655
  • 3
  • 30
  • 36