From 4bbe46531fff10fd7f18482ec1d41187ebba2c45 Mon Sep 17 00:00:00 2001 From: dooleymatt Date: Tue, 15 Dec 2015 16:33:56 -0500 Subject: [PATCH] Adds tagboard integration --- jquery.oembed.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/jquery.oembed.js b/jquery.oembed.js index 07ed993..79e5a1a 100644 --- a/jquery.oembed.js +++ b/jquery.oembed.js @@ -948,6 +948,10 @@ new $.fn.oembed.OEmbedProvider("mapjam", "rich", ["mapjam\\.com/.+"], "http://www.mapjam.com/$1", {templateRegex: /.*mapjam\.com\/(.*)/, embedtag: {tag: 'iframe', width: 480, height: 360 }, nocache: 1}), new $.fn.oembed.OEmbedProvider("polar", "rich", ["polarb\\.com/.+"], "http://assets-polarb-com.a.ssl.fastly.net/api/v4/publishers/unknown/embedded_polls/iframe?poll_id=$1", {templateRegex: /.*polarb\.com\/polls\/(\w+).*/, embedtag: {tag: 'iframe', width: 480, height: 360 }, nocache: 1}), new $.fn.oembed.OEmbedProvider("ponga", "rich", ["ponga\\.com/.+"], "https://www.ponga.com/embedded?id=$1", {templateRegex: [/.*ponga\.com\/embedded\?id=(\w+).*/, /.*ponga\.com\/(\w+).*/], embedtag: {tag: 'iframe', width: 480, height: 360 }, nocache: 1}), + new $.fn.oembed.OEmbedProvider("tagboard", "rich", ["tagboard\\.com/.+"], null, { + templateRegex: /.*tagboard\.com\/(\w+)\/(\d+).*/, + template: '
',nocache: 1 + }), //Use Open Graph Where applicable new $.fn.oembed.OEmbedProvider("opengraph", "rich", [".*"], null,