Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/mercurial/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android 如何为移动用户设置自动网站切换?大多数移动浏览器不支持Flash_Android_Html_Flash_Mobile_Web - Fatal编程技术网

Android 如何为移动用户设置自动网站切换?大多数移动浏览器不支持Flash

Android 如何为移动用户设置自动网站切换?大多数移动浏览器不支持Flash,android,html,flash,mobile,web,Android,Html,Flash,Mobile,Web,我有一个运行flash的网站,它在桌面上运行得很好,但在Android浏览器上不支持。如何设置自动切换?当网站检测到它是一个移动用户时,显示一个静态网站而不是动态flash站点?您可以使用它在HTML页面中包含flash(它是一个小型JavaScript库)。它包括在未检测到Flash Player时显示替代(html)内容的功能 因此,您只需添加静态站点的主页作为Flash显示的替代内容;若安装了Flash,用户将看到Flash站点;若并没有安装Flash,用户将看到静态站点 通过这种方式,您

我有一个运行flash的网站,它在桌面上运行得很好,但在Android浏览器上不支持。如何设置自动切换?当网站检测到它是一个移动用户时,显示一个静态网站而不是动态flash站点?

您可以使用它在HTML页面中包含flash(它是一个小型JavaScript库)。它包括在未检测到Flash Player时显示替代(html)内容的功能

因此,您只需添加静态站点的主页作为Flash显示的替代内容;若安装了Flash,用户将看到Flash站点;若并没有安装Flash,用户将看到静态站点

通过这种方式,您可以进行更通用的切换—设备是否可以播放Flash?这不是移动设备吗?

一旦知道浏览器是否可用,就可以加载相应的内容