nswdpc / silverstripe-elemental-iframe
Elemental iframe module, supports lazy loading of iframes
Package info
github.com/nswdpc/silverstripe-elemental-iframe
Type:silverstripe-vendormodule
pkg:composer/nswdpc/silverstripe-elemental-iframe
Requires
Requires (Dev)
- cambis/silverstan: ^2
- cambis/silverstripe-rector: ^2
- friendsofphp/php-cs-fixer: ^3
- nswdpc/ci-files: dev-v-4
- phpstan/phpstan: ^2
- phpstan/phpstan-phpunit: ^2
- phpunit/phpunit: ^9.5
- rector/rector: ^2
This package is auto-updated.
Last update: 2026-03-23 07:02:58 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
Documentation
Configuration
See config.yml for module configuration values
Maintainers
- PD Web Team
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.