Sign in

Make embedded Video more responsive – Tipps anyone?

#3378
Bob

Hi Wimm,

If you use any of our themes, just create a container with .post__video class around your video, something like:

<div class="post__video">
    <video>...<video>
</div>

In addition, you can also use the additional classes listed below depending on the ratio of your movie.

  • .post__video–21by9
  • .post__video–4by3
  • .post__video–1by1

e.g.:

<div class="post__video post__video--21by9">
    <video>...<video>
</div>

--
Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!