Browse Source

be more permissive about iframe markup. closes #567. thanks @stephenr85

pull/631/head
Joe Germuska 11 years ago
parent
commit
d41bb83ee0
  1. 2
      source/js/Core/Media/VMM.MediaType.js

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

@ -30,7 +30,7 @@ if(typeof VMM != 'undefined' && typeof VMM.MediaType == 'undefined') {
} else if (d.match('<iframe')) {
media.type = "iframe";
trace("IFRAME")
regex = /src=['"](\S+?)['"]\s/;
regex = /src=['"](\S+?)['"]/;
group = d.match(regex);
if (group) {
media.id = group[1];

Loading…
Cancel
Save