Main issue: Show a preview image before a video plays on a Shopify page.
Key points:
The current
Recommendation: Use an image file for poster and consider uploading both the video and image to Shopify’s Files for better performance and reliability, instead of external hosting.
Follow-up update:
After switching, the preview image and the video display at different sizes.
Guidance: Ensure both the media assets and the HTML/CSS element dimensions match so the poster and the video share the same sizing/aspect ratio.
Status: Partially addressed. The correct approach (poster must be an image) is identified, with additional advice to host assets on Shopify and align sizes. No confirmation of final resolution yet.
in the below image I have a video that does show an images of the item, the video plays but I want a picture of the item to show before you play the video. Anyone know how to fix the code to show an image before someone clicks on the video.
I think you want to to change your poster to an image not a video in your video tag.
poster=someImage.png
Also it would be helpful if you could download the video and images and upload into Shopify. Then use those files from Shopify instead of an external source like video.aliexpress… It’ll help your site performance Here’s a link for uploading content to save you a google.