Skip to content
This repository has been archived by the owner on Apr 11, 2024. It is now read-only.

Commit

Permalink
Fix for bug #2: Change mimetypes of the audio codec test
Browse files Browse the repository at this point in the history
  • Loading branch information
NielsLeenheer committed Apr 12, 2010
1 parent d721f32 commit bd9c462
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ <h1>The HTML5 test <em>&ndash; how well does your browser support HTML5?</em></h
},

t2: function() {
var r = !!this.element.canPlayType && this.canPlayType('audio/mpeg3;');
var r = !!this.element.canPlayType && this.canPlayType('audio/mpeg;');
this.section.setItem('MP3 codec support', r)
return r ? 2 : 0;
},
Expand All @@ -488,7 +488,7 @@ <h1>The HTML5 test <em>&ndash; how well does your browser support HTML5?</em></h
},

t4: function() {
var r = !!this.element.canPlayType && this.canPlayType('audio/x-m4a;');
var r = !!this.element.canPlayType && (this.canPlayType('audio/x-m4a;') || this.canPlayType('audio/aac;'));
this.section.setItem('AAC codec support', r)
return r ? 2 : 0;
},
Expand Down

0 comments on commit bd9c462

Please sign in to comment.