Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

182
Views
video tag goes across border

What I want is a video element that captures from a webcam next to it should be a canvas where one can take a picture and display it. After this I want to send it to the database. I can't figure out why it can stretch beyond the border.

<style>
  .col-lg {
    min-width: 0;
  }
</style>

<div class="container-fluid" style="border: 2px solid crimson; display: flex">
  <div class="row justify-content-center" style="border: 2px solid crimson;">
    <div class="col-lg text-center" style="border: 2px solid crimson;">
      <video id="cam_input" autoplay style="border:1px solid black;"></video>
    </div>
    <div class="col-lg text-center" style="border: 2px solid crimson;">
      <canvas id="myCanvas" style="border: 1px solid black;"> </canvas>
    </div>
  </div>
</div>

Snippet is misleading this is how it gets displayed

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!