Flash detect to replace swf with gif?
Is it possible within Joomla to do a browser check and then display either an swf file or a gif alternative if the viewers browser doesn't support Flash?
I have a swf banner advert on my site but the client wants it to work on mobile browsers (i-phone etc) but most do not play swfs so I need to be able to display a gif instead. |
you can use this to display what ever you need when specific browser is used
PHP conditional comments |
but if you need specific code if player is not installed than you need something like flash required code than see this
deconcept You’ve got your good thing, and I’ve got mine SWFObject: Javascript Flash Player detection and embed script this also depends what type of the player you are using |
Thanks Neo, I got the Javascript Flash Player detection and embed script working on a static html page but not sure where I'd need to place it within the Joomla site to make it work (index.php?)
|
Actually, i think I've answered my own question. thanks for your help
|
| All times are GMT -4. The time now is 06:55 PM. |
Powered by vBulletin®
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.