diff --git a/CHANGES.txt b/CHANGES.txt index cf741442..e204ea47 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,7 +1,8 @@ Change List ========= -Version 3.1.59 (Build 202208XXXX) +Version 3.1.59 (Build 2022082200) - Added strict multiplayer +- Added lightbox, Buncee, Flip, Wordwall, Quizlet templates Version 3.1.58 (Build 2022060500) - Added better free trial link diff --git a/presets/buncee.txt b/presets/buncee.txt new file mode 100644 index 00000000..5e114d45 --- /dev/null +++ b/presets/buncee.txt @@ -0,0 +1 @@ +{"name":"Buncee","key":"buncee","version":"1.0.0","instructions":"Enter the share link of Buncee and it will be embedded on the page.","showatto":"1","showplayers":"0","requirecss":"","requirejs":"","shim":"","defaults":"buncee_url=\"\"","amd":"1","body":"
\n
\n
\n
\n","bodyend":"","script":"","style":"","dataset":"","datasetvars":"","alternate":"","alternateend":""} \ No newline at end of file diff --git a/presets/flip.txt b/presets/flip.txt new file mode 100644 index 00000000..ee91e1ca --- /dev/null +++ b/presets/flip.txt @@ -0,0 +1 @@ +{"name":"Flip","key":"flip","version":"1.0.0","instructions":"Enter the share link of Flip activity and it will be embedded on the page.","showatto":"1","showplayers":"0","requirecss":"","requirejs":"","shim":"","defaults":"share_link=\"\"","amd":"1","body":"
\n
\n\n
\n
\n","bodyend":"","script":"","style":"","dataset":"","datasetvars":"","alternate":"","alternateend":""} \ No newline at end of file diff --git a/presets/lightbox2image.txt b/presets/lightbox2image.txt new file mode 100644 index 00000000..fdedf854 --- /dev/null +++ b/presets/lightbox2image.txt @@ -0,0 +1 @@ +{"name":"Image Lightbox","key":"lightbox2image","version":"1.0.3","instructions":"Add content to display in lightbox between the tags on the page. The first image between the tags will be the clickable thumbnail. If there is no image it wont work, so make sure you add an image","showatto":"1","showplayers":"0","requirecss":"//cdnjs.cloudflare.com/ajax/libs/fancybox/3.3.5/jquery.fancybox.min.css","requirejs":"","shim":"","defaults":"thumbwidth=150","amd":"1","body":"\n
\n","bodyend":"
\n","script":"var thumb = $('#' + @@AUTOID@@ + \"_content img\").first().clone();\nthumb.attr('width', @@thumbwidth@@ + 'px');\nthumb.attr('height', 'auto');\nthumb.appendTo($('#' + @@AUTOID@@));\nif(!$.fn.fancybox){ \n$.getScript('https://cdnjs.cloudflare.com/ajax/libs/fancybox/3.5.7/jquery.fancybox.min.js', function(){});\n}return;","style":"","dataset":"","datasetvars":"","alternate":"","alternateend":""} \ No newline at end of file diff --git a/presets/lightbox2thumbnail.txt b/presets/lightbox2thumbnail.txt new file mode 100644 index 00000000..8ace849a --- /dev/null +++ b/presets/lightbox2thumbnail.txt @@ -0,0 +1 @@ +{"name":"Lightbox2_Thumbnail","key":"lightbox2thumbnail","version":"1.0.3","instructions":"Add content to display in lightbox between the tags on the page. The first image between the tags will be the clickable thumbnail. If there is no image it wont work, so make sure you add an image","showatto":"1","showplayers":"0","requirecss":"//cdnjs.cloudflare.com/ajax/libs/fancybox/3.3.5/jquery.fancybox.min.css","requirejs":"","shim":"","defaults":"thumbwidth=150","amd":"1","body":"\n
\n","bodyend":"
\n","script":"var thumb = $('#' + @@AUTOID@@ + \"_content img\").first();\nthumb.attr('width', @@thumbwidth@@ + 'px');\nthumb.attr('height', 'auto');\nthumb.appendTo($('#' + @@AUTOID@@));\nif(!$.fn.fancybox){ \n$.getScript('https://cdnjs.cloudflare.com/ajax/libs/fancybox/3.5.7/jquery.fancybox.min.js', function(){});\n}return;","style":"","dataset":"","datasetvars":"","alternate":"","alternateend":""} \ No newline at end of file diff --git a/presets/quizlet.txt b/presets/quizlet.txt new file mode 100644 index 00000000..cdccc9c0 --- /dev/null +++ b/presets/quizlet.txt @@ -0,0 +1 @@ +{"name":"Quizlet","key":"quizlet","version":"1.0.1","instructions":"Enter the quizlet set url and game type, and it will be embedded on the page.","showatto":"1","showplayers":"0","requirecss":"","requirejs":"","shim":"","defaults":"game_type=\"match|learn|test|flashcards|spell\"","amd":"1","body":"
\n
\n\n","bodyend":"","script":"","style":"","dataset":"","datasetvars":"","alternate":"","alternateend":""} \ No newline at end of file diff --git a/presets/wordwall.txt b/presets/wordwall.txt new file mode 100644 index 00000000..3b8871b5 --- /dev/null +++ b/presets/wordwall.txt @@ -0,0 +1 @@ +{"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":"
\n
\n\n
\n
\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":""} \ No newline at end of file diff --git a/version.php b/version.php index 4cd80550..1a5ed50b 100644 --- a/version.php +++ b/version.php @@ -25,9 +25,9 @@ defined('MOODLE_INTERNAL') || die(); -$plugin->version = 2022060500; +$plugin->version = 2022082200; $plugin->requires = 2016052300;//moodle 3.1.0 $plugin->component = 'filter_poodll'; $plugin->maturity = MATURITY_STABLE; -$plugin->release = '3.1.58 (Build 2022060500)'; +$plugin->release = '3.1.59 (Build 2022082200)';