Global keyboard shortcut changes

This commit is contained in:
Sam Potts
2016-08-22 14:44:18 +10:00
parent df7f52d885
commit 12e94775d6
5 changed files with 15 additions and 12 deletions

View File

@ -1,6 +1,6 @@
// ==========================================================================
// Plyr
// plyr.js v2.0.2
// plyr.js v2.0.3
// https://github.com/selz/plyr
// License: The MIT License (MIT)
// ==========================================================================
@ -43,14 +43,14 @@
displayDuration: true,
loadSprite: true,
iconPrefix: 'plyr',
iconUrl: 'https://cdn.plyr.io/2.0.2/plyr.svg',
iconUrl: 'https://cdn.plyr.io/2.0.3/plyr.svg',
clickToPlay: true,
hideControls: true,
showPosterOnEnd: false,
disableContextMenu: true,
keyboardShorcuts: {
focused: true,
global: true
global: false
},
tooltips: {
controls: false,
@ -59,7 +59,7 @@
selectors: {
html5: 'video, audio',
embed: '[data-type]',
editable: 'input, select, [contenteditable]',
editable: 'input, textarea, select, [contenteditable]',
container: '.plyr',
controls: {
container: null,