URL updates

This commit is contained in:
Sam Potts 2017-05-16 10:20:58 +10:00
parent f3bda17fa0
commit e1a19faf26
9 changed files with 20 additions and 20 deletions

View File

@ -9,7 +9,7 @@
"HTml5 Video" "HTml5 Video"
], ],
"authors": [ "authors": [
"Sam Potts <me@sampotts.me>" "Sam Potts <sam@potts.es>"
], ],
"dependencies": {}, "dependencies": {},
"main": [ "main": [
@ -27,7 +27,7 @@
], ],
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git://github.com/selz/plyr.git" "url": "git://github.com/sampotts/plyr.git"
}, },
"license": "MIT" "license": "MIT"
} }

View File

@ -1,16 +1,16 @@
// ========================================================================== // ==========================================================================
// Plyr.io demo // Plyr.io demo
// This code is purely for the plyr.io website // 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*/ /*global Plyr*/
// General functions // General functions
(function() { (function() {
document.body.addEventListener('ready', function(event) { /*document.body.addEventListener('ready', function(event) {
console.log(event); console.log(event);
}); });*/
// Setup the player // Setup the player
var player = new Plyr('#player', { var player = new Plyr('#player', {

View File

@ -1,7 +1,7 @@
// ========================================================================== // ==========================================================================
// Plyr // Plyr
// plyr.js v3.0.0 // plyr.js v3.0.0
// https://github.com/selz/plyr // https://github.com/sampotts/plyr
// License: The MIT License (MIT) // 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) // 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'; var test = '___test';
try { try {
window.localStorage.setItem(test, test); window.localStorage.setItem(test, test);
@ -2374,7 +2374,7 @@
} }
// Set iframe title // Set iframe title
// https://github.com/Selz/plyr/issues/124 // https://github.com/sampotts/plyr/issues/124
if (utils.is.htmlElement(iframe)) { if (utils.is.htmlElement(iframe)) {
var title = utils.is.string(config.title) && !utils.is.empty(config.title) ? config.title : 'video'; var title = utils.is.string(config.title) && !utils.is.empty(config.title) ? config.title : 'video';
iframe.setAttribute('title', config.i18n.frameTitle.replace('{title}', title)); iframe.setAttribute('title', config.i18n.frameTitle.replace('{title}', title));
@ -2392,7 +2392,7 @@
} }
// Clean up old volume // Clean up old volume
// https://github.com/Selz/plyr/issues/171 // https://github.com/sampotts/plyr/issues/171
window.localStorage.removeItem('plyr-volume'); window.localStorage.removeItem('plyr-volume');
// load value from the current key // load value from the current key
@ -2403,7 +2403,7 @@
return; return;
} else if (/^\d+(\.\d+)?$/.test(value)) { } else if (/^\d+(\.\d+)?$/.test(value)) {
// If value is a number, it's probably volume from an older // 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 // Update the key to be JSON
updateStorage({ updateStorage({
volume: parseFloat(value) volume: parseFloat(value)
@ -2749,7 +2749,7 @@
}, 100); }, 100);
// Check duration again due to YouTube bug // 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 // https://code.google.com/p/gdata-issues/issues/detail?id=8690
if (player.elements.media.duration !== instance.getDuration()) { if (player.elements.media.duration !== instance.getDuration()) {
player.elements.media.duration = instance.getDuration(); player.elements.media.duration = instance.getDuration();
@ -2847,7 +2847,7 @@
player.embed.on('loaded', function() { player.embed.on('loaded', function() {
// Fix keyboard focus issues // 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) { if (utils.is.htmlElement(player.embed.element) && player.supported.full) {
player.embed.element.setAttribute('tabindex', -1); player.embed.element.setAttribute('tabindex', -1);
} }
@ -4478,7 +4478,7 @@
} }
// Cancel current network requests // Cancel current network requests
// See https://github.com/Selz/plyr/issues/174 // See https://github.com/sampotts/plyr/issues/174
function cancelRequests() { function cancelRequests() {
if (!utils.inArray(types.html5, player.type)) { if (!utils.inArray(types.html5, player.type)) {
return; return;
@ -4497,7 +4497,7 @@
// Load the new empty source // Load the new empty source
// This will cancel existing requests // 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(); player.elements.media.load();
// Debugging // Debugging

View File

@ -1,6 +1,6 @@
// ========================================================================== // ==========================================================================
// Plyr mixins // Plyr mixins
// https://github.com/selz/plyr // https://github.com/sampotts/plyr
// ========================================================================== // ==========================================================================
// <input type="range"> styling // <input type="range"> styling

View File

@ -1,6 +1,6 @@
// ========================================================================== // ==========================================================================
// Plyr styles // Plyr styles
// https://github.com/selz/plyr // https://github.com/sampotts/plyr
// ========================================================================== // ==========================================================================
@import "variables"; @import "variables";

View File

@ -1,6 +1,6 @@
// ========================================================================== // ==========================================================================
// Plyr variables // Plyr variables
// https://github.com/selz/plyr // https://github.com/sampotts/plyr
// ========================================================================== // ==========================================================================
// Settings // Settings

View File

@ -1,6 +1,6 @@
// ========================================================================== // ==========================================================================
// Plyr mixins // Plyr mixins
// https://github.com/selz/plyr // https://github.com/sampotts/plyr
// ========================================================================== // ==========================================================================
// <input type="range"> styling // <input type="range"> styling

View File

@ -1,6 +1,6 @@
// ========================================================================== // ==========================================================================
// Plyr styles // Plyr styles
// https://github.com/selz/plyr // https://github.com/sampotts/plyr
// ========================================================================== // ==========================================================================
@import "variables"; @import "variables";

View File

@ -1,6 +1,6 @@
// ========================================================================== // ==========================================================================
// Plyr variables // Plyr variables
// https://github.com/selz/plyr // https://github.com/sampotts/plyr
// https://robots.thoughtbot.com/sass-default // https://robots.thoughtbot.com/sass-default
// ========================================================================== // ==========================================================================