Tagged: Youtube Video Embed
- This topic has 5 replies, 4 voices, and was last updated 2 years, 9 months ago by Theme Horse Support Team.
-
AuthorPosts
-
June 24, 2021 at 12:22 am #89816harunParticipant
hello, youtube videos do not fit on the page. how can i solve this problem?
June 30, 2021 at 1:48 pm #90025Theme Horse Support TeamKeymasterHi harun,
You have directly used the embedded code. You need to wrap the embedded code. You have to wrap the embed code with the class ’embed-responsive’ & ’embed-responsive-16by9′ to make responsive. So Please wrap the embedded code with the class ’embed-responsive’ and ’embed-responsive-16by9′.
<div class="embed-responsive embed-responsive-16by9"> (Paste your embedded code here) </div>
Please paste the embedded code as mentioned above.
OR
If you are using the WordPress 5+ then you can use the Embeds Block Features of Gutenberg on the page/post editor page which will be very easy to use the embedded code with out any HTML code customization.July 17, 2021 at 10:10 am #90492harunParticipanthi, i am using classic editor. there is a field to add a video there. I’m just adding the video link. I am not adding the embed code. I managed to embed the videos with the code you provided. but do i do this manually every time? why doesn’t it work with the editor?
Thanks for your help.
July 18, 2021 at 4:00 pm #90541Theme Horse Support TeamKeymasterYes you have to manually edit the video as HTML through ‘edit as HTML’ option as should wrap the iframe that you get on video element because the classic editor has not control for video to resize the video size or you have to add the video of smaller in size.
If you don’t want to work it manually every time then it’s better to upgrade the WordPress to latest version where you can edit the page content through block features and you can easily add videos that automatically responsibly.Thanks
July 29, 2021 at 1:12 pm #90870leejohny653BlockedThanks for your help.
August 1, 2021 at 7:44 am #90951Theme Horse Support TeamKeymasterWelcome anytime @leejohny653
-
AuthorPosts
- You must be logged in to reply to this topic.