diff --git a/bootstrap.php b/bootstrap.php index f741c87..7f5c0f8 100644 --- a/bootstrap.php +++ b/bootstrap.php @@ -29,6 +29,8 @@ public function subscribe(Dispatcher $events) public function addMediaSites(FormatterConfigurator $event) { + $event->configurator->templateChecker->remove('DisallowUnsafeDynamicCSS'); + $event->configurator->MediaEmbed->enableResponsiveEmbeds(); (new MediaPack)->configure($event->configurator); } } diff --git a/flarum.json b/flarum.json index 1061fa0..89ed975 100644 --- a/flarum.json +++ b/flarum.json @@ -2,8 +2,8 @@ "name": "s9e-mediaembed", "title": "s9e/mediaembed", "description": "Embed third-party content in your Flarum.", - "keywords": ["facebook","embed","media","twitter","youtube"], - "version": "0.1.0", + "keywords": ["embed","facebook","media","twitter","youtube"], + "version": "0.2.0", "author": { "name": "JoshyPHP" }, @@ -17,8 +17,8 @@ "issues": "https://github.com/s9e/flarum-ext-mediaembed/issues" }, "icon": { - "name": "youtube-play", - "backgroundColor": "#cc181e", - "color": "#fff" + "name": "youtube-play", + "backgroundColor": "#cc181e", + "color": "#fff" } } \ No newline at end of file