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

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -