ajk ms add ogg to the audio tag linker
This commit is contained in:
parent
a80179e77f
commit
cdab6a1a84
1 changed files with 1 additions and 1 deletions
|
|
@ -12,7 +12,7 @@ var Stream = {
|
||||||
$stream.not(".show").delegate("a.show_post_comments", "click", Stream.toggleComments);
|
$stream.not(".show").delegate("a.show_post_comments", "click", Stream.toggleComments);
|
||||||
//audio linx
|
//audio linx
|
||||||
$("a[target='_blank']").each(function(){
|
$("a[target='_blank']").each(function(){
|
||||||
if($(this).attr('href').match(/\.mp3$/)) {
|
if($(this).attr('href').match(/\.mp3$||.ogg$/)) {
|
||||||
$(this).html("<audio src='" + this.href + "' controls='controls'>mom</audio>");}
|
$(this).html("<audio src='" + this.href + "' controls='controls'>mom</audio>");}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue