works now on ie9
This commit is contained in:
parent
8270127cb7
commit
15318028f0
3 changed files with 15 additions and 10 deletions
|
|
@ -3,6 +3,7 @@
|
||||||
<head>
|
<head>
|
||||||
<title>Monochrome Legacy (HTML5)</title>
|
<title>Monochrome Legacy (HTML5)</title>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
|
||||||
<link rel="stylesheet" type="text/css" href="legacy.css" />
|
<link rel="stylesheet" type="text/css" href="legacy.css" />
|
||||||
<script type="text/javascript" src="jquery-1.6.4.min.js"></script>
|
<script type="text/javascript" src="jquery-1.6.4.min.js"></script>
|
||||||
<script type="text/javascript" src="html5.js"></script>
|
<script type="text/javascript" src="html5.js"></script>
|
||||||
|
|
@ -71,7 +72,7 @@
|
||||||
<a href="https://caniuse.com/aac">aac audio</a> (may work in
|
<a href="https://caniuse.com/aac">aac audio</a> (may work in
|
||||||
unsupported browsers with adobe flash) or
|
unsupported browsers with adobe flash) or
|
||||||
<a href="https://caniuse.com/flac">flac audio</a> should
|
<a href="https://caniuse.com/flac">flac audio</a> should
|
||||||
work</font
|
work (aka IE9+, Safari 4+, Chrome 12+, Firefox 22+)</font
|
||||||
>
|
>
|
||||||
</center>
|
</center>
|
||||||
</td>
|
</td>
|
||||||
|
|
@ -89,7 +90,7 @@
|
||||||
id="audio-player"
|
id="audio-player"
|
||||||
controls
|
controls
|
||||||
preload="none"
|
preload="none"
|
||||||
style="width: 300px; height: 30px"
|
style="width: 300px; height: 45px"
|
||||||
>
|
>
|
||||||
Your browser does not support the audio element.
|
Your browser does not support the audio element.
|
||||||
</audio>
|
</audio>
|
||||||
|
|
|
||||||
|
|
@ -47,10 +47,9 @@ $(document).ready(function () {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
// Enable CORS logic in jQuery generally (if supported by this jQuery version)
|
// REMOVED: $.support.cors = true;
|
||||||
if ($.support) {
|
// We MUST NOT set this for IE9. If we do, jQuery tries to use standard XHR for cross-domain,
|
||||||
$.support.cors = true;
|
// which fails ("Access is denied"). Leaving it false forces jQuery to use our custom XDR transport.
|
||||||
}
|
|
||||||
|
|
||||||
var apiInstances = [];
|
var apiInstances = [];
|
||||||
var currentInstanceIndex = 0;
|
var currentInstanceIndex = 0;
|
||||||
|
|
@ -300,6 +299,12 @@ $(document).ready(function () {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function updateStatus(msg) {
|
||||||
|
if (currentTrackInfo.length) {
|
||||||
|
currentTrackInfo.html(msg);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
function handleError(msg) {
|
function handleError(msg) {
|
||||||
if (!attemptFallback) {
|
if (!attemptFallback) {
|
||||||
window.playTrack(id, true);
|
window.playTrack(id, true);
|
||||||
|
|
|
||||||
|
|
@ -46,10 +46,9 @@ $(document).ready(function () {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
// Enable CORS logic in jQuery generally (if supported by this jQuery version)
|
// REMOVED: $.support.cors = true;
|
||||||
if ($.support) {
|
// We MUST NOT set this for IE9. If we do, jQuery tries to use standard XHR for cross-domain,
|
||||||
$.support.cors = true;
|
// which fails ("Access is denied"). Leaving it false forces jQuery to use our custom XDR transport.
|
||||||
}
|
|
||||||
|
|
||||||
var apiInstances = [];
|
var apiInstances = [];
|
||||||
var currentInstanceIndex = 0;
|
var currentInstanceIndex = 0;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue