L
L
LastGeneral2020-01-06 00:04:16
css
LastGeneral, 2020-01-06 00:04:16

How to embed a video so that it is responsive?

<div class="container">
            <div class="row">
                <div class="col-md-6">
                    <video playsinline="" autoplay="" muted="" loop="">
                        <source src="/video/promo.mp4" type="video/mp4">
                    </video>
                </div>
                <div class="col-md-6">
                    <h2>текст</h2>
                    <p>текст</p>
                </div>
            </div>
        </div>

The block is divided into 2 parts, but the video goes beyond the boundaries, how to make it clear in its block, and be like a 'rubber' on different extensions?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nikolai Smirnov, 2020-01-06
@Bzdykin

Look in the bootstrap documentation for the solution to your problem, since you are building on it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question