homepage Welcome to WebmasterWorld Guest from 107.21.163.227
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe and Support WebmasterWorld
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
Forum Library, Charter, Moderator: open

Flash and Shockwave Forum

    
iPad Safari and flash content
slide show created w. Flash doesn't display in Safari browser on IPad
KatrinR




msg:4156613
 6:55 am on Jun 22, 2010 (gmt 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

 

youfoundjake




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

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




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

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




msg:4156948
 4:53 pm on Jun 22, 2010 (gmt 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.

incrediBILL




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

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

rocknbil




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

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

Demaestro




msg:4157833
 7:44 pm on Jun 23, 2010 (gmt 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.

Demaestro




msg:4157847
 8:00 pm on Jun 23, 2010 (gmt 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]

incrediBILL




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

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




msg:4157857
 8:05 pm on Jun 23, 2010 (gmt 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 ;)

KatrinR




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

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

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved