Add videos in place of product images by adding the YouTube or Vimeo URL to the product image ALT text.
In order to prepare for Shopify's Product Media update, this feature will be deactivated for versions 5.1.0 and above. The Product Media update will include platform enhancements for adding video and 3D models.
1. Go to the Products tab in the Shopify Admin Dashboard and select the product to modify
2. Hover over the image you would like to turn into a video and click the ALT link
3. Paste your video URL into the Image alt text input (video player only supports Youtube and Vimeo videos)
For more details, check out Setting up Empire's product page