Migrate custom properties from media to parent

This commit is contained in:
Sam Potts
2020-04-23 22:06:36 +10:00
parent 145f2ae24f
commit a9c4e77d1b
2 changed files with 23 additions and 0 deletions

View File

@ -269,6 +269,9 @@ class Plyr {
wrap(this.media, this.elements.container);
}
// Migrate custom properties from media to container (so they work 😉)
ui.migrateStyles.call(this);
// Add style hook
ui.addStyleHook.call(this);