Browse Source

Merge pull request #623 from cantonbecker/SoundCloud-Fix

Added maxheight=168 directive for soundcloud iframes
pull/631/head
Joe Germuska 11 years ago
parent
commit
586543b115
  1. 2
      source/js/Core/Media/VMM.ExternalAPI.js

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

@ -1259,7 +1259,7 @@ if(typeof VMM != 'undefined' && typeof VMM.ExternalAPI == 'undefined') {
},
create: function(m, callback) {
var the_url = "//soundcloud.com/oembed?url=" + m.id + "&format=js&callback=?";
var the_url = "//soundcloud.com/oembed?url=" + m.id + "&maxheight=168&format=js&callback=?";
VMM.getJSON(the_url, function(d) {
VMM.attachElement("#"+m.uid, d.html);
callback();

Loading…
Cancel
Save