JSFiddle - React, Tailwind, and code Playground

JavaScript

// audio and video detect
    
function supports_video() {
  return !!document.createElement('video').canPlayType;
}

alert("browser.mozilla ==" + $.browser.mozilla);

alert("browser.mozilla ==" + $.browser.version);