diff options
author | Sam Potts <sam@potts.es> | 2020-04-23 22:06:36 +1000 |
---|---|---|
committer | Sam Potts <sam@potts.es> | 2020-04-23 22:06:36 +1000 |
commit | a9c4e77d1bcf1dedce9a3030017ddef2d3a924c8 (patch) | |
tree | 724e351d38c07c95b1637f5e4d2720946f4b4b8f /src/js/plyr.js | |
parent | 145f2ae24fc2177cd4b778ccdb9f7a6c46c3ba60 (diff) | |
download | plyr-a9c4e77d1bcf1dedce9a3030017ddef2d3a924c8.tar.lz plyr-a9c4e77d1bcf1dedce9a3030017ddef2d3a924c8.tar.xz plyr-a9c4e77d1bcf1dedce9a3030017ddef2d3a924c8.zip |
Migrate custom properties from media to parent
Diffstat (limited to 'src/js/plyr.js')
-rw-r--r-- | src/js/plyr.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/js/plyr.js b/src/js/plyr.js index 9b18bc35..14050929 100644 --- a/src/js/plyr.js +++ b/src/js/plyr.js @@ -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); |