如何在 UWP 上的 webview 中启用 Flash? [英] How to enable flash in webview on UWP?

查看:25
本文介绍了如何在 UWP 上的 webview 中启用 Flash?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用了 WebView 来浏览一个 url,但它需要 flash.

I used a WebView to browse a url, but it needs flash.

我试过了

WebViewSettings ws = webView.Settings;
ws.IsJavaScriptEnabled = true;

但是 javascript 与 flash 插件没有任何关系.

But javascript has nothing relate with flash plugin.

有没有办法在 uwp 上启用它?

Is there any way to enable it on uwp?

推荐答案

UWP WebView 不支持 Flash.

Flash is not supported in UWP WebView.

在为 Windows 10 编译的应用中,WebView 使用 Microsoft Edge 渲染引擎来显示 HTML 内容.在为 Windows 8 或 Windows 8.1 编译的应用程序中,WebView 在文档模式下使用 Internet Explorer 11.它不支持任何 Microsoft ActiveX 控件或插件,例如 Microsoft Silverlight 或便携式文档格式 (PDF) 文件.

In apps compiled for Windows 10, WebView uses the Microsoft Edge rendering engine to display HTML content. In apps compiled for Windows 8 or Windows 8.1, WebView uses Internet Explorer 11 in document mode. It does not support any Microsoft ActiveX controls or plugins like Microsoft Silverlight or Portable Document Format (PDF) files.

来源:Microsoft 文档.

另见此MSDN 博客文章,因为这证实了该声明.

See also this MSDN blog post, as this confirms the statement.

WebView 不支持 Flash.或银光.或PDF.或任何其他 ActiveX 控件或插件.

WebView doesn’t do Flash. Or Silverlight. Or PDF. Or any other ActiveX control or plugin.

这篇关于如何在 UWP 上的 webview 中启用 Flash?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆