Web fonts and HTML5 Application cache feature in WPF WebView control (Metro) - c#

I'm creating a metro application using C# and WPF.
I want to include a WebView for showing some web content. But the problem is, Some HTML5/CSS3 Features are not available in WebView, while they are available in IE10.
For example, WebView is not showing Web fonts, but IE10 does.
Also, html5test says that WebView does not support application cache (and some other features), while IE10 also supports application cache.
How to implement Web fonts and HTML5 Application cache in WPF WebView Control?

Think in WebView as a simple way to view web content. Sadly the WebView control is not a full featured IE10 and hence, it lacks of some functionality. I suggest you to simplify the input if you control webpage, or rethink the application features :(

Related

CefSharp chromium browser font issue

I am working on a wpf application. I am using Cefsharp chromium browser instead of wpf webview. It support all font but its not clear (give blur screen).
We've noticed this issue as well. We found that it goes away if you use WinForms instead of WPF.
Have you tried CefSharp.Wpf?

Is there a Webbrowser control that supports html5 video (WebRTC) available for .Net?

I was looking for a way to embed a page that hosts WebRTC video such as the demo from http://www.webrtc.org/demo into a WinForms app so the user doesn't need to install nor launch any external browsers that may contain toolbars, etc, I looked into a few components such as GeckoFX and WebKit.Net but they fail to load the webcam video.
Do you know of any hack or other project that may support WebRTC inside .Net?
Thanks a lot
Chromium Embedded Framework claims to support WebRTC (I haven't confirmed it myself).
https://code.google.com/p/chromiumembedded/
http://en.wikipedia.org/wiki/Chromium_Embedded_Framework
WebRTC is supported by Mozilla Firefox:
http://www.webrtc.org/
If you want to embed Firefox in you project you can easily embed GeckoFX web browser control in your Windows Forms application.
The GeckoFX engine (Mozilla Firefox) says it can use WebRTC. This seem to be right (as far as I have seen yet) but there seem to be a problem with some parts of it. I'm using it actual for WebRTC and have a problem with the video part - see here: Embedded GeckoFx in C#.NET - WebRTC Video not working

C# Windows Form Web Browser flash dont work

I'm trying to make inside my app mini web browser. But here is fault. It dont show Flash videos (swf).
Is any method how to repair this fail?
You can show flash videos in the windows webrowser control
To get it working you will need change the CPU type of your project to support x86 ( i.e. 32 bit) because the WebBrowser control provides a managed wrapper for the WebBrowser ActiveX control
MSDN

Does the WPF 4.0 WebBrowser Control support HTML5 if IE9 is installed?

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?
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?
I guess the hosted version of IE is 7.
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

Firefox C# Wrapper/Control

Is there a Firefox/Mozilla control for embedding the firefox browser in a C# .net application?
You can have the Gecko rendering engine in the form of GeckoFX.
To quote Google Code:
GeckoFX is a Windows Forms control written in clean, commented C# that embeds the Mozilla Gecko browser control in any Windows Forms Application. It also contains a simple class model providing access to the HTML and CSS DOM.
Even better, there is a fork by hindlemail, actively updated DLL for .Net, here: https://bitbucket.org/geckofx/.
Currently, there are available versions corresponding to Firefox's version 10 and 11.

Categories