Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6875779
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T04:23:47+00:00 2026-05-27T04:23:47+00:00

I have a frame control in a WPF app which has an HTML page

  • 0

I have a frame control in a WPF app which has an HTML page as a source. The HTML page uses HTML5 features, mostly for a video.

However I can’t seem to get it to work in the frame control. I already checked this question here on StackOverflow which points to this page.

If I’m understanding correctly, the default behaviour for frame controls is to render in IE7 mode which explains why the video doesn’t work. I’ve tried adding the application to the registry as described in the second page I’ve linked but somehow I’m either doing it wrong or it doesn’t work for me.

I’ve set the name of my application as a DWORD key and the value to 0x00002328 in the registry for both:
HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION

and

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\MAIN\FeatureControl\FEATURE_BROWSER_EMULATION

This at least seems to get the rendered browser into IE9 mode – according to a little script I use to detect the browser. Still no video, though. When I run the same HTML page in an IE9 browser the video displays correctly.

Does anybody have any idea on how to solve this or whether it is solvable at all?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T04:23:47+00:00Added an answer on May 27, 2026 at 4:23 am

    Someone helped solving the issue in the MSDB forums: http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/87e41b0d-145d-4438-958e-c8b3a0a969d3

    The important thing seems to be adding this meta information to the html:

    <meta http-equiv='X-UA-Compatible' content='IE=9' />
    

    That seems to do the trick.

    <!DOCTYPE html>
    <html>
    <head>
        <meta http-equiv='Content-Type' content='text/html; charset=unicode' />
        <meta http-equiv='X-UA-Compatible' content='IE=9' /> 
        <title></title>
    </head>
    <body>
        <div>
             <video autoplay='autoplay' preload='metadata'>
                <source src='test_video.mp4' type='video/mp4' />
            </video>
        </div>
    </body>
    </html>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a WPF Window which has a among other controls hosts a Frame.
I have WPF window that uses a dockpanel and the menu control. I have
I have a custom tab control, which displays a frame inside the TabItem, and
I have a WPF page that contains a Listbox and a frame. The frame
I have a silverlight control that has a Frame on it. I want to
I am using WPF C# WebBrowser control to navigate a local html file which
I have a user control, has a Frame as a dependency property public partial
I have a wx.Frame, in which there is a main wx.Panel with several widgets
I am attempting to style some html that I do not have control over.
I am trying to add a page control to my scroll view, and have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.