]> _ Git - fluidbook-html5.git/commitdiff
wait #4223 @0:20
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 2 Mar 2021 15:07:08 +0000 (16:07 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 2 Mar 2021 15:07:08 +0000 (16:07 +0100)
js/libs/fluidbook/fluidbook.video.js

index e14ae465566211d4d2cd9395223ab7ab4389c777..cc09f1c3bddd29724b3f70a4b2da69cd08ee5fd1 100644 (file)
@@ -95,6 +95,7 @@ FluidbookVideo.prototype = {
         }
 
         var id = $(e).data('id'),
+            backgroundColor = $(e).data('backgroundcolor'),
             width = parseFloat($(e).data('width')),
             height = parseFloat($(e).data('height')),
             name = $(e).data('name'),
@@ -146,6 +147,7 @@ FluidbookVideo.prototype = {
         }
 
         html = '<video class="video-js vjs-fluidbook-skin"';
+        html += ' style="background-color:' + backgroundColor + ';" '
 
         if (poster) {
             html += 'poster="' + poster + '" ';