Skip to main content

dynamic Video option

make videos dynamic with metafields. Much needed and appreciated !
Greetz from Germany
Marcus

Status: Completed1 comment

Log in to comment and vote

Comments1

  • Pim

    •

    Nov 1, 2025

    Hey, I just fixed this with a custom liquid block and this code. You need to give the block a height.

    <video
      autoplay
      class="instant-video__player"
      loop
      muted
      playsinline
      preload="metadata"
      src="{{ product.metafields.custom.video_url }}"
    ></video>