HowTo

Requirements:

SilverStripe 4

Installation:

composer require betterembed/betterembed-silverstripe (?packagist url?)

After that, make sure you rebuild the database, class and configuration manifests by going to http://yourwebsite.com/dev/build?flush=all

Usage:

Upon installation, BetterEmbed shortcodes are available to use on the SilverStripe website. Shortcode syntax should follow this format [betterembed,url=write_url_here]

Example shortcode with Twitter post URL: [betterembed,url=https://twitter.com/BetterEmbed/status/1201878663173726208]

So, just add a new shortcode inside any Content field:

Press 'Publish' and new BetterEmbed object is created and published:

Last updated