]> _ Git - fluidbook-html5.git/commitdiff
wait #5125 @0.5
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 25 Feb 2022 17:33:43 +0000 (18:33 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 25 Feb 2022 17:33:43 +0000 (18:33 +0100)
js/libs/fluidbook/fluidbook.video.js

index c3c9377f081a6e477592963e536522164d4ef8b9..5e8ac4be6bb907b951a8e6c84f94fc44ec8d6438 100644 (file)
@@ -146,7 +146,7 @@ FluidbookVideo.prototype = {
             poster = false;
         }
 
-        html = '<video class="video-js vjs-fluidbook-skin"';
+        html = '<video playsinline class="video-js vjs-fluidbook-skin"';
         html += ' style="background-color:' + backgroundColor + ';" '
 
         if (poster && !autoplay) {
@@ -349,7 +349,7 @@ FluidbookVideo.prototype = {
         poster = path + '.jpg';
 
         // Build <video> element
-        html = '<video class="video-js" disablePictureInPicture poster="' + poster + '" ';
+        html = '<video class="video-js" playsinline disablePictureInPicture poster="' + poster + '" ';
 
         if (!isNaN(width)) {
             html += 'data-width="' + width + '" ';