Hi,
While trying to upload Video to PDP page, the video is not getting auto adjusted to the set portrait size like rest of the images. The height of the video is more than the existing images. Can you please help me wherein video should auto fit to the size like images do.
URL: https://www.rivaajethnic.com/products/aisha-ajrakh-cotton-blue-straight-kurta
As seen in below screenshot, the height of video is more than image.
Many Thanks!
Hello @RivaajEthnic
Go to online store ----> themes ----> actions ----> edit code ----> assets ---->component-product.css
add this code at the end of the file and save.
.productView-image .productView-img-container .productView-video video {
width: 99% !important;
}
Thanks
Thanks Rahul, this code is resizing the existing video to 99%. would you know if there is a way where videos can autofit a defined frame irrespective of what their original size was?
Thanks Tosyno. How can i check what is the existing size of the images so that i can upload video with same dimension?