How can I add product videos directly from my iPhone?

Hi guys!

I am trying to add short videos to our products using shopify (not youtube). I’d like to simply upload the video from my iphone to the shopify product page in the normal product images (not description).

I’ve added this snippet:

{% case media.media_type %}
{% when ‘image’ %}

{{ media | image_url: width: 2048, height: 2048 | image_tag }}
{% when 'external_video' %}
{{ media | external_video_tag }}
{% when 'video' %}
{{ media | video_tag: controls: true }}
{% when 'model' %}
{{ media | model_viewer_tag }}
{% else %}
{{ media | media_tag }}
{% endcase %}

But I can’t figure out where to add:

{% for media in product.media %}
{% render ‘media’, media: media %}
{% endfor %}

Hi @thosewhobloom ,

I don’t understand, what do you need to find that for?

Refer

You just need to add this, it will work fine