- Calling customized controls function with proper arguments (thanks @a60814billy)
This commit is contained in:
Sam Potts
2019-01-17 11:37:19 +11:00
parent e8d2f23b81
commit f927d26ce7
22 changed files with 1815 additions and 1087 deletions

27
demo/dist/demo.js vendored
View File

@ -4325,30 +4325,21 @@ typeof navigator === "object" && (function () {
} // Google analytics
// For demo site (https://plyr.io) only
/* eslint-disable */
if (env.prod) {
(function (i, s, o, g, r, a, m) {
i.GoogleAnalyticsObject = r;
window.dataLayer = window.dataLayer || [];
i[r] = i[r] || function () {
(i[r].q = i[r].q || []).push(arguments);
};
var gtag = function gtag() {
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
args[_key] = arguments[_key];
}
i[r].l = 1 * new Date();
a = s.createElement(o);
m = s.getElementsByTagName(o)[0];
a.async = 1;
a.src = g;
m.parentNode.insertBefore(a, m);
})(window, document, 'script', 'https://www.google-analytics.com/analytics.js', 'ga');
window.dataLayer.push(args);
};
window.ga('create', 'UA-40881672-11', 'auto');
window.ga('send', 'pageview');
gtag('js', new Date());
gtag('config', 'UA-132699580-1');
}
/* eslint-enable */
})();
}());