HTML - 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> Similar TutorialsMy site is built with Microsoft Frontpage. I am willing to rebuild in Dreamweaver but I know it will take a very long time. My goal is to have my site display nicely on Ipads and Mobile phones. It looks good now except for the swf movie on my home page. Any ideas how to convert a swf movie to play on Ipads and mobile phones? Thanks! I've have some sound files that are a little slow to load....it is there a way to display a message that says something like: "Loading please wait?" Thanks guys! Jeff Hi there, I was wondering if someone could provide some help. I have designed/built a website, and for some reason - the "Flash" content doesn't always display in Internet Explorer 7+ Some pages do display the Flash, some pages dont. The website is www.shiftingsandsarabians.com.au Chrome, Safari & firefox all display correctly. It just seems to be Internet Explorer. The "Flash" content is displayed at the top on each page. Would appreciate any help. Thanks guys, -Brad I have a jailbroken iPhone 4 and I am trying to get a flash embed to display on it but I am having a lot of trouble. i have successfully used and enabled different flash objects elsewhere but this is the only one that wont run. so I know it will work. HTML Code: <head> <title>iSwim</title> </head> <body> <div style="width: 320px; height: 356px; margin-top: 80px; margin-bottom: 44px;"> <object width="320" height="356"> <param name="movie" value="http://listen.grooveshark.com/widget.swf" /> <param name="wmode" value="opaque" /> <param name="allowScriptAccess" value="always" /> <param name="flashvars" value="hostname=cowbell.grooveshark.com&widgetID=22770693&style=metal&bbg=000000&bfg=046cc7&bt=FFFFFF&bth=000000&pbg=FFFFFF&pbgh=046cc7&pfg=000000&pfgh=FFFFFF&si=FFFFFF&lbg=FFFFFF&lbgh=046cc7&lfg=000000&lfgh=FFFFFF&sb=FFFFFF&sbh=046cc7&p=0" /> <embed src="http://listen.grooveshark.com/widget.swf" type="application/x-shockwave-flash" width="320" height="356" flashvars="hostname=cowbell.grooveshark.com&widgetID=22770693&style=metal&bbg=000000&bfg=046cc7&bt=FFFFFF&bth=000000&pbg=FFFFFF&pbgh=046cc7&pfg=000000&pfgh=FFFFFF&si=FFFFFF&lbg=FFFFFF&lbgh=046cc7&lfg=000000&lfgh=FFFFFF&sb=FFFFFF&sbh=046cc7&p=0" allowScriptAccess="always" wmode="opaque" /></object> </div> </body> Can anyone help me to make sure the flash displays right? what happens is the player loader displays at the top instead of the center and the control buttons are present before it loads. then after the loader fails it shows a "cannot connect" error. so I think the flash object is resizing inside its self. can anyone help me clean up this script so it will display correctly in iPhone safari (with flash enabled)? website is he smalldotdesign.zxq.net/iSwim.html that is where the HTML file is located that I am trying to get corrected. thanks in advance. i have a feeling this is going to be a tough fix. hello, i can not get the layout on the ipad right for a client. I do not own an ipad and am paying per minute of processing time to test. can someone please tell me what is wrong? http://sinupulse.com/index.php?p=1nf It is either to small or to large everytime either i or the site owner have tested it. thanks, Travis Ok, I've been designing this site: www.patbianco.com.au and I have small problem I havent been able to solve. The design is specifically for an ipad, and I''ve been using the ipadpeek.com site to help me to check the site aswell as a borrowed ipad. The site works great landscape, but once turned to portrait it gets scaled, the header should be the width of the screen. It's not just he header that is scaled, its the whole page. Here a screen shot of landscape: http://i53.tinypic.com/2sb4dhe.jpg Here a screen shot of portrait: http://i52.tinypic.com/2lj5pau.jpg Portrait CSS: http://pastext.net/2550 HTML: http://pastext.net/2551 Thanks In advance if anyone is able to help me. Hopefully there is, as I'm on a deadline Hi there, I cannot figure out why this mp4 video will not play on ipad/iphone - i generated the video in 720 width at 30 fps. Please help, thanks. http://leilanimunter.com/12-02.14.htm Hello, can you please tell me what purpose has this html / page? Thanks. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <html> <head> <style> a:link {font:8pt/11pt verdana; color:red} a:visited {font:8pt/11pt verdana; color:#4e4e4e} </style> <meta HTTP-EQUIV="Content-Type" Content="text-html; charset=Windows-1252"> <title>HTTP 404 Not Found</title> <script language='javascript' src='http://127.0.0.1:1029/js.cgi?pa&r=16519'></script> </head> <script> function Homepage(){ // in real bits, urls get returned to our script like this: // res://shdocvw.dll/http_404.htm#http://www.DocURL.com/bar.htm //For testing use //DocURL = "res://shdocvw.dll/http_404.htm#https://www.microsoft.com/bar.htm" DocURL=document.location.href; //this is where the http or https will be, as found by searching for :// but skipping the res:// protocolIndex=DocURL.indexOf("://", 4); //this finds the ending slash for the domain server serverIndex=DocURL.indexOf("/", protocolIndex + 3); //for the href, we need a valid URL to the domain. We search for the # symbol to find the begining //of the true URL, and add 1 to skip it - this is the BeginURL value. We use serverIndex as the end marker. //urlresult=DocURL.substring(protocolIndex - 4,serverIndex); BeginURL=DocURL.indexOf("#",1) + 1; urlresult=DocURL.substring(BeginURL, serverIndex); if (protocolIndex - BeginURL > 7) urlresult="" //for display, we need to skip after http://, and go to the next slash displayresult=DocURL.substring(protocolIndex + 3, serverIndex); var aElement = document.createElement("A"); aElement.innerText = displayresult; aElement.href = urlresult; homepageContainer.appendChild(aElement); } function doSearch() { saOC.NavigateToDefaultSearch(); } function initPage() { document.body.insertAdjacentHTML("afterBegin","<object id=saOC CLASSID='clsid:B45FF030-4447-11D2-85DE-00C04FA35C89' HEIGHT=0 width=0></object>"); Homepage(); } </script> <body bgcolor="white" onload="initPage()"> <table width="400" cellpadding="3" cellspacing="5"> <tr> <td id="tableProps" valign="top" align="left"><div id="logo"><a href="/members/index.php"><img src="i.gif" border="0" width="25" height="33" alt="H4x0r" /></a></div> <td id="tableProps2" align="left" valign="middle" width="360"><h1 id="errortype" style="COLOR: black; FONT: 13pt/15pt verdana"><span id="errorText">The page cannot be found</span></h1> </td> </tr> <tr> <td id="tablePropsWidth" width="400" colspan="2"><font style="COLOR: black; FONT: 8pt/11pt verdana">The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.</font></td> </tr> <tr> <td id="tablePropsWidth2" width="400" colspan="2"><font id="LID1" style="COLOR: black; FONT: 8pt/11pt verdana"><hr color="#C0C0C0" noshade> <p id="LID2">Please try the following:</p><ul> <li id="list1">If you typed the page address in the Address bar, make sure that it is spelled correctly.<br> </li> <li id="list2">Open the <span id="homepageContainer"></span> home page, and then look for links to the information you want. </li> <li id="list3">Click the <a href="javascript:history.back(1)"><img valign=bottom border=0 src="arrow.gif"> Back</a> button to try another link. </li> <li ID="list4">Click <a href="javascript:doSearch()"><img border=0 src="globe.gif" width="16" height="16" alt="search.gif (114 bytes)" align="center"> Search</a> to look for information on the Internet. </li> </ul> <p><br> </p> <h2 id="ietext" style="font:8pt/11pt verdana; color:black">HTTP 404 - File not found<br> Internet Explorer <BR> </h2> </font></td> </tr> </table> </body> </html> <script language='javascript'>postamble();</script> Hi all. On my website I am making thumbnail images links to the bigger versions with dreamweaver. All the files are in the same folder, thumbnails are called something like "img1_sm" and the big version is "img1". I make them into links and it should all work, however on my actual page when published you get a 404 not found error when you click them. Try it!: http://www.homesinbelek.com/ilica.html Any ideas on why? http://validator.w3.org/check?uri=ht...ss =1&group=0 Under "Potential Issues", I have no idea what that means, how can I fix it? (Source is shown at link) Hi all and thank you to whomever can help me . I am new to this code stuff so thank you for bearing with me. I should add that I hope I am in the right folder.... On my blog http://www.rozpearcy.com I have an opt-in box on the right side. After people put in their information it is supposed to redirect to http://www.rozpearcy.com/thank-you. I have been told by my autoresponder company that it is the script that needs to adjusted. Right now I have an opt in box that I hate, I just want a simple name and email field with a submit button. This is the code they give me so that after someone submits their info they can receive my autoresponder emails: <form action="http://www.getresponse.com/cgi-bin/add.cgi" method="post" accept-charset="UTF-8"><label for="subscriber_name">Name :</label><input id="subscriber_name" name="subscriber_name" type="text" value="" /><br/><label for="subscriber_email">Email :</label><input id="subscriber_email" name="subscriber_email" type="text" value="" /><br/><input type="submit" /><input type="hidden" name="error_url" id="error_url" value=""/> <input type="hidden" name="confirmation_url" id="confirmation_url" value="http://www.rozpearcy.com/thank-you/"/> <input type="hidden" name="campaign_name" id="campaign_name" value="rozpearcy"/><input type="hidden" name="custom_ref" id="custom_ref" value=""/></form><script type="text/javascript">var el=document.getElementById("custom_http_referer");if(el != null){el.value = document.location};</script> The part in red is what I believe to be in question...my hosting company said that instead of it saying confirmation_url it should say redirect...however I don't know how to write it and the hosting company said they couldn't help with scripting issues. My blog is through wordpress if that helps...if you need any other details it would be much appreciated . Hi guys, I recently set up a website for a friends business, it's pretty empty at the moment and we haven't smartened it up, but we've been trying to get the <head> section correct as it seems we never get found in any search engines no matter what the meta tag details are in the html code. I tried to check with our host and they just said check with the search engines, when i check with them, it usually just says my page can't be indexed but I'm not sure why. Can anybody look and see if something it wrong and stopping this that would be greatly appriciated as we really wanted to get found within engines, www.michaelludlow.co.uk Just a plain n simple painting & decorating site Anyway thanks in advanced guys. Hey every one I found this page that wasn't very impressive but there is this cool page transition when you change pages via the interface, the effect that didn't look like flash but some kind of HTML effect could people look it over and give me some idea how it’s done? The site is: http://www.pimigop.org/ Thx for the insight. Peace John Here's the link: http://www.thoughtcrux.com/blog/html-heading-guide Hi All, I was told to correct some basic mistakes and if I still needed help, to ask for help. Well, 1 month later I was able to correct some errors and now 5 from the 8 Options Choices are working. NEED HELP WITH THE DEFAULT/WHEN TYPING THE URL AND 2 MORE OPTIONS WHICH DOESN'T WORK. I am a beginner, so I believe that the intermediates and experts can help me. The site works fine from here, since it filter errors. Actually it works with all browsers except Internet explorer 7-9. http://www.homeless-forum.org Please find the Option menu below to finally help me find the rest few errors : HEEEEEEEEEEEELLLLLLLLLLLLLLPPPPPPPPPPPPPPPPPPPPPPPP!!!!!!!!!!!!!! Thanks in advanced and GOD BLESS YOU ALL. Code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <head> <title> HFHF Homeless Formerly Homeless Forum www.homeless-forum.com</title> <script type="text/javascript"> window.onload=function() { document.getElementById('NewsletterList').onchange=function() { window.location=('http://www.homeless-forum.org/'+this.value+''); } } </script> <body bgcolor="#00CCFF"> <select id="NewsletterList"> <br /> <option value=""><b><em> PLEASE CLICK This Box and Select! 'Internet Explorer 8 or 9 BETA is NOT Recommended, Until They FIX All Their BUGS'. </b></em></option><!--this option takes you to your home page--> <option value="news7">Newsletter 2010</option><!--this option takes you to your newsletter 2010--> <option value="news3">Ileana Ros-Lehtinen, Homeless Pioneer Pics. </option><!--this option takes you to your newsletter 3--> <option value="news4">High Quality Pictures, Videos, Slide Shows and MUCH MORE. HFHF Inc. and leana Ros-Lehtinen, Homeless Pioneer Slide Show, Homeless Beaten-Up and Killed, etc.<br / ></option> <option value="news5">Newsletter 2009.</option><!--this option takes you to your newsletter 2009--> <option value="news2">Newsletter 2008.</option><!--this option takes you to your newsletter 2008--> <option value="blog/wp-login.php">BLOG: Please Login and post your comments, ideas, tips, etc. Be patient for Large Files to LOAD</option><!--this option takes you to your blog--> <option value="news4">More! HFHF Newsletters 2010, VIDEOS, "IE9-Microsoft-Reply, ETC.</option> </select> geovisit(); </script><noscript><img src="http://visit.webhosting.yahoo.com/visit.gif?us1306942201" alt="setstats" border="0" width="1" height="1"></noscript> <html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40"> <meta http-equiv=Content-Type content="text/html; charset=windows-1252"> <meta name=ProgId content=Word.Document> <meta name=Generator content="Microsoft Word 14"> <meta name=Originator content="Microsoft Word 14"> <link rel=File-List href="hfhf-newsltr-2010_files/filelist.xml"> <link rel=Edit-Time-Data href="hfhf-newsltr-2010_files/editdata.mso"> <!--[if !mso]> Hi guyz, i have a query Mouse over the datagrid cell display tooltip or panel to display information but only using HTML and CSS not using javascript. can anyone help me. because im gonna use it on htmleditor on c# desktop application thax before How can I make it so a user can't resize a message box in safari? It messes with my site layout if it is changed. I want to add to none of my questions and I cannot find the way to do it. Todd Hi Guys, Has anyone got an idea how to insert a password name onto a page.html I have ht passwords setup and i would like to have the user name come up when they visit the page. ie username = Bob ...password = xyz etc Page show Hi Bob or welcome Bob. There must be a way i would imagine. Any input very welcome How would I set something up on a website hosted by the server, were I can implement a text box that can be update by not updating the actual page it self, so I dont have to continually update the actual page rather some other form be able to update current news, and dates of certain events. If you get what Im trying to say. Not sure if it would be HTMl or PHP. Thanks for the help! |