Skip to content

chuck-n0rr1s/adapt-contrib-responsiveIframe

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •