just thinking at the top of my head, you can make an ajax request for the sound file, but don't show the button until the file is 100% loaded.
$(document).ready(function() { $.ajax({ url: "soundfile.mp3", success: function() { $("#play_button").show(); } }); });
GerManson May 04 '10 at 5:54 a.m. 2010-05-04 05:54
source share