always use poster

This commit is contained in:
j 2024-02-06 12:40:14 +01:00
parent 97383b8f2e
commit 384519ed52
1 changed files with 3 additions and 0 deletions

View File

@ -296,6 +296,9 @@ window.VideoElement = function(options) {
video = queue.pop();
} else {
video = document.createElement('video');
if (self.options.poster) {
video.poster = self.options.poster
}
restrictedElements.push(video);
}
} else {