Welcome to WebmasterWorld Guest from 174.129.66.66

Forum Moderators: open

Message Too Old, No Replies

iPad Safari and flash content

slide show created w. Flash doesn't display in Safari browser on IPad

     
6:55 am on Jun 22, 2010 (gmt 0)

New User

5+ Year Member

joined:May 19, 2007
posts: 40
votes: 0


Greetings,
Friends just got an iPad. Upon opening their website (in Safari) that I had created they aren't able to see the flash slide show that I implemented in the html code.
I haven't worked with Mac/Safari browsers much, yet read about the flash - Mac/Safari problem when searching for a solution to the missing flash content display. Is there any downloadable add-on for Safari or the iPad that makes it possible to see this simple flash content?
TYIA
Katrin
7:07 am on June 22, 2010 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Apr 28, 2006
posts:1043
votes: 1


From what I understand, Flash will not be supported on the iPad, but as far as Safari running on a PC or a Mac, I think it will still work. At least on my Windows 7 PC it did, you may have to verify on a Mac.
[apple.com...]
7:12 am on June 22, 2010 (gmt 0)

Administrator from US 

WebmasterWorld Administrator incredibill is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Jan 25, 2005
posts:14662
votes: 95


The only option I know of is converting your flash file to an AVI or MPG movie.

Blame Steve Jobs, he doesn't think anyone uses Flash anymore, claims it's irrelevant.
4:53 pm on June 22, 2010 (gmt 0)

Senior Member

WebmasterWorld Senior Member rocknbil is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Nov 28, 2004
posts:7999
votes: 0


Upon opening their website (in Safari) that I had created they aren't able to see the flash slide show that I implemented in the html code.


Here is what you can (and should) do.

If you embedded your slide show in the page correctly, you did it **something** like this. This won't work with the invalid code generated by the embed inside the object tags.

<div id="slideshow_container"><img id="slideshow_placeholder" src="/images/slideshow-placeholder.gif"></div>

OK? So if you use SWFObject and Flash is enabled or working, it will replace the contents of the div slideshow_container with the Flash object, which runs on it's own.

However, it won't do that if Flash is not detected by SWFobject. So you have Javascript code **something** like this.


window.onload=function() {
if (document.getElementById('slideshow_container')) {
loadFlash();
}
if (document.getElementById('slideshow_placeholder')) {
playSlideShow();
}
};


Where loadFlash initiates the SWFOject write, and playSlideShow is any one of the millions of Javascript slide show players out there.

The basic logic is, if SWFObject can start the flash, the image - slideshow_placeholder - is replaced, so it ceases to exist in the document. The subsequent test for it's ID fails and does nothing.

If Flash cannot be inserted, slideshow_placeholder persists in the document and the Javascript slideshow plays. True, it won't be anywhere as graceful as a Flash implementation but the images are still accessible this way.

No Javascript? You get the one static image, it will have to do.
8:23 pm on June 22, 2010 (gmt 0)

Administrator from US 

WebmasterWorld Administrator incredibill is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Jan 25, 2005
posts:14662
votes: 95


@rocknbil - still doesn't solve her problem of no flash on an iPad
7:01 pm on June 23, 2010 (gmt 0)

Senior Member

WebmasterWorld Senior Member rocknbil is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Nov 28, 2004
posts:7999
votes: 0


But it does present alternate content in which the slide show will play. Like you said, Jobs has no intention of supporting Flash.
7:44 pm on June 23, 2010 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Dec 15, 2003
posts:2606
votes: 0


iPad wants it in HTML5

iBill, maybe I am mistaken but I thought AVI wasn't supported by Quicktime on iOS which is what would play it if it loaded.

I know less then 4 months ago my iPhone's quicktime won't play AVI, but perhaps that is different or changed on the iPad.
8:00 pm on June 23, 2010 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Dec 15, 2003
posts:2606
votes: 0


Well I did a little looking and yes the iPad is now supporting 1 type of AVI file.

It must be:
Motion JPEG (M-JPEG) up to 35 Mbps, max 1280 by 720 pixels, 30 frames per second, audio in ulaw, PCM stereo audio in .avi file format

The iPhone 4 supports:
H.264 video up to 720p, 30 frames per second, Main Profile level 3.1 with AAC-LC audio up to 160 Kbps, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats; MPEG-4 video, up to 2.5 Mbps, 640 by 480 pixels, 30 frames per second, Simple Profile with AAC-LC audio up to 160 Kbps per channel, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats; Motion JPEG (M-JPEG) up to 35 Mbps, 1280 by 720 pixels, 30 frames per second, audio in ulaw, PCM stereo audio in .avi file format.

[edited by: Demaestro at 8:04 pm (utc) on Jun 23, 2010]

8:01 pm on June 23, 2010 (gmt 0)

Administrator from US 

WebmasterWorld Administrator incredibill is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Jan 25, 2005
posts:14662
votes: 95


iBill, maybe I am mistaken but I thought AVI wasn't supported by Quicktime on iOS which is what would play it if it loaded.


That's why I suggested AVI or MPG, I'm not an Apple person (nor do I play one on TV) so I was just throwing various options out there.
8:05 pm on June 23, 2010 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Dec 15, 2003
posts:2606
votes: 0


Well you were right. AVI is now supported but it is very specific in the encoding it is in.

You are just that good, threw out a guess and it was right ;)
6:38 am on June 25, 2010 (gmt 0)

New User

5+ Year Member

joined:May 19, 2007
posts: 40
votes: 0


Thank you all for your replies!
I will try to convert the slide show into avi, and see if it works.
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members