How to show image if Flash not installed or supported by browser

This article was written by in March 1, 2015, & may not be posted on other sites!
Original source url for this article: How to show image if Flash not installed or supported by browser

How to show image if flash not installed or supported?
If the visitor doesn’t have flash installed, or is visiting your website with a device that doesn’t support Flash, you can show them an image instead. Iphones and Ipads are one example of devices not supporting flash at this moment. This is how to show image if flash not installed or not supported.

How to show image if flash not installed or supported

 

 

How to show image if flash not installed

This is how to show image if flash is not installed or not supported. Simply put an image tag <img> inside the <object> element. Something like this:

<object width='500' height='200' type='application/x-shockwave-flash' data=movie.swf'>
<param name='movie' value='movie.swf' />
<img src='images/movie.jpg' width='500' height='200' alt='My alt text' />
</object>">

or this:

<object width='500' height='200' type='application/x-shockwave-flash' data=movie.swf'>
<param name='movie' value='movie.swf' />
<embed src="movie.swf" width="500" height="200"></embed>
<img src='images/movie.jpg' width='500' height='200' alt='My alt text' />
</object>">

 

 

Spread the word

Facebooktwittergoogle_pluslinkedinmail

Leave a Reply

Your email address will not be published. Required fields are marked *