{"name":"Mediaelement Audio(cdn)","key":"mediaelementaudio_cdn","version":"1.0.7","instructions":"This is a shimmed version of mediaelementjs for audio","showatto":"0","showplayers":"1","requirecss":"//cdnjs.cloudflare.com/ajax/libs/mediaelement/4.2.9/mediaelementplayer.min.css","requirejs":"//cdnjs.cloudflare.com/ajax/libs/mediaelement/4.2.8/mediaelement-and-player.min.js","shim":"mejs","defaults":"WIDTH=400,HEIGHT=40","amd":"1","body":"<audio id=\"@@AUTOID@@\" src=\"@@VIDEOURL@@\" width=\"@@WIDTH@@\" height=\"@@HEIGHT@@\" class=\"nomediaplugin\" preload=\"auto\"'></audio>\n\n<a id=\"@@AUTOID@@_download_button\" class=\"@@CANDOWNLOAD@@ nomediaplugin\"  href=\"@@VIDEOURL@@\" download>Download</a>\n","bodyend":"","script":"var player = new mejs.MediaElementPlayer(@@AUTOID@@,{});\n\nif(typeof player == 'undefined'){return;}\nif(typeof player.media == 'undefined'){return;}\nplayer.pause();\nplayer.media.onloadedmetadata=function(){\n  var mr = media_refresher.clone();\n   mr.init(@@FILENAME@@,\n@@AUDIOPLACEHOLDERDURATION@@,\nplayer.media.duration,\nfunction(){\n  player.media.src = player.media.src + '&reload=true';\n  player.load();\n });\n}","style":"","dataset":"","datasetvars":"","alternate":"","alternateend":""}