[Plugin: Audio To Player] Flash fallback fix
-
I had an issue where m4a files were not playing when the flash fallback was needed such as in IE 8 and Firefox. I modified audio.to.player.dev.js starting in line 25 like this and it worked:
var href_parts = player.href.split(‘.’);
var ext = href_parts[href_parts.length – 1];
// run jPlayer
$player.before(bef).after(aft).hide().prev().jPlayer({
ready: function () {
var options = new Object();
options[ext] = player.href;
$(this).jPlayer(“setMedia”, options);
},
cssSelectorAncestor: ‘#’ + id, // element ID
swfPath: js_params.uri + ‘/js’, // path to swf fallback
supplied: ext
});https://www.ads-software.com/extend/plugins/audio-to-player/
- The topic ‘[Plugin: Audio To Player] Flash fallback fix’ is closed to new replies.