Thank you so much for taking the time to reply! And congrats on your success with going custom!
I’ve reached out to my theme builder to see if they can address the video issue directly. Below is some additional info. I’ve been able to pinpoint exactly where the problem is occurring. If you’re up for it, it’d be awesome if you could take a look and let me know where the liquid code you reference might need to be plugged.
So, in my theme “Video Hero” section, I select the media video file I’ve uploaded to shopify.
The exact code in the liquid file that calls and renders the video looks like this:
{% render 'native-video' with video: section.settings.video, autoplay: true, loop: true, muted: true, overlay: false, controls: false %}
That code is contained within a couple of DIVs.
The “native-video” that is referenced is another Liquid file that is being called to create the
In the “native-video.liquid” file, the code looks like this:
{{ video | video_tag: autoplay: autoplay, loop: loop, muted: muted, controls: controls, data-selector: "native-video", class: 'hero-video-mp4', image_size: '1100x'}}
When the page is loaded, the
As you can see, instead of using the source src from the actual compressed mp4 file, Shopify is calling an src for some random file they generated that has worse compression. My file is 255 KB, their file is 1 MB!
Any advice would be appreciated! I’m pretty sure I’ve pinpointed the issue, so now I’m just trying to come up with a solution.
I’ve also created a discussion post regarding this issue, but no comments yet.