Image adjustment solved with CSS, but pending issue with iFrames (YouTube and Bunny.net)
Hi everyone π,
First of all, a big thank you to Chris, who shared a custom CSS snippet here in the community. Thanks to his contribution, I was able to make sure that in my Fluent Community portal all images, regardless of their size or aspect ratio, look perfect.
Iβve already added that code in Settings β Customization β Custom Snippets β Custom CSS, and it works beautifully. π
The issue I havenβt managed to solve yet is with iFrames:
- YouTube in the traditional 16:9 format looks fine.
- But I havenβt figured out how to make it work properly with Bunny.net, or with the different YouTube formats (for example, Shorts 9:16 or square 1:1 videos).
In short: Iβd like to achieve the same behavior as with images, where the system can automatically adjust the container to the iframeβs actual aspect ratio (whether horizontal, square, or vertical), without having to rely on fixed values.
π Question for the community:
Has anyone already faced this and found a practical solution for making iFrames adapt automatically in Fluent Community?
Any advice, snippets, or shared experiences would be greatly appreciated.
Thanks a lot in advance for your help! π
That's a good topic, I'm interested as well. π
