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

html - How to set bootstrap input responsive width? -

javascript - Highchart x and y axes data from json -

javascript - Get js console.log as python variable in QWebView pyqt -