summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2017-12-31 09:27:36 +0100
committerJules Laplace <julescarbon@gmail.com>2017-12-31 09:27:36 +0100
commitf4720c570fe87d1401ef5973f9f3ed360ba28a34 (patch)
tree1508a6fc66b7794bfc06c8c48a87745bb58ab502
parent20e8fc1b023fd14815e670fded93f91d2eeb9278 (diff)
rm swfobject references in soundcloud.js
-rwxr-xr-xfrontend/static/js/sj_compiled.js8
-rw-r--r--frontend/static/js/src/soundcloud.js8
2 files changed, 8 insertions, 8 deletions
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
},
diff --git a/frontend/static/js/src/soundcloud.js b/frontend/static/js/src/soundcloud.js
index 4061f99..e2f0435 100644
--- a/frontend/static/js/src/soundcloud.js
+++ b/frontend/static/js/src/soundcloud.js
@@ -40,7 +40,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 }
@@ -49,7 +49,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()
@@ -132,7 +132,7 @@ var Soundcloud =
{
d.warn("SOUNDCLOUD FINISH")
Soundcloud.playing = false
- swfobject.removeSWF("soundcloud")
+ // swfobject.removeSWF("soundcloud")
Player.finish()
},
load: function ()
@@ -143,7 +143,7 @@ var Soundcloud =
unload: function ()
{
d.warn("SOUNDCLOUD UNLOADED")
- swfobject.removeSWF("soundcloud")
+ // swfobject.removeSWF("soundcloud")
Soundcloud.loaded = false
Soundcloud.playing = false
},