Responsive iframe

I’ve written a Joomla module to display videos using the Cloudfare Stream Player. I am trying to get the resulting iframe to be responsive.

I came across this post:

“You can leave the height and width values out, which will make the player expand to the height and width of it’s container.”

I do not get this behavior. If I remove height/width parameters from the iframe, its dimensions default to 300x150 pixels
How do I make the Cloudfare iframe resize dynamically to fill the div it’s in?
Can someone point to documentation or a working example?

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.