How can I mute product videos on the Ira theme?

Hey! I’m trying to mute product videos on the Ira theme.

I found instructions to add muted:true to the media.liquid snippet but when I attempted to add muted:true - I got some errors and the product no longer worked!

This is the media.liquid file:

{%- if media.media_type == 'image' -%} {% render 'image' with image: media %}

{%- elsif media.media_type == ‘video’ -%}
{{ media | video_tag: image_size: “1024x” }}

{%- elsif media.media_type == ‘external_video’ -%}
{%- liquid
if loop_video
assign loop_binary = “1”
else
assign loop_binary = “0”
endif
-%}

{{ media | external_video_url: playlist: media.external_id, loop: loop_binary | external_video_tag }}

{%- elsif media.media_type == ‘model’ -%}
{{ media | model_viewer_tag: reveal: ‘interaction’, toggleable: true }}


{% render ‘icon’ with icon: ‘3d-button-control’ %}

{%- endif -%}

Any suggestions would be helpful

Nevermind! Figured it out!

Added the muted:true here

{{ media | video_tag: image_size: “1024x”, muted:true }}