internet-explorer-9

HTML5 - mp4 video does not play in IE9

北战南征 提交于 2019-12-17 04:29:04
问题 I have an mp4 video that I want to play in IE9 using HTML5 <video> tag. I added the MIME type to IIS 7 so if I browse http://localhost/video.mp4 it plays in both Chrome and IE9 but not in HTML5, Chrome plays the video in HTML though. Here's the code: <html> <body> <video src="video.mp4" width="400" height="300" preload controls> </video> </body> </html> Any ideas? Thanks UPDATE: Tried the same file in Firefox 5.0 and it didn't work either, only Chrome is able to play the mp4 video. 回答1: for

HTML5 doctype putting IE9 into quirks mode?

久未见 提交于 2019-12-17 04:15:33
问题 I'm trying to get IE9 to load my page with IE9 standards... I noticed having <!DOCTYPE HTML> puts the damn thing into quirks mode... Which pretty much breaks everything on page... How do I get IE to stick to IE9 Standards? 回答1: Placing: <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> in the <head> tag should do it. 回答2: Make sure you don't have any HTML comments before the DOCTYPE declaration otherwise it will trigger IE9 to use quirks mode. Just having <!DOCTYPE html> at the

JavaScript: Can I detect IE9 if it's in IE7 or IE8 compatibility mode?

大兔子大兔子 提交于 2019-12-17 04:15:15
问题 I need to know if the browser that's identifying itself via user agent string as being IE7 or IE8 is really those browsers, or whether it's IE9 in 7 or 8 compatibility mode. From what I can see in the user agent string, an IE9 in IE7 compatibility mode, provides an identical string to a real IE7. Is there an extra property/element/object that I can test to see if it's "really" IE9 in disguise? I assume the document mode won't help as the page my script is loaded into could either be forcing

IE9 JavaScript error: SCRIPT5007: Unable to get value of the property 'ui': object is null or undefined

主宰稳场 提交于 2019-12-17 03:55:32
问题 My website works well on Chrome, Firefox, and Internet Explorer 8. But on Internet Explorer 9, very weird errors are triggered when just hovering over components. SCRIPT5007: Unable to get value of the property 'ui': object is null or undefined ScriptResource.axd?d=sTHNYcjtEdStW2Igkk0K4NaRiBDytPljgMCYpqxV5NEZ1IEtx3DRHufMFtEMwoh2L3771sigGlR2bqlOxaiwXVEvePerLDCL0hFHHUFdTOM0o55K0&t=ffffffffd37cb3a1, line 181 character 1914 And following the link to the error in the javascript shows me these bits

PowerShell IE9 ComObject has all null properties after navigating to webpage

血红的双手。 提交于 2019-12-17 03:22:27
问题 I have a PowerShell script that navigates to a (presumably) classic ASP page on our intranet to stop a Windows Service running on our server as part of the deployment process for that service (and restarts it after deploying the new files). It ran fine until we recently upgraded to IE9. Here's the script. # Open service page in IE $ie = new-object -comobject InternetExplorer.Application $ie.visible = $true $ie.navigate($serviceUrl) while($ie.busy) { start-sleep 1 } # Stop service $ie.Document

PowerShell IE9 ComObject has all null properties after navigating to webpage

佐手、 提交于 2019-12-17 03:20:46
问题 I have a PowerShell script that navigates to a (presumably) classic ASP page on our intranet to stop a Windows Service running on our server as part of the deployment process for that service (and restarts it after deploying the new files). It ran fine until we recently upgraded to IE9. Here's the script. # Open service page in IE $ie = new-object -comobject InternetExplorer.Application $ie.visible = $true $ie.navigate($serviceUrl) while($ie.busy) { start-sleep 1 } # Stop service $ie.Document

Why does IE9 switch to compatibility mode on my website?

北城以北 提交于 2019-12-17 01:33:08
问题 I have just installed IE9 beta and on a specific site I created (HTML5) IE9 jumps to compatibility mode unless I manually tell it not to. I have tried removing several parts of the website but no change. Including removing all CSS includes. On some other website of me it goes just fine. Also, don't set it manually because then IE9 remembers the user setting and you can't turn it back to automatic (or at least I haven't found how, not even via private browsing and emptying cache) Anyway. The

IE9 Scrolling bug (border line repeated on screen)

假装没事ソ 提交于 2019-12-14 04:10:04
问题 I'm doing a DHTML popup where there is a UL with left floated LI's, that show a list of embroidery designs. In ie9 (does not effect <=IE8) when you scroll down in the UL all of these lines start showing up that should not be there. It almost seems like the bottom border of the UL is tearing and staying on screen. To make things even more weird, when you scroll up, the lines disappear... Here is a screen shot of the problem: http://www.flyingtigerssurplus.com/bug-sample.jpg You can replicate

Trying to use jQuery Columnizr plugin: “Object doesn't support property > or method 'columnize'”

荒凉一梦 提交于 2019-12-13 20:01:35
问题 I'm trying to use jQuery Columnizr plugin. Here is my code (simplified, full version is in screenshot) <html lang="en" class="no-js"> <head runat="server"> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta http-equiv="X-UA-Compatible" content="IE=Edge" /> <title><%: Page.Title %></title> <webopt:bundlereference runat="server" path="~/Content/css" /> <link href="App_Themes/MetroTouchCountries/TabStrip.MetroTouchCountries.css" rel=

SCRIPT438: Object doesn't support property or method 'keys' for IE

橙三吉。 提交于 2019-12-13 17:11:57
问题 I found strange for the following code: var allextRules = Ext.util.CSS.getRules(); Object.keys(allextRules).forEach(function(key) { var keyname = key; if(keyname.indexOf("js") != -1){ Ext.util.CSS.removeStyleSheet(keyname); console.log(keyname + " Removed"); } }); When the above work is tested in other browser (say - Google Chrome), there is no error. However, when tested in IE 9, there is error as follows: SCRIPT438: Object doesn't support property or method 'keys' According to this article