Mobile video not displaying correctly
I edit my posts using the Wordpress block editor. I have embedded a couple of YouTube videos into my posts - for instance on this article: https://www.thetaprofits.com/in-the-money-covered-call/
It looks fine when I check it in the mobile preview version in Wordpress. However, on my mobile phone it looks crappy - cropping the view from both sides. See the attached screenshot from my mobile phone.
What can I do to avoid this?
John Einar
Comments
Hi,
To avoid this, use the Video element included in BeBuilder.
Or you can add the following function to the child theme:
https://developer.wordpress.org/block-editor/how-to-guides/themes/theme-support/#responsive-embedded-content
We are also taking a look at this function if it can be permanently implemented to our theme.
Best regards
Thank you!
Two questions:
1) You can try to use a video shortcode:
https://muffingroup.com/betheme/elements/video/
2) It should be added to the functions.php file.
Best regards