i'm attempting have jplayer play audio clip on specific event, i'm getting finicky results. audio doesn't play back, audio stutters on first 1/4 second, , after playback repeat attempt plays audio clip, starting near end. code i'm using looks like:
the setup:
$("#div").jplayer({ready: function (){ $(this).jplayer("setmedia", { mp3: "./test.mp3" }); }, swfpath: "/dir/", preload: "auto" });
event fired:
$('#div').jplayer("play", 0);
any appreciated, , maybe idea of better way (different plugin, or none altogether) achieve result awesome.
thank you!
side note: main end platform ipad (safari), cross-browser support best!
what ended doing using soundmanager2 playback audio file. it's been giving consistent results of playbacks i've tested. also, works on many browsers, fits needs fine.
Comments
Post a Comment