Prestige theme video as image how to make it autoplay and hide controls

Hi guys how can I make this image autoplay and remove the controls? Thanks :slightly_smiling_face:

https://jtzuya-dev-store.myshopify.com/products/basic-sweatshirt?_pos=2&_sid=6b73a7a51&_ss=r

password: brawne

{%- case media.media_type -%}
{%- when 'image' -%}

{% assign image_url = media | img_url: '1x1' | replace: '_1x1.', '_{width}x.' %}

{%- when 'external_video' -%}

{{- media | external_video_tag: image_size: '1024x' -}}

{%- when 'video' -%}

{{- media | video_tag: image_size: '1024x', controls: true -}}

{%- when 'model' -%}

{{- media | model_viewer_tag: image_size: '1024x', reveal: 'interaction', toggleable: true -}}

{%- endcase -%}

solved!

Hey,

I can’t see the answers to this question, where do I paste that code to make the autoplay and hide controls?

Thanks in advance

Hi @RASROWEN you just need to add a special attribute. It works on chrome but not on safari. I didn’t tried it on other browsers as well but it seems that it is only co

Hey, where do I have to add this code? Thanks :slightly_smiling_face: