Welcome to WebmasterWorld Guest from 54.234.63.187

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

     

KatrinR

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

5+ Year Member



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

youfoundjake

7:07 am on Jun 22, 2010 (gmt 0)

WebmasterWorld Senior Member 5+ Year Member



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...]

incrediBILL

7:12 am on Jun 22, 2010 (gmt 0)

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



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.

rocknbil

4:53 pm on Jun 22, 2010 (gmt 0)

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



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.

incrediBILL

8:23 pm on Jun 22, 2010 (gmt 0)

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



@rocknbil - still doesn't solve her problem of no flash on an iPad

rocknbil

7:01 pm on Jun 23, 2010 (gmt 0)

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



But it does present alternate content in which the slide show will play. Like you said, Jobs has no intention of supporting Flash.

Demaestro

7:44 pm on Jun 23, 2010 (gmt 0)

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



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.

Demaestro

8:00 pm on Jun 23, 2010 (gmt 0)

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



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]

incrediBILL

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

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



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.

Demaestro

8:05 pm on Jun 23, 2010 (gmt 0)

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



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 ;)

KatrinR

6:38 am on Jun 25, 2010 (gmt 0)

5+ Year Member



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

Featured Threads

Hot Threads This Week

Hot Threads This Month