Make iFrames Responsive #77
Labels
book theme options
related to the appearance of a book (its theme) and what a user can control without using custom CSS
media & embeds
related to media file uploads and embedded elements
reading interface
Feature Scope
Feature Description
I'd like to make iFrames embedded in Pressbooks size responsively. In particular, it would be nice to have videos and other elements inserted through oEmbed be resized as browser width changes. One possible model for implementation might be https://gist.github.com/jlengstorf/ce2470df87fd9a892f68.
Feature Use Case
This should benefit anyone who embeds interactive content in their site using oEmbeds. Currently, many oEmbed links include height and width values in their inline styling, which causes display problems, particularly on mobile devices. See the screenshots below for one example of a modestly-sized Youtube video on a narrow browser width:
The text was updated successfully, but these errors were encountered: