Download
We're evolving to serve you better! This current forum has transitioned to read-only mode. For new discussions, support, and engagement, we've moved to GitHub Discussions.

Make embedded Video more responsive – Tipps anyone?

  • #3376
    Avatar photo[anonymous]

    Hi,

    as I can not use any public plattform and have to place the video as file in the media section, I was wondering whether anyone has a tipp, how to get the embedded video more responsive … thanks in advance.

    #3378
    Avatar photoBob

    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>
    #3398
    Avatar photo[anonymous]

    Thank you!

    Will give it a try!

    #3399
    Avatar photo[anonymous]

    Hey Bob,

    I use the “ProDocs” Template and it works fine! Thanks.

    This is what I used …

    <figure class="post__video post__video--21by9">
      <video width="100%" height="auto" controls="controls" data-mce-fragment="1">
        <source src="media/files/filename.mp4" type="video/mp4" />
      </video>
    </figure>