This code makes embedded lazyYT YouTube videos responsive and 16:9, taking up most of the post width. codinghorror warned that dynamic height changes could affect stream positioning, but chapel clarified that the style is always applied and doesn’t change dynamically.
Others have tested and confirmed the solution, with some requiring minor modifications to accommodate existing styles generated by the lazyYT JS. A suggestion was made to integrate the CSS into the plugin for a more seamless user experience.
Remember anything that makes height of posts change dynamically will eventually screw up stream positioning, depending on how many posts in the stream have this happening. Worst case every one of them, e.g. a “post cool videos” topic.