From 23214d14c37fa1874e9d6169fa48e90b42a55ebd Mon Sep 17 00:00:00 2001 From: LoveEevee Date: Mon, 9 Nov 2020 17:32:36 +0300 Subject: [PATCH] BrowserSupport: Add Ogg/Wasm test --- public/src/js/browsersupport.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/public/src/js/browsersupport.js b/public/src/js/browsersupport.js index 9927338..9782376 100644 --- a/public/src/js/browsersupport.js +++ b/public/src/js/browsersupport.js @@ -50,6 +50,9 @@ function browserSupport(){ }, "Font Loading API": function(){ return typeof FontFace === "function" + }, + "OGG or WebAssembly": function(){ + return new Audio().canPlayType("audio/ogg;codecs=vorbis") || "WebAssembly" in window } } failedTests = []