Merge branch 'master' of github.com:sampotts/plyr

This commit is contained in:
Sam Potts 2018-04-04 16:50:06 +10:00
commit ee79c46145

View File

@ -57,7 +57,7 @@ class Plyr {
this.config = utils.extend( this.config = utils.extend(
{}, {},
defaults, defaults,
options, options || {},
(() => { (() => {
try { try {
return JSON.parse(this.media.getAttribute('data-plyr-config')); return JSON.parse(this.media.getAttribute('data-plyr-config'));