@@ -58,18 +58,15 @@ <h1 style="font-size: 1.5em;">Customized UI</h1>
5858 < div id ="UIElement ">
5959 < div id ="div-video-container "
6060 style ="width:100%;height:100%;min-width:100px;min-height:100px;position:relative; ">
61- < video class ="dce-video " playsinline ="true " muted
62- style ="width:100%;height:100%;position:absolute;left:0;top:0; "> </ video >
63- < canvas class ="dbrScanner-cvs-drawarea "
64- style ="width:100%;height:100%;position:absolute;left:0;top:0; "> </ canvas >
65- < div class ="dbrScanner-cvs-scanarea " style ="width:100%;height:100%;position:absolute;left:0;top:0; ">
66- < div class ="dbrScanner-scanlight "
67- style ="display:none;width:100%;height:3%;position:absolute;animation:3s infinite dbrScanner-scanlight;border-radius:50%;box-shadow:0px 0px 2vw 1px #00e5ff;background:#fff;user-select:none; ">
61+ < div class ="dce-video-container " style ="position:absolute;left:0;top:0;width:100%;height:100%; "> </ div >
62+ < div class ="dce-scanarea " style ="width:100%;height:100%;position:absolute;left:0;top:0; ">
63+ < div class ="dce-scanlight "
64+ style ="display:none;width:100%;height:3%;position:absolute;animation:3s infinite dce-scanlight;border-radius:50%;box-shadow:0px 0px 2vw 1px #00e5ff;background:#fff;user-select:none; ">
6865 </ div >
6966 </ div >
7067 </ div >
7168 </ div >
72- < script src ="https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@8.8.7 /dist/dbr.js "> </ script >
69+ < script src ="https://cdn.jsdelivr.net/npm/keillion- dynamsoft-javascript-barcode@0.20220318174621.0 /dist/dbr.js "> </ script >
7370 < script >
7471 /** LICENSE ALERT - README
7572 *
@@ -120,7 +117,7 @@ <h1 style="font-size: 1.5em;">Customized UI</h1>
120117 }
121118 } ;
122119 document . getElementById ( 'toggleScanLight' ) . onclick = function ( ) {
123- let scanlight = document . getElementsByClassName ( 'dbrScanner -scanlight' ) ;
120+ let scanlight = document . getElementsByClassName ( 'dce -scanlight' ) ;
124121 if ( scanlight . length ) {
125122 scanlight [ 0 ] . hidden = ! this . checked ;
126123 }
0 commit comments