Fix video fullscreen mode on mobile

This commit is contained in:
franzz committed 2020-05-08 22:59:46 +02:00
1 parent 40622de1bb
commit 4a9c303684
6 files changed
+14 -15

No files matched your search

+1 -1
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),