Skip to content
This repository has been archived by the owner on Oct 12, 2021. It is now read-only.

Commit

Permalink
Enabled responsive embeds
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshyPHP committed Sep 8, 2015
1 parent d9e91b7 commit 6666efd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 2 additions & 0 deletions bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand Down
10 changes: 5 additions & 5 deletions flarum.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand All @@ -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"
}
}

0 comments on commit 6666efd

Please sign in to comment.