Browse Source

Use protocol-relative URL for dailymotion media

ssl
jywsn 10 years ago
parent
commit
45deb21035
  1. 2
      source/js/Core/Media/VMM.MediaElement.js

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

@ -145,7 +145,7 @@ if(typeof VMM != 'undefined' && typeof VMM.MediaElement == 'undefined') {
VMM.ExternalAPI.vimeo.get(m); VMM.ExternalAPI.vimeo.get(m);
// DAILYMOTION // DAILYMOTION
} else if (m.type == "dailymotion") { } else if (m.type == "dailymotion") {
mediaElem = "<div class='media-shadow'><iframe class='media-frame video dailymotion' autostart='false' frameborder='0' width='100%' height='100%' src='http://www.dailymotion.com/embed/video/" + m.id + "'></iframe></div>"; mediaElem = "<div class='media-shadow'><iframe class='media-frame video dailymotion' autostart='false' frameborder='0' width='100%' height='100%' src='//www.dailymotion.com/embed/video/" + m.id + "'></iframe></div>";
// VINE // VINE
} else if (m.type == "vine") { } else if (m.type == "vine") {
mediaElem = "<div class='media-shadow media-frame video vine' id='" + m.uid + "'>" + loading_messege + "</div>"; mediaElem = "<div class='media-shadow media-frame video vine' id='" + m.uid + "'>" + loading_messege + "</div>";

Loading…
Cancel
Save