diff --git a/WebKit/scripts/helper/Core.js b/WebKit/scripts/helper/Core.js index de76e48..65cd16e 100644 --- a/WebKit/scripts/helper/Core.js +++ b/WebKit/scripts/helper/Core.js @@ -819,6 +819,10 @@ function(jQuery, Paths, URI, HostApp, Cache) { var v = word.replace(/https?:\/\/youtu\.be\//, ""); this.addYouTube(v, images); + + } else if (word.startsWith("http://soundcloud.com/") || word.startsWith("http://www.soundcloud.com/") || word.startsWith("https://soundcloud.com/") || word.startsWith("https://www.soundcloud.com//")) { + + this.addSoundCloud(word, images); } else if (word.startsWith("http://twitpic.com/") || word.startsWith("https://twitpic.com/")) { @@ -856,8 +860,6 @@ function(jQuery, Paths, URI, HostApp, Cache) { a.appendChild(img); images.appendChild(a); } - - } } } @@ -951,6 +953,10 @@ function(jQuery, Paths, URI, HostApp, Cache) { $(images).append(''); + } + return Core;