Copy-paste a theme-editor section for content - A real hosted video with controls - not a YouTube iframe, for when you want it to feel native to the store.
See it in action
1<div class="gpl-vid">2 {%- if section.settings.heading != blank -%}3 <h2 class="gpl-vid__heading">{{ section.settings.heading }}</h2>4 {%- endif -%}5 {%- if section.settings.video != blank -%}6 <video class="gpl-vid__player" controls playsinline poster="{{ section.settings.poster | image_url: width: 1200 }}">7 <source src="{{ section.settings.video }}" type="video/mp4">8 </video>9 {%- else -%}10 <div class="gpl-vid__empty">Upload a video in the section settings.</div>11 {%- endif -%}12</div>13 14{% schema %}
Full source is for members
One payment - every snippet, guide and bundle