diff options
author | Sam Potts <sam@potts.es> | 2020-11-14 12:50:49 +1100 |
---|---|---|
committer | Sam Potts <sam@potts.es> | 2020-11-14 12:50:49 +1100 |
commit | cd3962ca3296e3478dca84bd6a4557ed0a158f1a (patch) | |
tree | 52e15a5a0afc4a3cd85a4532a2fcfcd6535a72a8 /src/js/ui.js | |
parent | da16c55427881411d4b9a29c7d5e6d13662d9499 (diff) | |
download | plyr-cd3962ca3296e3478dca84bd6a4557ed0a158f1a.tar.lz plyr-cd3962ca3296e3478dca84bd6a4557ed0a158f1a.tar.xz plyr-cd3962ca3296e3478dca84bd6a4557ed0a158f1a.zip |
fix: hide poster when not using custom controls
Diffstat (limited to 'src/js/ui.js')
-rw-r--r-- | src/js/ui.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/js/ui.js b/src/js/ui.js index f882fc2b..c8b19677 100644 --- a/src/js/ui.js +++ b/src/js/ui.js @@ -172,6 +172,9 @@ const ui = { // Set property synchronously to respect the call order this.media.setAttribute('data-poster', poster); + // Show the poster + this.elements.poster.removeAttribute('hidden'); + // Wait until ui is ready return ( ready |