-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added several new presets and a version bump
- Loading branch information
1 parent
1518648
commit e1aaa60
Showing
8 changed files
with
11 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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":"<div style=\"width: 100%; max-width: calc(30% + 700px);\">\n<div id=\"@@AUTOID@@\" style=\"padding-top: 56.25%;position:relative; overflow: hidden; width: 100% \">\n</div>\n</div>\n<script>\nvar buncee_url='@@buncee_url@@';\nbuncee_url = buncee_url.replace('app.edu.buncee.com/buncee','app.api.edu.buncee.com/player');\nvar iframe_code = \"<iframe style='position: absolute; top: 0; left: 0; bottom: 0; right: 0; width: 100%; height: 100%;' src='\" + buncee_url +\"?embed=1&render_slide_panel=0' webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>\";\n document.getElementById(\"@@AUTOID@@\").innerHTML += iframe_code;\n</script>","bodyend":"","script":"","style":"","dataset":"","datasetvars":"","alternate":"","alternateend":""} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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":"<div style=\"width: 100%; max-width: calc(30% + 700px);\">\n<div style=\"padding-top: 76%;position:relative; overflow: hidden; width: 100% \">\n<iframe\n style=\"position: absolute;\n top: 0;\n left: 0;\n bottom: 0;\n right: 0;\n width: 100%;\n height: 100%;\"\n src=\"@@share_link@@?embed=true\"\n webkitallowfullscreen\n mozallowfullscreen\n allowfullscreen\n allow=\"microphone; camera; display-capture\"></iframe>\n</div>\n</div>\n","bodyend":"","script":"","style":"","dataset":"","datasetvars":"","alternate":"","alternateend":""} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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":"<a id=\"@@AUTOID@@\" data-fancybox data-src=\"#@@AUTOID@@_content\" href=\"javascript:;\" ></a>\n<div id=\"@@AUTOID@@_content\" class=\"hide\">\n","bodyend":"</div>\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":""} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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":"<a id=\"@@AUTOID@@\" data-fancybox data-src=\"#@@AUTOID@@_content\" href=\"javascript:;\" ></a>\n<div id=\"@@AUTOID@@_content\" class=\"hide\">\n","bodyend":"</div>\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":""} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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":"<div style=\"width: 100%; max-width: calc(30% + 700px);\">\n<div id=\"@@AUTOID@@_qc\" style=\"padding-top: 56.25%;position:relative; overflow: hidden; width: 100%; min-height: 500px\">\n<script>\nvar iframe_code='<iframe src=\"https://quizlet.com/@quizlet_id@/@@game_type@@/embed?i=935py&x=1jj1\" style=\"position: absolute; top: 0; left: 0; bottom: 0; right: 0; width: 100%; height: 100%;\"></iframe>';\nvar quizlet_id=\"@@quizlet_url@@\".split('/')[3];\niframe_code=iframe_code.replace('@quizlet_id@',quizlet_id);\n document.getElementById(\"@@AUTOID@@\" + '_qc').innerHTML += iframe_code;\n</script>\n","bodyend":"","script":"","style":"","dataset":"","datasetvars":"","alternate":"","alternateend":""} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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":"<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":""} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters