Black bars on the Video

Posted in: Newspaper
Post count: 49

Hello! When I put the video on my site, at the top and bottom of the video are black lines. Please tell me how to solve this problem!

Post count: 7909

Hi,

Please provide a link so I can inspect this issue.

Thanks!

Post count: 49
Post count: 49

All videos are in the black lines at the top and bottom! thanks

Post count: 49
Post count: 49

how solve the problem?

Post count: 49

?????

Post count: 9544

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.
Post count: 49

Thank you, I thought this is a problem of theme. Thank you very much Chris S.

Post count: 49

but the problem is that the size of the video does not react, do not resize videos

Post count: 49

change the sizes of the code, but nothing changes. videos are one standard sizes videos do not change. i cant change video sizes.

Post count: 9544

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.
Post count: 6600

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!

Post count: 49

Thanks !

Post count: 49

not changes (((

Post count: 6600

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

Post count: 49

Hi Lucian Thanks for Help, but nothing changes. Yes i use the speed booster plugin, when i modify the code inside td_site.min.js is nothing changes. I dont know why? But nothing changes.

Post count: 7909

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!

Post count: 49

Hi! No it does not work I tried it all. Let it be as it is. Thank you that tried to help me. Bye!

Viewing 19 posts - 1 through 19 (of 19 total)
The forum ‘Newspaper’ is closed to new topics and replies.