Videos

Posted in: Newspaper
Post count: 134

Hello,

when I put a video from a different site, not YouTube, it is not responsive and it does not fill properly in the free space on different devices, on phone for example. Is there a way to fix it or this can be done only by the video website owners?

Thanks!

  • This topic was modified 10 years by Marto.
Post count: 22421

Hi,
Please provide examples of how you are implementing these videos. A link to your site will also be helpful.
Thank you!

Post count: 134

Hi,

here is example for video that does not fit properly on all devices especially on mobile. link

Post count: 22421

Hi,

This is why I asked you how you implemented the video: http://screencast.com/t/tyuCv4j115 You have it inside an iframe with a fixed width .If the width is fixed, there is no responsiveness. You need to give it a width of 100 % or 80 %, just not a fixed one.

Thank you!

Post count: 134

Hi,

it’s the same on YouTube videos but they get responsive without setting the width in percents.

Why is that?

Post count: 22421

Hi,
Youtube iframes are not getting a fixed width. You can implement youtube videos directly without iframes by simply pasting the youtube link inside the post and wordpress does the rest: http://screencast.com/t/zklVZPRRrK5c
As you can see the youtube iframe already has a 100% width not a fixed with in pixels.
Thank you!

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