Skip Navigation

[Geschlossen] oEmbed always fit the content width

This support ticket is created vor 9 Jahre, 1 Monat. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 8:00 – 17:00 8:00 – 17:00 8:00 – 17:00 8:00 – 17:00 8:00 – 17:00 -
- - - - - - -

Supporter timezone: America/Sao_Paulo (GMT-03:00)

This topic contains 4 Antworten, has 2 Stimmen.

Last updated by Adriano vor 9 Jahre, 1 Monat.

Assigned support staff: Adriano.

Author
Artikel
#235316

Hi,

Today I inserted a youtube video in my Toolset Bootstrap theme website.
I can insert youtube video in my post and pages using just the URL, see http://codex.wordpress.org/Embeds.

On one page this is to small (see image 1), on other page this is to big (see image 2).

How can we make it that this always fits the content width?

Kind regards,

Willem

#235323

I'm also researching some plugins and CSS options I found on the internet.

#235354

Dear willem-siebeS,

Can you please attach these two images?

#235537
youtube-wordpress-te-groot.jpg
wordpress-youtube-te-klein.jpg

Hi, here the images. It seems that the Toolset Bootstrap theme does not define the content_width of the theme > see hidden link.

Anyways, if I have a page without sidebar this page also has a other content width then a page with sidebar, so even adding that code of the previous article to my own functions.php does not give me a solution for this. I now use this plugin: https://wordpress.org/plugins/advanced-responsive-video-embedder/. They add some CSS and Javascript so that the video's are fluid and always are 100% width.

But maybe still a good idea to do something with the content_width anyways, don't know if it's also important for other things (like galleries or so...). But for me this specific problem is now solved because of the plugin.

Kind regards,

Willem

#235777

Dear willem-siebeS,

Thanks for sharing this. I have shared this information with our development team. I will let you know if we add some feature about it before an official release.

Das Thema „[Geschlossen] oEmbed always fit the content width“ ist für neue Antworten geschlossen.