Can I display a message when Flash is not found on the iPad?

Apple is obviously rejecting Flash to protect it's 'App' revenue.  I've  been on Android phones that run Flash and display all my content  perfectly smooth.  It can be quite frustrating how they are trying to  bury it when I still have yet to see HTML5 replicate the type of  interactive content Flash is capable of producing. 
Is there any way to display a message on the iPad when the Flash player is not found?
I'd like it to says something along the lines of:
"Unfortunately the Apple iPad does not support the Flash player  because their business interests do not want it taking away from their  App revenue.
Did you know that the Dell Streak, HTC Flyer, Blackberry Playbook,  Motorola Xoom, Samsung Galaxy Tab, Toshiba Thrive, and HP Touchpad all  support the Flash player?"
My HTML code looks something like this...
<html>
<head>
<title>My Page</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#ECECEC" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<body onresize="setFlashSize()">
<div id="flashid" style="width:100%; height:100%;">
<script type="text/javascript" language="JavaScript">
function setFlashSize(){
var viewportheight = document.body.clientHeight;
var viewportwidth = document.body.clientWidth;
var mydiv = document.getElementById("flashid");
var styleheight = parseInt(mydiv.style.height);
var stylewidth = parseInt(mydiv.style.width);
if (viewportwidth<880){
document.getElementById("flashid").style.width = 880+"px"; }
else {
document.getElementById("flashid").style.width = 100+"%";}
if (viewportheight<760){
document.getElementById("flashid").style.height = 760+"px"; }
else {
document.getElementById("flashid").style.height = 100+"%";}
setFlashSize();
document.write('<object data="index1.swf" width="100%" height="100%" type="application/x-shockwave-flash">');
document.write('<param name="movie" value="index1.swf" />');                      
document.write('<param name="allowScriptAccess" value="always" />');       
document.write('</object>');
</script>
<noscript>Javascript must be enabled to view Flash movie</noscript>
</div>
</body>
</html>

You can parse out the userAgent property of browser. Here's an article that will point you in the right direction: http://www.askdavetaylor.com/detect_apple_iphone_user_web_site_server.html

Similar Messages

  • Any way to display a message when Flash is not found on the iPad?

    Apple is obviously rejecting Flash to protect it's 'App' revenue.  I've  been on Android phones that run Flash and display all my content  perfectly smooth.  It can be quite frustrating how they are trying to  bury it when I still have yet to see HTML5 replicate the type of  interactive content Flash is capable of producing. 
    Is there any way to display a message on the iPad when the Flash player is not found?
    I'd like it to says something along the lines of:
    "Unfortunately the Apple iPad does not support the Flash player  because their business interests do not want it taking away from their  App revenue.
    Did you know that the Dell Streak, HTC Flyer, Blackberry Playbook,  Motorola Xoom, Samsung Galaxy Tab, Toshiba Thrive, and HP Touchpad all  support the Flash player?"
    My HTML code looks something like this...
    <html>
    <head>
    <title>My Page</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    </head>
    <body bgcolor="#ECECEC" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
    <body onresize="setFlashSize()">
    <div id="flashid" style="width:100%; height:100%;">
    <script type="text/javascript" language="JavaScript">
    function setFlashSize(){
    var viewportheight = document.body.clientHeight;
    var viewportwidth = document.body.clientWidth;
    var mydiv = document.getElementById("flashid");
    var styleheight = parseInt(mydiv.style.height);
    var stylewidth = parseInt(mydiv.style.width);
    if (viewportwidth<880){
    document.getElementById("flashid").style.width = 880+"px"; }
    else {
    document.getElementById("flashid").style.width = 100+"%";}
    if (viewportheight<760){
    document.getElementById("flashid").style.height = 760+"px"; }
    else {
    document.getElementById("flashid").style.height = 100+"%";}
    setFlashSize();
    document.write('<object data="index1.swf" width="100%" height="100%" type="application/x-shockwave-flash">');
    document.write('<param name="movie" value="index1.swf" />');                      
    document.write('<param name="allowScriptAccess" value="always" />');       
    document.write('</object>');
    </script>
    <noscript>Javascript must be enabled to view Flash movie</noscript>
    </div>
    </body>
    </html>

    Use swfobject for Flash detection and you can provide all kinds of alternate content... simple text, images, links, .js slideshow, a mov or mp4 video just for the iPhone... ANYTHING this is regular HTML. Your imagination is the only limit.
    And YES, HTML5 is a far cry from replicating Flash... so give them the best of both worlds.
    http://code.google.com/p/swfobject/
    Review this article which deals with Flash and SEO for more ideas:
    If you think that Flash is somehow bad for SEO, it's time to dispell that MYTH!
    If fact, in some circumstances I'll use Flash INSTEAD of just HTML because then I'll have better SEO than with just HTML alone.
    http://www.worldbarefootcenter.com/
    The link to World Barefoot Center in the above post is just one example. View the source code and you see a couple paragraphs of text along with regular HTML links.... but what displays is the Flash version of the image and Flash links.
    The client provided the artwork for the page... and that's what they wanted to use a .jpg image. Well yes, that could be done in HTML but it would be virtually invisible to Google. So Instead I converted the image into a Flash .swf and used swfobject to display the Flash. swfobject allows you to create alternate content inside the <div> which also holds the Flash .swf, then when the page is loaded it detects if the browser has the Flash pluggin. If it does, it displays just the Flash content, if not, it displays the alternate content. Since almost everyone has the Flash pluggin, for most people the Flash version of the <div> will display.
    The alternate content for that <div> can be any regular HTML text, images, media player, links, etc., anything that you would use if you were not using the Flash. Now the best part is that the alternate content can be "over the top" as far as optimizing for SEO, since it will not be seen by most viewers.
    Here's another example of SEO with Flash.. again, the page is just a single image provided by the client:
    http://www.ksowetsuits.com/
    View the source code. The alt content is paragraph after paragraph of information about the site, including lists and links. If it was just the HTML, it might be kind of a boring Home page. But for SEO I can go "over the top" in promoting the site, since most viewers will never see that part... but it's all indexed by search engines. The end result is BETTER SEO using Flash than just HTML.
    On another Web site, a Flash video is displayed, the alt content is the complete text narration of the video. Now how many people would take the time to read that if they could just watch the video instead?? again, better SEO with Flash than without. In fact in one case we had first page search result from that video narration within 4 hours of posting the page.
    On still another site with a Flash video, the alt content is another video, but a .mov version, which will, in effect play Flash video on the iPhone (not possible you say??). Well since the iPhone does not have Flash pluggin, it simply displays the .mov version of the video, while everyione else sees the Flash version.
    So anyway, if Flash is a part of your Web development, you should look into using swfobject and alternate content.
    http://code.google.com/p/swfobject/
    Best wishes,
    Eye for Video
    www.cidigitalmedia.com
    Adninjastrator

  • I have a new Ipad air. I have synced it to my PC before. This time I get an error message saying iTunes could not connect to the iPad because the device time out - what do I do?

    I have a new Ipad air. I have synced it to my PC before. This time I get an error message saying iTunes could not connect to the iPad because the device time out - what do I do?

    Quit iTunes, restart your computer, reset the iPad and try again.
    Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.

  • Error message when hyperlink page not found

    I have setup hyperlink for one of the field. I would like to display error message when hyperlink page is not exists. Currently it displays standard page not found error.
    Message was edited by:
    user448086

    This sometimes is the result of firewall software protecting you from changed applications. Or it might be something else. Can you review this article and see whether it helps: [[Firefox can't load websites but other browsers can]].

  • Internal error message when trying to download apps to the ipad 3

    How do you fix the internal error when trying to download apps to the ipad 3?  It won't let me download anything.  HELP?  How do I fix this?  New to the IPAD world.  Thank you.

    iTunes: Specific update-and-restore error messages and advanced troubleshooting
    http://support.apple.com/kb/TS3694
    You can download a complete iPad User Guide here: http://manuals.info.apple.com/en/ipad_user_guide.pdf
    Also, Good Instructions http://www.tcgeeks.com/how-to-use-ipad-2/
    Apple - iPad - Guided Tours
    http://www.apple.com/ipad/videos/
    Watch the videos see all the amazing iPad apps in action. Learn how to use FaceTime, Mail, Safari, Videos, Maps, iBooks, App Store, and more.
    You can download this guide to your iPad.
    iPad User Guide for iOS 5
    http://itunes.apple.com/us/book/ipad-user-guide-for-ios-5/id470308101?mt=11
     Cheers, Tom

  • When trying to sync my iPad I am getting a message stating " iTunes could not connect to the iPad "iPad" because an error occurred while reading the device

    When trying to sync my iPad I am getting a message stating that iTunes could not connect to the iPad "iPad " because an error occurred while reading from the device

    Hi Centreless,
    If you have difficulty with your iPad not being able to connect to iTunes in order to sync, you may want to try the troubleshooting steps in this article -
    iOS: Device not recognized in iTunes for Windows
    http://support.apple.com/kb/TS1538
    Thanks for using Apple Support Communities.
    Best,
    Brett L

  • HT204022 My Pc downloaded all photos to ipad when I first synched it. Now ipad is full! How can I delete those photos as they were not taken with the ipad! Please...

    When I first bought my ipad and connected it to my PC ten years worth of photos were downloaded ont ipad. It is now full! Cannot delete them as they were not taken with the ipad. Can anyone tell me how to delete them? Apple Store been very unhelpful.
    Many thanks

    photos that were synced to the pad can only be deleted by re syncing.   When you do the resync, on your computer running i tunes, select the photo tab, and uncheck anything you do not want put back on your pad.

  • ITunes error message - "video format is not supported by the iPad" My video is mp4, mpeg-4.

    When syncing my iPad 2....  Why do I get this iTunes error message? "video format is not supported by the iPad"
    My video is mp4, another is mpeg-4.
    I thought the iPad 2 could play almost any format.

    Must conform to these specs:
    Video formats supported: 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
    Or download an alternate video player,such as avplayerhd.

  • Message when price is not found

    Hi guys,
    I am a SD student, when creating an invoice if there is not a pricing procedure in place I got a warning message, but if a pricing procedure is in place but there is not a price for the material, the system doesnu2019t display any warning, the value of the invoice is zero and still let me save the invoice, what I want is to display the message u201C Price for material XXXX not found, invoice canu2019t be saved u201C and not let the user save the invoice.
    I would really appreciated any help
    Thanks

    Before posting message in the forum, please search the forum first. If you don't find details, then you can post. For example, for your query refer the link Pricing warning message The other method is make the condition type as mandatory in the pricing procedure in t.code V/08.
    Regards,

  • Can SCCM 2012 alert me when new devices are found on the network?

    I have a single SCCM 2012 SP1 CU4 server running on Windows Server 2012.  I use it primarily for Endpoint Protection and Windows Updates.
    I have 18 locations in my organization.  I am having a problem with a particular remote site buying their own IT equipment (computers, switches, access points, etc.).  I was wondering if it is possible for my SCCM server to e-mail (alert) me whenever
    it detects a new device on the network?  Or should I be looking at
    SCOM for something like this?  If SCCM will not do this, can anyone suggest some freeware that might do what I am looking for?
    Thanks!

    The answer to that would be ... it depends.
    If the computers are domain joined and your AD discovery method is enabled they will end up in the ConfigMgr database. From that point onward you could create a custom reports that lists these systems. You can subscribe to the report to get it through email.
    For network devices you could also do something similar but initially you would have to enable network discovery in ConfigMgr.
    Highly impractical IMO. I seriously doubt this could ever work in a production environment of any real size.
    In addition.... Network discovery in CM is nasty!
    John Marcum | http://myitforum.com/myitforumwp/author/johnmarcum/

  • XAI Outbound Message with status complete not found in the Source Folder.

    hi
    I Configured XAI to send a flat file into a source folder but even after all my message are in complete stage in CC&B but i can not find the file in the source folder.
    Please help
    Edited by: findabhi on Jun 2, 2010 5:00 AM

    Please check mpl.log which can be found in <environment>\logs\system
    When MPL is started you will see something like the following in the log file for an XAI Sender using the FLATFILESNDR XAI Class where <XAI SENDER name> equals the name of the XAI Sender you created.
    [Tue Jun 01 16:36:15 CEST 2010] Initializing Sending manager.
    [Tue Jun 01 16:36:15 CEST 2010] Sender <XAI SENDER name> - File name pattern is C:\spl\sploutput\ccb230d1\Message$$ID.xml
    [Tue Jun 01 16:36:15 CEST 2010] Sender <XAI SENDER name> - Append is off
    [Tue Jun 01 16:36:15 CEST 2010] Sender <XAI SENDER name> - File encoding is UTF-8
    [Tue Jun 01 16:36:15 CEST 2010] Sender <XAI SENDER name> - The DateTime format 'yyyyMMddmmss' will be used to append to a file name.
    [Tue Jun 01 16:36:15 CEST 2010] Sender "<XAI SENDER name>" initialization completed.
    What does your log file say? Please note I have Windows VM with CC&B so I can access C:\... without any issues. If you're using a different OS, make sure the file path is correct (check forward - backward slashes) and CC&B has permission to write to the designated file path.

  • I am trying to open an interactive chart but I am getting a message saying i need flash and it is not compatible with the iPad, is this correct or is there some way around it. Thank you.

    I am trying to open an interactive chart but I am getting a message saying I need to install flash but it is not compatible with iPad, is this correct or is there some way around it. Thank you.

    Flash is not supported on the iPad - and as Adobe have never managed to make a version of their flash player that works on iOS devices, and they have recently announced that they are stopping development on all mobile versions of it, it probably never will be
    Browser apps such as Skyfire, iSwifter, Puffin and Photon 'work' on some sites, but judging by their reviews not all sites. Also some websites, especially news sites, have their own apps in the App Store.

  • My email was working fine on my i -phone s for 3 weeks and now i cannot receive or send e-mails on the same account, i have deleted the account and tried to add it again it comes up with messages like 'yahoo server not found' or asks me to keep typing my

    How can i set up my email account on my i-phone s 4 . it was working fine up till saturday. The icloud account works fine
    I have deleted and added again but it says i cannot send or receive emails even if i save acccount.Asks me to type in my password which i keep doing without results, i have even had to change my password in the process. I also comes up with a message saying 'yAHOO SERVER NOT FOUND' WITH THE MESSEANGER IT SAYS YOU CANNOT SIGN IN NOW TRY LATER. I HAVE BEEN ON THE ISSUE SINCE 10 AM

    it seems that after a upgrade these days you get problems ???
    Sadly so far too often.
    Since it's on more than one, I think you should contact BT, there are several 5.7.1 meanings...
    https://support.google.com/a/answer/3726730?hl=en

  • How can I solve this error message? Some of your photos, including the photo "IMG_0374.jpg", were not copied to the iPad "(my name's) iPad" because they cannot be displayed on your iPad.

    how can I solve this error message? "Some of your photos, including the photo “IMG_0374.jpg”, were not copied to the iPad “(my name’s) iPad” because they cannot be displayed on your iPad."
    There were 273 photos in the event syncing from my Mac, but only the last 103 made it to the ipad. Most of the photos were taken by an iphone. I would appreciate any thoughts or insights - thanks.

    Adrian-
    That error message suggests the photo is somehow corrupt.
    Do you have the Apple Camera Connection Kit?  You can set up a USB thumb drive with MS-DOS FAT-32 format and copy your photos to it into a folder named DCIM.  Assuming they have an 8 character plus suffix name, the iPad will recognize them and give you the option of transferring them via the Kit's USB adapter.
    Once they are transferred, you can find out if there is a problem with any.
    Fred

  • Error message when connecting to iTunes says my new iPad 4 can't be connected as it requires version 10.7 or later. Surely a new iPad already has the latest version, and if it doesn't how do I get it?

    Error message when connecting to iTunes says my new iPad 4 can't be connected as it requires version 10.7 or later. Surely a new iPad already has the latest version, and if it doesn't how do I get it?

    Not the iPad - your computer must be running iTunes 10.7 in order to sync. It has nothing to do with iTunes on the iPad.
    You can download iTunes for your computer here.
    http://www.apple.com/itunes/

Maybe you are looking for

  • Help with launchpad organization

    I want to use the Launchpad to organize my applications while leaving the Applications folder untouched (a large flat list of stuff since experience taught me that trying to organize programs there in subfolders might lead to problems with some appli

  • What's the difference between | and ||

    I have three strings and if even one of them is null (s1 == null), I need to do something. So I have this: if( s1 == null | s2 == null | s3 == null)    //action code }Yet the action code is occuring even if none of the strings are null.

  • App-V package update best way to deploy?

    Hello<o:p></o:p> I have updated for an App-V 5 package that is currently targeted to users via an application deployment with an WMI AD Group membership query.<o:p></o:p> What is best way for current users to receive the updated APP-V package ? Do I

  • WPAD:80....??? What's that about???

    My ipad was working fine this morning and then all of a sudden starts asking for a wpad:80 user name and password..... tried normal Apple ID and nothing clears it. Won't let me connect to the internet.... Also when I try and access TV content via Vid

  • CME Call Pickup Sample

    I need to create a new call pickup group and need assistance. Does anyone have a sample config for setting up a call pickup group? Thanks