javascript - How can I show Privacy dialog popup to ask visitor to allow flash plugin for browser? -


how can show privacy dialog popup ask visitor allow flash plugin browser using java script or whatever?

so need popup 1 in image:

popup-to-enable-flash

i read if used swfobject automatically pop-up show if not enabled, tried , did not work me. tried lot of solutions version of flash plugin try trigger pop-up, , none of solutions tried worked me like:

if(browsername()=="chrome") { plugindetect.getversion("."); var version = plugindetect.getversion('flash'); } 

thank you.

i found solution pul tag , check if flash exists , not enabled ask enable it, if not exists redirect downlad page

<a href="http://www.adobe.com/go/getflashplayer/" class="button">get flash player</a> 

or:

<a href="https://get.adobe.com/flashplayer/" class="button">get flash player</a> 

Comments

Popular posts from this blog

networking - Vagrant-provisioned VirtualBox VM is not reachable from Ubuntu host -

c# - ASP.NET Core - There is already an object named 'AspNetRoles' in the database -

ruby on rails - ArgumentError: Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true -