mirror of
https://github.com/jiojciojsioe3/a3cjroijsiojiorj.git
synced 2024-11-15 15:31:51 +08:00
BrowserSupport: Add Ogg/Wasm test
This commit is contained in:
parent
6c7d8803bb
commit
23214d14c3
@ -50,6 +50,9 @@ function browserSupport(){
|
|||||||
},
|
},
|
||||||
"Font Loading API": function(){
|
"Font Loading API": function(){
|
||||||
return typeof FontFace === "function"
|
return typeof FontFace === "function"
|
||||||
|
},
|
||||||
|
"OGG or WebAssembly": function(){
|
||||||
|
return new Audio().canPlayType("audio/ogg;codecs=vorbis") || "WebAssembly" in window
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
failedTests = []
|
failedTests = []
|
||||||
|
Loading…
Reference in New Issue
Block a user