<!-- Button trigger modal -->
<!-- <button type="button" class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#scanModal">SCAN ORDONNANCE</button> -->

<!-- Modal -->
<div class="modal fade" id="scanModal" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true">
  <div class="modal-dialog modal-fullscreen">
    <div class="modal-content">
      <div class="modal-header">
        <h5 class="modal-title" id="exampleModalLabel">Scan document</h5>
        <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
      </div>
      <div class="modal-body">

        <div class="" style="position:relative;">
          <video id="video" style="position:absolute;left:0px;top:0px;"></video>
          <button id="startbutton" style="visibility:hidden;position:absolute;left:0px;top:0px;" class="btn btn-primary icon-circle-right"> Prendre une photo</button>
        </div>
        <canvas id="canvas" style="visibility:hidden;"></canvas>

        <!-- <div class="display-cover">
            <video autoplay></video>
            <canvas class="d-none"></canvas>
            <div class="video-options d-none">
                <select name="" id="" class="custom-select" style="width:95px;">
                    <option value="">Select camera</option>
                </select>
            </div>
            <img class="screenshot-image d-none" alt="">
            <div class="controls">
                <button class="btn btn-danger play" title="Play"><i data-feather="play-circle"></i></button>
                <button class="btn btn-info pause d-none" title="Pause"><i data-feather="pause"></i></button>
                <button class="btn btn-outline-success screenshot d-none" title="ScreenShot"><i data-feather="image"></i></button>
            </div>
        </div> -->

      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Fermer</button>
        <!-- <button type="button" class="btn btn-primary">Save changes</button> -->
      </div>
    </div>
  </div>
</div>
