{"name":"Wordwall-oembed","key":"wordwall-oembed","version":"1.0.3","instructions":"Enter the URL of a Wordwall activity and it will be embedded on the page.","showatto":"1","showplayers":"0","requirecss":"","requirejs":"","shim":"","defaults":"wordwall_url=\"\"","amd":"1","body":"<div style=\"width: 100%; max-width: calc(30% + 700px);\">\n<div id=\"@@AUTOID@@_content\" class=\"pfilter_wwcontent\" style=\"padding-top: 76%;position:relative; overflow: hidden; width: 100% \">\n\n</div>\n</div>\n","bodyend":"","script":"var oembedurl = \"https://wordwall.net/api/oembed?url=\" + encodeURIComponent(@@wordwall_url@@) + \"&format=json\";\n$.ajax({\n            url: oembedurl,\n            crossDomain: true,\n            type: 'GET',\n            error: function(xhr, status, error) {\n                console.log(theurl);\n                console.log(error);\n            },\n            success: function(data) {\n                $(\"#\" + @@AUTOID@@ + \"_content\").html(data.html);\n                var iframe =  $(\"#\" + @@AUTOID@@ + \"_content iframe\");\n                iframe.removeAttr('width');\n                iframe.removeAttr('height');\n                iframe.attr('style','position: absolute;top: 0;  left: 0;  bottom: 0;  right: 0;  width: 100%;  height: 100%;');\n    　　}\n});\n\n","style":"","dataset":"","datasetvars":"","alternate":"","alternateend":""}