metabrand-media

Metabrand case media

Looping videos and posters for the portfolio cases on metabrand.digital, served by GitHub Pages: https://metabrand-agency.github.io/metabrand-media/<file>

Files

Embed format

<video class="case-video" muted loop playsinline poster="https://metabrand-agency.github.io/metabrand-media/omnimatrix_promo.jpg"></video>

The file name appears once, in the poster URL. The site script takes the video from the same name (.jpg → .mp4). For another aspect ratio add style="aspect-ratio:960/1360". An explicit data-src overrides the video URL. A still image block uses the same class, so it keeps the 1920:1360 frame: <img class="case-video" src="https://metabrand-agency.github.io/metabrand-media/everytrade_cap.jpg" alt="..." loading="lazy">

How it works