Embed media, articles and social feeds as a block for the silverstripe-elemental module
Allows embedding of various videos, images, rich media and social elements as a content block via silverstripe-elemental.
- Display a video player
- Show a Facebook post incl. "like" buttons
- Share a magazine article with the headline image
- Point to a business or a location in an interactive Google Map
Note: The Embed.ly service is ad supported on the free plan. For customisations and an ad-free display, you'll need a paid plan.
Install using Composer:
composer require chillu/silverstripe-elemental-embedly
Once complete, run
dev/build from your browser, or command line via
- Elemental ^4.0
You can set an optional API key in
The library inlines
<script> tags with the block template.
You probably want to configure
in your project's
_config.php. This avoids auto-inlining all other
This library follows Semver. According to Semver, you will be able to upgrade to any minor or patch version of this library without any breaking changes to the public API. Semver also requires that we clearly define the public API for this library.
All methods, with
public visibility, are part of the public API. All other methods are not part of the public API. Where possible, we'll try to keep
protected methods backwards-compatible in minor/patch versions, but if you're overriding methods then please test your work before upgrading.
Please create an issue for any bugs you've found.