Google chrome 要求Chrome桌面运行Flash Player
我不知道为什么,但最近谷歌chrome不再运行我的FlashVídeos,如果我启用FlashPlayer,它就会运行 当时,Chrome本身要求获得这些权限,但现在它没有要求:( 有没有一种方法(API)可以让我请求那些运行许可Google chrome 要求Chrome桌面运行Flash Player,google-chrome,flash,Google Chrome,Flash,我不知道为什么,但最近谷歌chrome不再运行我的FlashVídeos,如果我启用FlashPlayer,它就会运行 当时,Chrome本身要求获得这些权限,但现在它没有要求:( 有没有一种方法(API)可以让我请求那些运行许可 谢谢。你试过这样做吗:? 或者这个: 编辑:删除了有问题的信息源。感谢您指出。您是否尝试过以下操作:? 或者这个: 编辑:删除了有问题的信息源。感谢您指出。尝试此欺骗: /** * Tries to show browser's promt for enabling
谢谢。你试过这样做吗:? 或者这个:
编辑:删除了有问题的信息源。感谢您指出。您是否尝试过以下操作:? 或者这个: 编辑:删除了有问题的信息源。感谢您指出。尝试此欺骗:
/**
* Tries to show browser's promt for enabling flash
*
* Chrome starting from 56 version and Edge from 15 are disabling flash
* by default. To promt user to enable flash, they suggest to send user to
* flash player download page. Then this browser will catch such request
* and show a promt to user:
* https://www.chromium.org/flash-roadmap#TOC-Developer-Recommendations
* In this method we are forcing such promt by navigating user to adobe
* site in iframe, instead of top window
*/
function requestFlashPermission() {
var iframe = document.createElement('iframe');
iframe.src = 'https://get.adobe.com/flashplayer';
iframe.sandbox = '';
document.body.appendChild(iframe);
document.body.removeChild(iframe);
}
var isNewEdge = (navigator.userAgent.match(/Edge\/(\d+)/) || [])[1] > 14;
var isNewSafari = (navigator.userAgent.match(/OS X (\d+)/) || [])[1] > 9;
var isNewChrome = (navigator.userAgent.match(/Chrom(e|ium)\/(\d+)/) || [])[2] > 56
&& !/Mobile/i.test(navigator.userAgent);
var canRequestPermission = isNewEdge || isNewSafari || isNewChrome;
if (!swfobject.hasFlashPlayerVersion('10') && canRequestPermission) {
requestFlashPermission();
// Chrome requires user's click in order to allow iframe embeding
$(window).one('click', requestFlashPermission);
}
基于:尝试此欺骗:
/**
* Tries to show browser's promt for enabling flash
*
* Chrome starting from 56 version and Edge from 15 are disabling flash
* by default. To promt user to enable flash, they suggest to send user to
* flash player download page. Then this browser will catch such request
* and show a promt to user:
* https://www.chromium.org/flash-roadmap#TOC-Developer-Recommendations
* In this method we are forcing such promt by navigating user to adobe
* site in iframe, instead of top window
*/
function requestFlashPermission() {
var iframe = document.createElement('iframe');
iframe.src = 'https://get.adobe.com/flashplayer';
iframe.sandbox = '';
document.body.appendChild(iframe);
document.body.removeChild(iframe);
}
var isNewEdge = (navigator.userAgent.match(/Edge\/(\d+)/) || [])[1] > 14;
var isNewSafari = (navigator.userAgent.match(/OS X (\d+)/) || [])[1] > 9;
var isNewChrome = (navigator.userAgent.match(/Chrom(e|ium)\/(\d+)/) || [])[2] > 56
&& !/Mobile/i.test(navigator.userAgent);
var canRequestPermission = isNewEdge || isNewSafari || isNewChrome;
if (!swfobject.hasFlashPlayerVersion('10') && canRequestPermission) {
requestFlashPermission();
// Chrome requires user's click in order to allow iframe embeding
$(window).one('click', requestFlashPermission);
}
基于:忘记那些Verge或CNet文章…如果链接不是来自Adobe、Google、Mozilla或Microsoft等,则忽略他们的推测性言论。坚持使用特定技术的官方网站。忘记那些Verge或CNet文章…如果链接不是来自Adobe、Google、Mozilla或Microsoft等,则忽略他们的推测性言论讨论。坚持使用特定技术的官方网站。获得一个链接以查看/测试正在运行的问题?您是否制作了Flash应用程序(您有可编辑的源代码)?还要确保您的SWF显示的最小尺寸为:width=800,height=600或更高的数字。还有
https
服务器用于SWF位置帮助。当然,我这里有一个示例视频:如果我明确声明要运行flash,我可以播放它,但我不想让我的所有用户一步一步地激活flash支持在chrome上:(该页面的源代码中没有列出.swf
(Flash)文件,这就是chrome没有询问的原因。你解决了这个问题吗?我真的需要知道!!谢谢你有链接查看/测试正在运行的问题吗?你制作了Flash应用程序吗(你有源代码要编辑)?还要确保您的SWF显示的最小尺寸为:width=800,height=600或更高的数字。还有https
服务器用于SWF位置帮助。当然,我这里有一个示例视频:如果我明确声明要运行flash,我可以播放它,但我不想让我的所有用户一步一步地激活flash支持关于chrome:(该页面的源代码中没有列出.swf
(Flash)文件,这就是chrome没有问的原因。你解决了这个问题吗?我真的需要知道!!谢谢