Browse Source

remove URL protocol rewriting. Closes #704

pull/706/head
Joe Germuska 10 years ago
parent
commit
eea88334dd
  1. 3
      source/js/Core/Media/VMM.MediaElement.js

3
source/js/Core/Media/VMM.MediaElement.js

@ -122,9 +122,6 @@ if(typeof VMM != 'undefined' && typeof VMM.MediaElement == 'undefined') {
} }
// IMAGE // IMAGE
if (m.type == "image") { if (m.type == "image") {
if (m.id.match("https://")) {
m.id = m.id.replace("https://","http://");
}
mediaElem = "<div class='media-image media-shadow'><img src='" + m.id + "' class='media-image'></div>"; mediaElem = "<div class='media-image media-shadow'><img src='" + m.id + "' class='media-image'></div>";
// FLICKR // FLICKR
} else if (m.type == "flickr") { } else if (m.type == "flickr") {

Loading…
Cancel
Save