{"name":"Audio File Duration","key":"audiofileduration","version":"1.0.0","instructions":"This is not really a player. It will just tell you how many seconds long the browser reports the media to be.","showatto":"0","showplayers":"1","requirecss":"","requirejs":"","shim":"","defaults":"","amd":"1","body":"<audio id=\"@@AUTOID@@\" controls=\"controls\" controlsList=\"nodownload\" class=\"nomediaplugin\">\n  <source src=\"@@VIDEOURL@@\" type=\"audio/mpeg\">\n  Your browser does not support HTML5.\n</audio><br>\n<button id=\"@@AUTOID@@_infobutton\" type=\"button\">Fetch File Duration</button>\n<div id=\"@@AUTOID@@_info\"></div>","bodyend":"","script":"//code to auto refresh if this looks like a placeholder file\n var player = $('#' + @@AUTOID@@);\nvar button = $('#' + @@AUTOID@@ + \"_infobutton\");\nvar infobox = $('#' + @@AUTOID@@ + \"_info\");\nif(typeof player[0] == 'undefined'){return;}\nbutton.click(function(){\ninfobox.text('DURATION: ' + player[0].duration)\n});","style":"","dataset":"","datasetvars":"","alternate":"","alternateend":""}