unclebumpy / adapt-contrib-responsiveIframe

Allows embedding content inside a responsive <iframe> tag

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

adapt-contrib-responsiveIframe

Allows embedded content inside an <iframe> tag that will respond to theme breakpoints.

Usage

Once installed, the component can be used to embed content within a course that will respond to the theme breakpoints - small, medium and large.

Width and height can be specified for the content at each of these breakpoints.

JSON Format

Width and height for each breakpoint is set via the _width and _height attributes. Each of these contain _small, _medium and _large attributes, which correspond to the breakpoint you wish to target.

For example JSON format, see example.json

About

Allows embedding content inside a responsive <iframe> tag

License:GNU General Public License v3.0


Languages

Language:JavaScript 97.8%Language:CSS 1.4%Language:HTML 0.9%