Skip to content

Commit

Permalink
new version strict audio player template
Browse files Browse the repository at this point in the history
  • Loading branch information
justinhunt committed Mar 11, 2024
1 parent fb5b782 commit 91bbf6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion presets/pw-multiplayeraudio.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"name":"MultiPlayerAudio-Widget","key":"pw-multiplayeraudio","version":"1.0.4","instructions":"This is an HTML5 audio player that will only play the audio a preconfigured number of times. Insert an audio player or audio link between the tags. If in a quiz, and strict mode is on, it can remember the play position and play count between page reloads.","showatto":"1","showplayers":"0","requirecss":"","requirejs":"","shim":"","defaults":"canplaycount=2,quiz_strict_mode=true|false,quiz_remember_play_position=true|false","amd":"1","body":"<div id='@@AUTOID@@_container'></div>\n<div id=\"@@AUTOID@@_original\" class=\"poodllplayerwidgetnoshow\" style=\"display: none\">\n@@canplaycount@@ \n@@quiz_strict_mode@@\n@@quiz_remember_play_position@@ \n@@URLPARAM:attempt@@\n@@URLPARAM:cmid@@","bodyend":"</div>","script":"templates.render('filter_poodll/pw-multiplayeraudio',opts).then(function(html, js) {\n\n // The templates object has append, prepend and replace functions.\n templates.appendNodeContents('#' + @@AUTOID@@ + '_container', html, js);\n \n }).fail(function(ex) {\n // Deal with this exception (I recommend core/notify exception function for this).\n\n });","style":"","dataset":"","datasetvars":"","alternate":"","alternateend":""}
{"name":"MultiPlayerAudio-Widget","key":"pw-multiplayeraudio","version":"1.0.5","instructions":"This is an HTML5 audio player that will only play the audio a preconfigured number of times. Insert an audio player or audio link between the tags. If in a quiz, and strict mode is on, it can remember the play position and play count between page reloads.","showatto":"1","showplayers":"0","requirecss":"","requirejs":"","shim":"","defaults":"canplaycount=2,quiz_strict_mode=true|false,quiz_remember_play_position=true|false,volume=0.4|0.5|0.6|0.7|0.8|0.9","amd":"1","body":"<div id='@@AUTOID@@_container'></div>\n<div id=\"@@AUTOID@@_original\" class=\"poodllplayerwidgetnoshow\" style=\"display: none\">\n@@canplaycount@@ \n@@quiz_strict_mode@@\n@@volume@@\n@@quiz_remember_play_position@@ \n@@URLPARAM:attempt@@\n@@URLPARAM:cmid@@","bodyend":"</div>","script":"templates.render('filter_poodll/pw-multiplayeraudio',opts).then(function(html, js) {\n\n // The templates object has append, prepend and replace functions.\n templates.appendNodeContents('#' + @@AUTOID@@ + '_container', html, js);\n \n }).fail(function(ex) {\n // Deal with this exception (I recommend core/notify exception function for this).\n\n });","style":"","dataset":"","datasetvars":"","alternate":"","alternateend":""}

0 comments on commit 91bbf6a

Please sign in to comment.