diff --git a/plugins/links/oembed-video.js b/plugins/links/oembed-video.js index 0aed0d72a..730b35dff 100644 --- a/plugins/links/oembed-video.js +++ b/plugins/links/oembed-video.js @@ -71,8 +71,7 @@ export default { }, getMeta: function(oembed, whitelistRecord) { - - if (!whitelistRecord.isAllowed('oembed.video') && (oembed.type === "video" || oembed.type === "audio")) { + if (whitelistRecord.isAllowed('oembed.video') && (oembed.type === "video" || oembed.type === "audio")) { return { medium: oembed.type };