diff --git a/README.md b/README.md index 88f3640..323b630 100644 --- a/README.md +++ b/README.md @@ -272,7 +272,7 @@ Current 3rd party sources include: http://www.pearltrees.com/#/N-f=1_4339252&N-s=1_4339252&N-p=36189761&N-u=1_359252&N-fa=3269727 * urtak - oembed - is broken in iframe return atm -seems to be an embed.ly issue?? https://urtak.com/u/6588 -* jotform - embedded +* JotForm - embedded http://form.jotform.co/form/20740907897868 * Urban Dictionary - YQL lookup http://www.urbandictionary.com/define.php?term=qwerty%20nosedive&defid=6423917 diff --git a/jquery.oembed.js b/jquery.oembed.js index dc2d91f..7f68157 100644 --- a/jquery.oembed.js +++ b/jquery.oembed.js @@ -689,7 +689,7 @@ {templateRegex:/.*com\/([^\/]+).*/ ,embedtag : {tag: 'iframe', width:'100%',height: '300' } }), - new $.fn.oembed.OEmbedProvider("jotform", "rich", ["form.jotform.co/form/.+"],"$1?", + new $.fn.oembed.OEmbedProvider("jotform", "rich", ["form.jotform.+/form/.+"],"$1?", {templateRegex:/(.*)/ ,embedtag : {tag: 'iframe', width:'100%',height: '507' } }), new $.fn.oembed.OEmbedProvider("reelapp", "rich", ["reelapp\\.com/.+"],"http://www.reelapp.com/$1/embed",