From f4720c570fe87d1401ef5973f9f3ed360ba28a34 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Sun, 31 Dec 2017 09:27:36 +0100 Subject: rm swfobject references in soundcloud.js --- frontend/static/js/sj_compiled.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'frontend/static/js/sj_compiled.js') diff --git a/frontend/static/js/sj_compiled.js b/frontend/static/js/sj_compiled.js index f966aa5..f47f150 100755 --- a/frontend/static/js/sj_compiled.js +++ b/frontend/static/js/sj_compiled.js @@ -2212,7 +2212,7 @@ var Soundcloud = if (e.success === false) return Soundcloud.error("failed to load") d.warn("LOADED") - Soundcloud.player = swfobject.getObjectById('soundcloud') + // Soundcloud.player = swfobject.getObjectById('soundcloud') $("#ytscreen").css("z-index", -2) // instead of raising events, the soundcloud swf calls it's js api directly window.soundcloud = { onPlayerReady: Soundcloud.ready, onMediaEnd: Soundcloud.finish } @@ -2221,7 +2221,7 @@ var Soundcloud = { d.warn("READY") Soundcloud.playing = true - Soundcloud.player = swfobject.getObjectById('soundcloud') + // Soundcloud.player = swfobject.getObjectById('soundcloud') if (Soundcloud.player) { Soundcloud.player.api_play() @@ -2304,7 +2304,7 @@ var Soundcloud = { d.warn("SOUNDCLOUD FINISH") Soundcloud.playing = false - swfobject.removeSWF("soundcloud") + // swfobject.removeSWF("soundcloud") Player.finish() }, load: function () @@ -2315,7 +2315,7 @@ var Soundcloud = unload: function () { d.warn("SOUNDCLOUD UNLOADED") - swfobject.removeSWF("soundcloud") + // swfobject.removeSWF("soundcloud") Soundcloud.loaded = false Soundcloud.playing = false }, -- cgit v1.2.3-70-g09d2