Youtube Embed-Größe, erneut betrachtet

Works great! Thank you! :blue_heart:

2 „Gefällt mir“

Latest fixes this thanks to @david work on getting higher resolution thumbnails.

So this video should, fluidly, use the full width of a post area:

7 „Gefällt mir“

Just to fully understand, is there anything to do as an admin in order to have these full width video on our forum? New settings to enable or something like that?

1 „Gefällt mir“

Nothing special, just update to latest.

4 „Gefällt mir“

Related question:

How do we put back the original size of the YouTube videos? They’re now way too big for our forum. Most of our members like the smaller size.

Before / after screenshot

1 „Gefällt mir“

Set the div size with CSS.

3 „Gefällt mir“

Getting the following error message, please tell me what happened.

1 „Gefällt mir“

So, there’s no help for me then?

The person who used to take care of our site is not with the company any longer and the new person doesn’t have much experience with coding, so we’re really flying blind here.

1 „Gefällt mir“

Is it that straightforward?

I tried changing the width of .lazyYT-container but the preview image is cropped and the height won’t adjust automatically:

image
image

For now if you still have this error, just remove the line 11 of your CSS (it’s not valid CSS) until a solution is found.

2 „Gefällt mir“

If you want to keep the aspect ratio of 16:9 you will need to take care to both width and height.

The outside container can be adjusted with the width CSS property, while the height is currently set using a padding-bottom property.

I believe the old values where 480 and 270 respectively.

2 „Gefällt mir“

I added a new theme component on your site named YouTube fix. It is already active on your site, feel free to edit the value as you need. To see the changes you should click on the Rebuilt HTML button on posts.

5 „Gefällt mir“

Thank you so much for taking care of this! Sorry to be such a bother.

3 „Gefällt mir“

Would probably also be a good time to use something like https://github.com/paulirish/lite-youtube-embed

1 „Gefällt mir“

This topic was automatically closed after 2245 days. New replies are no longer allowed.