added preload='none' to the audio tag (#928)
This commit is contained in:
parent
03f90a999d
commit
e8bb4c2d66
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ var Stream = {
|
||||||
//audio linx
|
//audio linx
|
||||||
$(".stream a[target='_blank']").each(function(){
|
$(".stream a[target='_blank']").each(function(){
|
||||||
if($(this).attr('href').match(/\.mp3$|\.ogg$/)) {
|
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(){
|
$('.thumbs img').live('hover', function(){
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue