aboutsummaryrefslogtreecommitdiffstats
path: root/src/js
diff options
context:
space:
mode:
authorSam Potts <me@sampotts.me>2017-05-16 10:08:59 +1000
committerSam Potts <me@sampotts.me>2017-05-16 10:08:59 +1000
commitbcf88cd0241f01f37c3d62da21a8715f883fa8b5 (patch)
tree015c5215c81ee4a4b1ae0303734f887a23ca2e69 /src/js
parent4957e4d80c833bbfa915c0c20d3d79245221b6f6 (diff)
downloadplyr-bcf88cd0241f01f37c3d62da21a8715f883fa8b5.tar.lz
plyr-bcf88cd0241f01f37c3d62da21a8715f883fa8b5.tar.xz
plyr-bcf88cd0241f01f37c3d62da21a8715f883fa8b5.zip
Vimeo demo bug fix + repo move
Diffstat (limited to 'src/js')
-rw-r--r--src/js/plyr.js22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/js/plyr.js b/src/js/plyr.js
index d86a2ecb..352e0114 100644
--- a/src/js/plyr.js
+++ b/src/js/plyr.js
@@ -1,7 +1,7 @@
// ==========================================================================
// Plyr
-// plyr.js v2.0.12
-// https://github.com/selz/plyr
+// plyr.js v2.0.13
+// https://github.com/sampotts/plyr
// License: The MIT License (MIT)
// ==========================================================================
// Credits: http://paypal.github.io/accessible-html5-video-player/
@@ -43,7 +43,7 @@
displayDuration: true,
loadSprite: true,
iconPrefix: 'plyr',
- iconUrl: 'https://cdn.plyr.io/2.0.12/plyr.svg',
+ iconUrl: 'https://cdn.plyr.io/2.0.13/plyr.svg',
blankUrl: 'https://cdn.selz.com/plyr/blank.mp4',
clickToPlay: true,
hideControls: true,
@@ -687,7 +687,7 @@
}
// Try to use it (it might be disabled, e.g. user is in private/porn mode)
- // see: https://github.com/Selz/plyr/issues/131
+ // see: https://github.com/sampotts/plyr/issues/131
try {
// Add test item
window.localStorage.setItem('___test', 'OK');
@@ -1418,7 +1418,7 @@
}
// Set iframe title
- // https://github.com/Selz/plyr/issues/124
+ // https://github.com/sampotts/plyr/issues/124
if (_is.htmlElement(iframe)) {
iframe.setAttribute('title', config.i18n.frameTitle.replace('{title}', config.title));
}
@@ -1435,7 +1435,7 @@
}
// Clean up old volume
- // https://github.com/Selz/plyr/issues/171
+ // https://github.com/sampotts/plyr/issues/171
window.localStorage.removeItem('plyr-volume');
// load value from the current key
@@ -1446,7 +1446,7 @@
return;
} else if (/^\d+(\.\d+)?$/.test(value)) {
// If value is a number, it's probably volume from an older
- // version of plyr. See: https://github.com/Selz/plyr/pull/313
+ // version of plyr. See: https://github.com/sampotts/plyr/pull/313
// Update the key to be JSON
_updateStorage({volume: parseFloat(value)});
} else {
@@ -1772,7 +1772,7 @@
}, 100);
// Check duration again due to YouTube bug
- // https://github.com/Selz/plyr/issues/374
+ // https://github.com/sampotts/plyr/issues/374
// https://code.google.com/p/gdata-issues/issues/detail?id=8690
if (plyr.media.duration !== instance.getDuration()) {
plyr.media.duration = instance.getDuration();
@@ -1849,7 +1849,7 @@
plyr.embed.on('loaded', function() {
// Fix keyboard focus issues
- // https://github.com/Selz/plyr/issues/317
+ // https://github.com/sampotts/plyr/issues/317
if (_is.htmlElement(plyr.embed.element) && plyr.supported.full) {
plyr.embed.element.setAttribute('tabindex', '-1');
}
@@ -3203,7 +3203,7 @@
}
// Cancel current network requests
- // See https://github.com/Selz/plyr/issues/174
+ // See https://github.com/sampotts/plyr/issues/174
function _cancelRequests() {
if (!_inArray(config.types.html5, plyr.type)) {
return;
@@ -3222,7 +3222,7 @@
// Load the new empty source
// This will cancel existing requests
- // See https://github.com/Selz/plyr/issues/174
+ // See https://github.com/sampotts/plyr/issues/174
plyr.media.load();
// Debugging