From 08a7a32093adf690d916de648baf039159d28ca2 Mon Sep 17 00:00:00 2001 From: Matas Petrikas Date: Tue, 25 Oct 2011 13:26:21 +0200 Subject: [PATCH] only the IE pre 9 uses the window.flashId, the new versions should have document.flashId --- soundcloud.player.api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/soundcloud.player.api.js b/soundcloud.player.api.js index 2b3d783..f6c2c07 100644 --- a/soundcloud.player.api.js +++ b/soundcloud.player.api.js @@ -6,7 +6,7 @@ * http://www.opensource.org/licenses/mit-license.php */ (function(){ - var isIE = (/msie/i).test(navigator.userAgent) && !(/opera/i).test(navigator.userAgent); + var isIE = (/msie (6|7|8)/i).test(navigator.userAgent) && !(/opera/i).test(navigator.userAgent); var soundcloud = window.soundcloud = { version: "0.1",