Fix video fullscreen mode on mobile

This commit is contained in:
2020-05-08 22:59:46 +02:00
parent ebdad2e657
commit c86dce74c2
6 changed files with 14 additions and 15 deletions

View File

@@ -126,7 +126,7 @@
//ADDED-START
if(self.options.hasVideo) {
this.$video = $('<video class="lb-video" src="" controls="true" autoplay playsinline></video>');
this.$video = $('<video class="lb-video" controls autoplay></video>');
this.$image.after(this.$video);
this.videoBorderWidth = {
top: parseInt(this.$video.css('border-top-width'), 10),