added preload='none' to the audio tag (#928)

This commit is contained in:
MrZYX 2011-03-14 13:07:27 +01:00
parent 03f90a999d
commit e8bb4c2d66

View file

@ -13,7 +13,7 @@ var Stream = {
//audio linx
$(".stream a[target='_blank']").each(function(){
if($(this).attr('href').match(/\.mp3$|\.ogg$/)) {
$(this).parent().html("<audio src='" + this.href + "' controls='controls'>mom</audio>");}
$(this).parent().html("<audio preload='none' src='" + this.href + "' controls='controls'>mom</audio>");}
});
$('.thumbs img').live('hover', function(){