WofWca / jumpcutter

⏩ Fast-forwards long pauses between sentences — watch lectures ~1.5x faster (browser extension)
https://chrome.google.com/webstore/detail/jump-cutter/lmppdpldfpfdlipofacekcfleacbbncp
GNU Affero General Public License v3.0
329 stars 11 forks source link

feat: proper error on HTTP (unsupported) sites #147

Open WofWca opened 1 year ago

WofWca commented 1 year ago

You cannot use the Web Audio API on non-secure contexts (which includes HTTP (without "S")) sites.

What currently happens is TypeError: Cannot read properties of undefined (reading 'addModule', and the popup says "could not find a suitable media element" when there's clearly an otherwise suitable element present. See here, for example http://player.kaltura.com/docs/ .