nswdpc/silverstripe-elemental-iframe

Elemental iframe module, supports lazy loading of iframes

Installs: 4 488

Dependents: 2

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 1

Open Issues: 2

Type:silverstripe-vendormodule

v1.0.0-rc3 2023-07-28 00:43 UTC

This package is auto-updated.

Last update: 2024-03-28 02:19:03 UTC


README

Provides an iframe element that can be added by content editors to pages and models with an ElementalArea.

Features

  • Supports lazy loading (HTML5 and via JS polyfill)
  • Provides alternate content field for assistive technologies
  • Width / Height options with full width checkbox
  • Configurable default height
  • Responsive 16x9 and 4x3 options (useful for video embeds)
  • Provides permissions to restrict who can add,edit and delete iframe content elements

Requirements

See composer.json

Installation

composer require nswdpc/silverstripe-elemental-iframe

License

BSD-3-Clause

Documentation

Configuration

See config.yml for module configuration values

Maintainers

Bugtracker

We welcome bug reports, pull requests and feature requests on the Github Issue tracker for this project.

Please review the code of conduct prior to opening a new issue.

Development and contribution

If you would like to make contributions to the module please ensure you raise a pull request and discuss with the module maintainers.

Please review the code of conduct prior to completing a pull request.