Hi,
Please provide a link so I can inspect this issue.
Thanks!
Hi,
note – always best to use Google to find support for basic WordPress issues, unrelated to the theme.
FYI – videos embedded in wordpress posts are managed by the wordpress oembed function, not by the theme. Meaning, ALL wordpress themes/site can place videos into a post — and has nothing specific to do with the theme.
So, if you “google” this issue it’s very common.
One solution was to lower the height of the video code you are embedding to remove the height which is taller than aspect ratio of the video, hence the black bars.
e.g., try changing the height of the embded
width="500" height="281"
If this is a “featured video” post format, then you might need to edit the theme template for this issue. But it looks like you’re just placing video as per normal practice into the post.
FYI: On Vimeo, You can adjust the size by going to your video > click the share icon at the top right hand corner of the player > click ‘Show Options’ > adjust size and embed.
-
This reply was modified 11 years by
simchris.
What code are you pasting into the post ?
Are you using the Vimeo embed code for WordPress ?
When you got to the video on Vimeo they do have a specific embed code just for WordPress, and they also have option to save custom sizes, but that video being loaded is coming from Vimeo and is only appearing on the post in an iframe — meaning what is “inside” the iframe is being loaded *from* Vimeo.
So, you need to get the right setting from the video share page to use on the post in WP.
You can also “view source” on your actual live post to *see* the size of the video being loaded into the frame, to see if it’s the right/wrong size.
You may have to change the “frame” height in the HTML when embedding the video.
One of those annoying things to experiment with. Hope that helped 🙂
:: NOTE: TagDiv support may have BETTER ANSWER come Monday, to use some custom CSS to change the default height of the iframe.
-
This reply was modified 11 years by
simchris.
Hi,
Thanks Chris!
@planetaim
This happens because of the aspect ratio, you can change it here with this value http://screencast.com/t/9kMB0V1aEz
Thanks for the message!
Hi,
I see you sue the speed booster plugin, in that case the theme uses the minified js, you have to modify the code inside td_site.min.js: http://screencast.com/t/S4A1sR14hS
Thanks
Hi,
I also tested this, please add .5625 in this file if you use speed booster: http://screencast.com/t/gWuLIV72sR
Result: http://screencast.com/t/EWkfwt8C9
If this doesn’t work please try to disable Speed Booster and see if it works in this file but now add 0.5625: http://screencast.com/t/0mF9vhoNQknJ
Thanks!