comparison Applications/StoneWebViewer/WebApplication/index.html @ 1661:e4589378ad8b

warning message about unsupported videos
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 19 Nov 2020 10:29:33 +0100
parents 05b55b89a134
children 0f161841f837
comparison
equal deleted inserted replaced
1660:05b55b89a134 1661:e4589378ad8b
590 <!-- Don't use "v-if" here, otherwise the tooltips of the PDF viewer are not initialized --> 590 <!-- Don't use "v-if" here, otherwise the tooltips of the PDF viewer are not initialized -->
591 <div v-show="status == 'pdf'" > 591 <div v-show="status == 'pdf'" >
592 <pdf-viewer v-bind:prefix="canvasId + '-pdf'" ref="pdfViewer"></pdf-viewer> 592 <pdf-viewer v-bind:prefix="canvasId + '-pdf'" ref="pdfViewer"></pdf-viewer>
593 </div> 593 </div>
594 594
595 <!--div v-if="status == 'video'" class="wvPaneOverlay"> 595 <div v-if="status == 'video'" class="wvPaneOverlay">
596 <video class="wvVideo" autoplay="" loop="" controls="" preload="auto" type="video/mp4" 596 [ this viewer cannot play videos ]
597 <!--video class="wvVideo" autoplay="" loop="" controls="" preload="auto" type="video/mp4"
597 src="http://viewer-pro.osimis.io/instances/e465dd27-83c96343-96848735-7035a133-1facf1a0/frames/0/raw"> 598 src="http://viewer-pro.osimis.io/instances/e465dd27-83c96343-96848735-7035a133-1facf1a0/frames/0/raw">
598 </video> 599 </video-->
599 </div--> 600 </div>
600 601
601 <div v-if="status == 'loading'" class="wvPaneOverlay"> 602 <div v-if="status == 'loading'" class="wvPaneOverlay">
602 <span class="wvLoadingSpinner"> 603 <span class="wvLoadingSpinner">
603 <div class="bounce1"></div> 604 <div class="bounce1"></div>
604 <div class="bounce2"></div> 605 <div class="bounce2"></div>
615 <div style="position:absolute; left:0; top:0; width:100%; height:100%;"> 616 <div style="position:absolute; left:0; top:0; width:100%; height:100%;">
616 <!-- "line-height: 0px" to fit height: https://stackoverflow.com/a/12616341/881731 --> 617 <!-- "line-height: 0px" to fit height: https://stackoverflow.com/a/12616341/881731 -->
617 <div v-bind:id="prefix + '-container'" 618 <div v-bind:id="prefix + '-container'"
618 style="position: absolute; left: 0; top: 0; width:100%;height:100%;overflow:auto;line-height: 0px;"> 619 style="position: absolute; left: 0; top: 0; width:100%;height:100%;overflow:auto;line-height: 0px;">
619 <canvas v-bind:id="prefix + '-canvas'" 620 <canvas v-bind:id="prefix + '-canvas'"
620 style="position: absolute; top:0px; left:0px; background-color: white;" 621 style="position: absolute; top:0px; left:0px;"
621 oncontextmenu="return false"></canvas> 622 oncontextmenu="return false"></canvas>
622 </div> 623 </div>
623 624
624 <div class="wv-overlay"> 625 <div class="wv-overlay">
625 <div class="wv-overlay-bottomleft wvPrintExclude"> 626 <div class="wv-overlay-bottomleft wvPrintExclude">