View Single Post
Old 02-23-2013, 05:47 PM   PM User | #3
obenns
New Coder

 
Join Date: Nov 2011
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
obenns is an unknown quantity at this point
Internet Explorer

Hey thanks for your quick reply. There is no player as such, it's in the background (invisible if you will.)

I've stripped out the jQuery back to Vanilla and got this but it's still not liking it, any suggestions?

if (document.getElementById('js-video').pause()) {
document.getElementById('js-video').pause();
alert('1');
}
// Check if support
if (document.getElementById('js-audio').pause()) {
document.getElementById('js-audio').pause();
alert('2');
}

Chrome pauses fine, except alerts don't appear. IE8 still won't load rest of JS.

Thanks.
obenns is offline   Reply With Quote