URL updates
This commit is contained in:
parent
f3bda17fa0
commit
e1a19faf26
@ -9,7 +9,7 @@
|
||||
"HTml5 Video"
|
||||
],
|
||||
"authors": [
|
||||
"Sam Potts <me@sampotts.me>"
|
||||
"Sam Potts <sam@potts.es>"
|
||||
],
|
||||
"dependencies": {},
|
||||
"main": [
|
||||
@ -27,7 +27,7 @@
|
||||
],
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git://github.com/selz/plyr.git"
|
||||
"url": "git://github.com/sampotts/plyr.git"
|
||||
},
|
||||
"license": "MIT"
|
||||
}
|
||||
|
@ -1,16 +1,16 @@
|
||||
// ==========================================================================
|
||||
// Plyr.io demo
|
||||
// This code is purely for the plyr.io website
|
||||
// Please see readme.md in the root or github.com/selz/plyr
|
||||
// Please see readme.md in the root or github.com/sampotts/plyr
|
||||
// ==========================================================================
|
||||
|
||||
/*global Plyr*/
|
||||
|
||||
// General functions
|
||||
(function() {
|
||||
document.body.addEventListener('ready', function(event) {
|
||||
/*document.body.addEventListener('ready', function(event) {
|
||||
console.log(event);
|
||||
});
|
||||
});*/
|
||||
|
||||
// Setup the player
|
||||
var player = new Plyr('#player', {
|
||||
|
@ -1,7 +1,7 @@
|
||||
// ==========================================================================
|
||||
// Plyr
|
||||
// plyr.js v3.0.0
|
||||
// https://github.com/selz/plyr
|
||||
// https://github.com/sampotts/plyr
|
||||
// License: The MIT License (MIT)
|
||||
// ==========================================================================
|
||||
|
||||
@ -1069,7 +1069,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
|
||||
var test = '___test';
|
||||
try {
|
||||
window.localStorage.setItem(test, test);
|
||||
@ -2374,7 +2374,7 @@
|
||||
}
|
||||
|
||||
// Set iframe title
|
||||
// https://github.com/Selz/plyr/issues/124
|
||||
// https://github.com/sampotts/plyr/issues/124
|
||||
if (utils.is.htmlElement(iframe)) {
|
||||
var title = utils.is.string(config.title) && !utils.is.empty(config.title) ? config.title : 'video';
|
||||
iframe.setAttribute('title', config.i18n.frameTitle.replace('{title}', title));
|
||||
@ -2392,7 +2392,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
|
||||
@ -2403,7 +2403,7 @@
|
||||
return;
|
||||
} else if (/^\d+(\.\d+)?$/.test(value)) {
|
||||
// If value is a number, it's probably volume from an older
|
||||
// version of player. See: https://github.com/Selz/plyr/pull/313
|
||||
// version of player. See: https://github.com/sampotts/plyr/pull/313
|
||||
// Update the key to be JSON
|
||||
updateStorage({
|
||||
volume: parseFloat(value)
|
||||
@ -2749,7 +2749,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 (player.elements.media.duration !== instance.getDuration()) {
|
||||
player.elements.media.duration = instance.getDuration();
|
||||
@ -2847,7 +2847,7 @@
|
||||
|
||||
player.embed.on('loaded', function() {
|
||||
// Fix keyboard focus issues
|
||||
// https://github.com/Selz/plyr/issues/317
|
||||
// https://github.com/sampotts/plyr/issues/317
|
||||
if (utils.is.htmlElement(player.embed.element) && player.supported.full) {
|
||||
player.embed.element.setAttribute('tabindex', -1);
|
||||
}
|
||||
@ -4478,7 +4478,7 @@
|
||||
}
|
||||
|
||||
// Cancel current network requests
|
||||
// See https://github.com/Selz/plyr/issues/174
|
||||
// See https://github.com/sampotts/plyr/issues/174
|
||||
function cancelRequests() {
|
||||
if (!utils.inArray(types.html5, player.type)) {
|
||||
return;
|
||||
@ -4497,7 +4497,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
|
||||
player.elements.media.load();
|
||||
|
||||
// Debugging
|
||||
|
@ -1,6 +1,6 @@
|
||||
// ==========================================================================
|
||||
// Plyr mixins
|
||||
// https://github.com/selz/plyr
|
||||
// https://github.com/sampotts/plyr
|
||||
// ==========================================================================
|
||||
|
||||
// <input type="range"> styling
|
||||
|
@ -1,6 +1,6 @@
|
||||
// ==========================================================================
|
||||
// Plyr styles
|
||||
// https://github.com/selz/plyr
|
||||
// https://github.com/sampotts/plyr
|
||||
// ==========================================================================
|
||||
|
||||
@import "variables";
|
||||
|
@ -1,6 +1,6 @@
|
||||
// ==========================================================================
|
||||
// Plyr variables
|
||||
// https://github.com/selz/plyr
|
||||
// https://github.com/sampotts/plyr
|
||||
// ==========================================================================
|
||||
|
||||
// Settings
|
||||
|
@ -1,6 +1,6 @@
|
||||
// ==========================================================================
|
||||
// Plyr mixins
|
||||
// https://github.com/selz/plyr
|
||||
// https://github.com/sampotts/plyr
|
||||
// ==========================================================================
|
||||
|
||||
// <input type="range"> styling
|
||||
|
@ -1,6 +1,6 @@
|
||||
// ==========================================================================
|
||||
// Plyr styles
|
||||
// https://github.com/selz/plyr
|
||||
// https://github.com/sampotts/plyr
|
||||
// ==========================================================================
|
||||
|
||||
@import "variables";
|
||||
|
@ -1,6 +1,6 @@
|
||||
// ==========================================================================
|
||||
// Plyr variables
|
||||
// https://github.com/selz/plyr
|
||||
// https://github.com/sampotts/plyr
|
||||
// https://robots.thoughtbot.com/sass-default
|
||||
// ==========================================================================
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user