We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9610df8 + aceef4e commit cf2969cCopy full SHA for cf2969c
src/howler.core.js
@@ -265,7 +265,7 @@
265
266
// Opera version <33 has mixed MP3 support, so we need to check for and block it.
267
var ua = self._navigator ? self._navigator.userAgent : '';
268
- var checkOpera = ua.match(/OPR\/([0-6].)/g);
+ var checkOpera = ua.match(/OPR\/(\d+)/g);
269
var isOldOpera = (checkOpera && parseInt(checkOpera[0].split('/')[1], 10) < 33);
270
var checkSafari = ua.indexOf('Safari') !== -1 && ua.indexOf('Chrome') === -1;
271
var safariVersion = ua.match(/Version\/(.*?) /);
0 commit comments