From dde67610fd2bdbbd0d692f818647e6fa9345a68e Mon Sep 17 00:00:00 2001 From: Joe Germuska Date: Wed, 7 May 2014 11:48:54 -0500 Subject: [PATCH] move check for blockquote and iframe to top of media type analysis (and check for tags not just strings) so as to not incorrectly try to pluck media out from the iframe or the blockquote. Closes #605 --- source/js/Core/Media/VMM.MediaType.js | 28 +++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/source/js/Core/Media/VMM.MediaType.js b/source/js/Core/Media/VMM.MediaType.js index 19e7d52..8fe1b57 100644 --- a/source/js/Core/Media/VMM.MediaType.js +++ b/source/js/Core/Media/VMM.MediaType.js @@ -23,6 +23,20 @@ if(typeof VMM != 'undefined' && typeof VMM.MediaType == 'undefined') { media.type = "twitter-ready"; media.id = d; success = true; + } else if (d.match('