Explicitly detect mimetype support using test sounds. Fallback to canPlayType().
This commit is contained in:
1 parent
978986103a
commit
45e5a60962
6 files changed
+105
-3
No files matched your search
@@ -88,4 +88,13 @@
|
||||
<url-pattern>/resource</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<mime-mapping>
|
||||
<extension>mp3</extension>
|
||||
<mime-type>audio/mpeg</mime-type>
|
||||
</mime-mapping>
|
||||
<mime-mapping>
|
||||
<extension>ogg</extension>
|
||||
<mime-type>audio/ogg</mime-type>
|
||||
</mime-mapping>
|
||||
|
||||
</web-app>
|
||||
Reference in new issue
Block a user