Below is a screenshot of some of the videos effected. My website is oneblushingbride.net
Thanks for your help!
Below is a screenshot of some of the videos effected. My website is oneblushingbride.net
Thanks for your help!
Hi @Alisha_Jemelian ,
You have such a problem because your videos have a larger horizontal or vertical width than the web’s horizontal or vertical width. This can lead to a bad user experience, especially on mobile
To fix the problem, you can use the following solution:
In Online store, select Themes → More → Edit code
In base.css, add the following code at the end of the file:
iframe, video{
max-width: 100%;
}
Click Save to save the changes @Alisha_Jemelian
Hello, is there another way to fix this? I tried adding the code to my base.css at the bottom but it did not fix the issue as I tried to have GSC validate the fix and still got the error.
I was wondering this too. Unfortunately, the coding didn’t work for me.
Hey @Alisha_Jemelian ,
If you still have problems, you can fix the code as follows:
iframe, video {
aspect-ratio: 16 / 9;
height: 100%;
width: 100%;
}