A few quick tricks to quickly center and increases the size of your video using HTML code.
You may want to watch the video on this page and follow along.
In the video, I’m going to scroll down and show you the position and dimensions of the video.
As you can see, it’s on the left side and of the page and the video is difficult to see the controls. If you try to click here it will not enlarge, which will force your viewers to leave your website and view it on YouTube. We can’t have that! Right?
So, we’re going to just increase the size of the video within WordPress.
We’re going to go to edit, you may need to go into your dashboard.
I’ve got this toggled on the HTML code.
Click next to I train and enter this code. Scroll down to where the video starts, if you used the embed code it will begin with iframe.
Right next to the word iframe, no space, I’m going to type a carrot symbol on either side of the word center all lower case.
Next, we will close it at the end of the iframe, type the exact same except add a forward slash.
Now, while still in HTML , we’re going to increase the width and height of the video.
So we are going to add 200 pixels to both dimensions.
To the Youtube video it is 615, so we will change to 816 and height is 415 so we’ll make it 615.
Now update, which saves everything. And let’s view the post.
You will see that not only is the video centered, it is also larger so people will be able to see the video without needing to view it from YouTube.
And we did it all very quickly by only adding a little HTML code.
Now, the video is much larger and easier to see!
You can center words and images the same way. And you may increase or decrease images or videos too.
Be careful when you increase an image, though. If the resolution is already high enough your photo may look pixelated, grainy or fuzzy. You will not have issues decreasing the size.
Let me know if this helps, I hope you start using this regularly.
Let me know if there are other things you would like to learn.
Please SUBSCRIBE to my channel and leave comments too!
Bye for now!
P.S. If you haven’t seen this, you may like:
Part 1 of a 2 part series – Image Will Not Post To Facebook
P.P.S. Or maybe: Wordpress: Remove Spam and Pending Comments in Seconds
Leslie, founder of MI, a digital marketing agency for brilliant business owners and entrepreneurs. When she’s not helping owners with their online presence, running Facebook or Google ads, designing websites, landing pages, email campaigns or creating video ads; she's probably scuba diving off some remote island in the Caribbean! She's super friendly & fun to talk to. She enjoys sharing things that will help your business. So reach out from your favorite social site and say hello; she'll be expecting you! :)
Please log in again. The login page will open in a new tab. After logging in you can close it and return to this page.