Adding MP4 files to the asset folder of a website can be a great way to enhance the user experience by providing multimedia content.
Shopify's latest update does not support MP4 files in the assets folder. This means you need to change the code and upload the mp4 file into Shopify's file settings and the link received can be used as the theme's slideshow or product video. background video setting.
In this article
How to Remove MP4 Files from the Asset Folder
STEP 1
In Shopify Admin, click Online Store and click on Themes.
STEP 2
Click on the Action (ellipsis button) and click on Edit code.
STEP 3
Open the "hero.liquid" file.
STEP 4
Search for "asset_url".
STEP 5
This is the video code.
STEP 6
Click Save to apply the changes.
How to Add MP4 Files in the Assets Folder
STEP 1
In Shopify admin, click on Content.
STEP 2
Click on Files.
STEP 3
Click on Upload files.
STEP 4
Wait for the file to upload.
STEP 5
The uploaded video appears in the list of files.