Solved

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

Posted on 2013-06-15
3
431 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
  • 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

FAQ pages provide a simple way for you to supply and for customers to find answers to the most common questions about your company. Here are six reasons why your company website should have a FAQ page
Color can increase conversions, create feelings of warmth or even incite people to get behind a cause. If you want your website to really impact site visitors, then it is vital to consider the impact color has on them.
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

777 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