Skip to content

Commit d41bb83

Browse files
committed
be more permissive about iframe markup. closes NUKnightLab#567. thanks @stephenr85
1 parent de02f71 commit d41bb83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ if(typeof VMM != 'undefined' && typeof VMM.MediaType == 'undefined') {
3030
} else if (d.match('<iframe')) {
3131
media.type = "iframe";
3232
trace("IFRAME")
33-
regex = /src=['"](\S+?)['"]\s/;
33+
regex = /src=['"](\S+?)['"]/;
3434
group = d.match(regex);
3535
if (group) {
3636
media.id = group[1];

0 commit comments

Comments
 (0)