nodebb-plugin-ns-embed
nodebb-plugin-ns-embed copied to clipboard
Youtube embeds are tiny
Everything was fine on NodeBB 2.8.7 and then I upgraded to 3.5.0. Plugin works, just videos are tiny. Using the default rules as I have never tweaked anything.
Just add a style to iframe
<div class='embed-wrapper'><div class='embed-container'><iframe style="aspect-ratio:16/9;height:auto;width:100%" src='https://www.youtube.com/embed/$1' frameborder='0' allowfullscreen></iframe></div></div>
(https://stackoverflow.com/a/73293939/3289081)