aboutsummaryrefslogtreecommitdiffstats
path: root/src/js
diff options
context:
space:
mode:
authorSam <me@sampotts.me>2016-06-09 09:57:16 +0100
committerSam <me@sampotts.me>2016-06-09 09:57:16 +0100
commit161dd48312d3a66c0b21255467155fe3196ca67e (patch)
treedfccd5ece10bd64865df605b58c9323ace79f762 /src/js
parent383515c1b7d160c0946c3bba03b6566b80dd9233 (diff)
downloadplyr-161dd48312d3a66c0b21255467155fe3196ca67e.tar.lz
plyr-161dd48312d3a66c0b21255467155fe3196ca67e.tar.xz
plyr-161dd48312d3a66c0b21255467155fe3196ca67e.zip
Fixed log message
Diffstat (limited to 'src/js')
-rw-r--r--src/js/plyr.js9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/js/plyr.js b/src/js/plyr.js
index 8d4e321b..f5dc88e0 100644
--- a/src/js/plyr.js
+++ b/src/js/plyr.js
@@ -1,6 +1,6 @@
// ==========================================================================
// Plyr
-// plyr.js v1.8.0
+// plyr.js v1.8.1
// https://github.com/selz/plyr
// License: The MIT License (MIT)
// ==========================================================================
@@ -44,7 +44,7 @@
displayDuration: true,
loadSprite: true,
iconPrefix: 'plyr',
- iconUrl: 'https://cdn.plyr.io/1.8.0/plyr.svg',
+ iconUrl: 'https://cdn.plyr.io/1.8.1/plyr.svg',
clickToPlay: true,
hideControls: true,
showPosterOnEnd: false,
@@ -190,21 +190,25 @@
// MSIE 11
if ((navigator.appVersion.indexOf('Windows NT') !== -1) && (navigator.appVersion.indexOf('rv:11') !== -1)) {
isIE = true;
+ name = 'IE';
fullVersion = '11;';
}
// MSIE
else if ((verOffset = ua.indexOf('MSIE')) !== -1) {
isIE = true;
+ name = 'IE';
fullVersion = ua.substring(verOffset + 5);
}
// Chrome
else if ((verOffset = ua.indexOf('Chrome')) !== -1) {
isChrome = true;
+ name = 'Chrome';
fullVersion = ua.substring(verOffset + 7);
}
// Safari
else if ((verOffset = ua.indexOf('Safari')) !== -1) {
isSafari = true;
+ name = 'Safari';
fullVersion = ua.substring(verOffset + 7);
if ((verOffset = ua.indexOf('Version')) !== -1) {
fullVersion = ua.substring(verOffset + 8);
@@ -213,6 +217,7 @@
// Firefox
else if ((verOffset = ua.indexOf('Firefox')) !== -1) {
isFirefox = true;
+ name = 'Firefox';
fullVersion = ua.substring(verOffset + 8);
}
// In most other browsers, 'name/version' is at the end of userAgent