Javascript .play() and .pause() HTML5 methods - IE8
Hi there.
Well aware IE8 won't support my html5 audio or video, thats no problem what so ever. However I have some javascript that plays these at certain points, some on hover, some on click, doc load etc etc.
The problem is IE8 doesn't recognise it, and therefore doesn't execute anymore of my javascript, even other functions.
e.g.
$(document).ready(function() {
$('#music').pause(); // Not supported in IE8
function() { // Supported in IE8 yet not running. due to the above.
Whatever code
}
}
How can I make IE8 ignore these methods?
Thanks lifesavers!
|