Solved

Replace Flash with Image if ipad, iphone, etc. browser

Posted on 2013-06-15
3
434 Views
Last Modified: 2013-06-16
How can I replace a swf file with an image file if the user is using an iphone or "non-flash" browser? I have the swf displaying in an iframe.

<iframe seamless="seamless" src="Images\TIHeader.swf" name= "iframe1" width ="100%" height="200" align="left" scrolling="no" frameborder="0" class="roundmid" id="frame1" onload="resize_iframe()" overflow="yes"></iframe>
0
Comment
Question by:Turfimage
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 58

Expert Comment

by:Gary
ID: 39250810
What is the code for the iFrame i.e. the flash.
If you are using the object tag you can include a fallback

<object type="application/x-shockwave-flash">
  ...
  ..
  <img src="images/fallback.jpg" />
</object>
0
 

Author Comment

by:Turfimage
ID: 39250896
I dont have any object tags... Im calling the flash using the iframe so it will resize with the browser... does the iframe have a fallback object?
0
 
LVL 58

Accepted Solution

by:
Gary earned 310 total points
ID: 39251343
Instead of calling the swf directly, place that flash in an object code block (like the example above) and in it's own page and change the iframe src to this new page.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
how can i make amazon approved mobile url 4 40
Intranet Site for Medical Practice 7 52
.CSS HTML Help 3 28
calculate days away 11 30
An enjoyable and seamless user experience can go a long way on an eCommerce site. While a cohesive layout and engaging copy play roles in creating a positive user experience, some sites neglect aspects that seem marginal but in actuality prove very …
Developer portfolios can be a bit of an enigma—how do you present yourself to employers without burying them in lines of code?  A modern portfolio is more than just work samples, it’s also a statement of how you work.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question