nswdpc / silverstripe-elemental-iframe
Elemental iframe module, supports lazy loading of iframes
Installs: 5 371
Dependents: 3
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 1
Open Issues: 0
Type:silverstripe-vendormodule
Requires
Requires (Dev)
- phpunit/phpunit: ^9.5
- squizlabs/php_codesniffer: ^3.0
This package is auto-updated.
Last update: 2024-10-23 03:23:27 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
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.