ie6 embed youtube not working - javascript

I'm having a problem with youtube embed (iframe) and ie6. I'm currently working on an old site of a client which requires it to support ie6.
The iframe works fine in IE8 above and other browser. But when I checked the page in ie6 in xp (modern.ie images running in virtualbox) it shows error:
"The page cannot be displayed". This only happens on IE6 (running another browser in the same OS - firefox - the iframe works just fine).
I've also tried the <object> method and it only show white page.
Anyone knows how to make this work in IE6, or at least a reason why it doesn't work in that particular browser?
In case this is related: I can't access google's page and its product through IE6 (so I can't check if I can play youtube videos through its website). Maybe this is due to google dropping its support for IE8 under, but I can't find anything actually relate this two after googling for hours.

Related

My site doesnt open from iPhone (iOS 11)?

I have some problems with my website. My site is coded in HTML,CSS and JS.
Everywhere works perfect, Desktop (all browsers), Android (All browsers), in iPhone(iOS.11) doesn't work!!!
I think there may be two problems:
1. When i open the site, i have Loading Page script, and in iPhone it stops there and doesnt open the site.
2. The problem may also be with the new iOS 11, because with earlier iOS(10) was working very well.
Any suggestion, or any site which i can check my errors (debugg) or..?
google didn't solve my problem so i decided to ask, but still can't find the problem!!!
Thanks.
If you have an OSX available you can enable remote debug and see what's happening, most likely something is breaking based on something not being available.

How can I appease Firefox when it is failing with no reported errors?

I have a website under development at Pragmatometer.com, and it seems to display perfectly, so far as I can tell, on Chrome, Safari, Opera, and Edge. Things are not equivalent with Firefox.
The page you will see if you visit the site looks different on Firefox from the others. The initial login screen on all the others is a stretched background via a jQuery plugin. Furthermore, if you create a login page on the other browsers, you will see widgets once you've logged in. On Firefox, it's essentially a white screen of death. Apart from a link at the top right that is directly present in the HTML, not built by ReactJS JavaScript, none of the four basic widgets display. Furthermore, I found nothing interesting in Firefox's debugger; there was a document.getElementById-related error, but it was not in my code and drilling down did not seem to cause anything to surface.
Are there issues with ReactJS and Firefox? I suspect something other and more, as the login screen doesn't use ReactJS and minimally uses jQuery for a background stretcher.
What should I know about developing for Firefox vs. developing with the others, now including Edge?
Thanks,

Website not working in Firefox/Chrome, but does in IE

There is a website that I must use at work quite a bit and the only browser it works on is Internet Explorer.
I'm presuming this is because the code is outdated/incorrect and includes javascript that only IE is able to read.
This is a problem, because I want to use Firefox or Chrome, they are much better browsers.
I believe the issue is Firefox/Chrome (hereinafter referred to as foam) not being able to recognize the following "onclick" command lines. When I press these buttons, the web page does not change as it should.
<button class="MenuButton" title="Create ICL" value="ADDICL" onclick="PageJump('ICLMain.asp?From=ICLHome')">Create ICL
So.... since this is not my website, I cannot re-write all of this code to fix it. It is a corporate owned underwriter website for creating a certain document.
There must be some sort of extension that enables Firefox/Chrome to read Javascript codes like Internet Explorer so that I can use Firefox/Chrome and still use this website.
Try to use chrome extension ie tab, https://chrome.google.com/webstore/detail/ie-tab/hehijbfgiekmjfkfjpbkbammjbdenadd?hl=es. This extension emulate The ie Explorer.
I'm also facing the same problem(Javascript broke). The solution I found is to just add https:// before the link and reload the page and everything will work fine again.

Website functioning on all browsers except Internet Explorer 8

So i just finished up my website and uploaded it (New-ish web dev, please don't be to harsh). It works fine on all browsers except IE8. The website has a lot to load (images, etc.) so it is white screen for 1 - 2 seconds then fades into the actual site. On IE8 (IE9 + works just fine) the page stays on the white 'loading' screen forever. I have a lot of code here and I'm just wondering what you professional web developers here think i should do!
Website URL: http://cydronix.kkhorram.info/
There is two options: forget about IE8 or make it work on IE8.
Sounds like you have a problem with your javascript. To debug javascript on IE8, read this How to debug Javascript with IE 8.
I think one of your included .js files causing the issue. Check for the compatibility of your used javascript files
You said you uploaded the site - could you post the link if its live - otherwise without seeing some code the issue if difficult

stop loading website with a message due to incompatablity

I have developed a simple website using HTML5 and CSS3. I had lots of difficulties making it compatible with browsers other than chrome. "Changing the background image" Animation did not work in Firefox, IE. It worked only in Chrome. I want that visitors of my website should be able access website only if they have chrome, else it should give a warning message, or it may then open the chrome download page. I just don't want visitors to be able to view the "not so pleasant" website that is actually very bad in all other browsers but not chrome.
JavaScript would be good but I don't know anything about it. You can check the website here: http://aspspider.org/samarth
Websites are normally developed to be compatible with most users, not few. I strongly recommend that you redesign your webpage, or at least build a better looking one that doesn't have quite the functionality as Chrome's version, but is still useable by people with IE and FF. Limiting your webpage to people with Chrome is a very bad idea. If you really want chrome users to be able to get the full functionality that you have, then create a separate website in the background that is built for all other browsers. Then, when a user not using chrome loads the Chrome page (by default), then redirect them to the secondary, less functional webpage, and put a notification at the top of the secondary page with something along the lines of`"You are not using Google Chrome. To fully utilize this webpage, please Download google Chrome (That's a link to GC's download page) and reload (link to the default start page) this webpage in that browser instead." The redirect script would be as Merca suggested above:
<script type="text/javascript">
var is_chrome = navigator.userAgent.toLowerCase().indexOf('chrome') > -1;
if (!is_chrome) window.location.href = "nonchrome/IEindex.html"; // redirects to IE & FF compatible webpage
</script>
Try google frame. It could load as soon as client is IE browser:
http://www.google.com/chromeframe?prefersystemlevel=true
Alternatively detect if browser is Chrome using JS:
<script type="text/javascript">
var is_chrome = navigator.userAgent.toLowerCase().indexOf('chrome') > -1;
if (!is_chrome) window.location.href = "/get-chrome"; // or something...
</script>

Categories

Resources