Merge pull request #224 from nonmakina/youtubeEmbed2

Youtube embed
This commit is contained in:
nonmakina 2021-02-23 00:21:54 -06:00 committed by GitHub
commit a00962c6d8
2 changed files with 28 additions and 15 deletions

View file

@ -352,7 +352,7 @@ $config['enable_embedding'] = true;
$config['youtube_js_html'] = '<div class="video-container" data-video="$2">'.
'<a href="https://youtu.be/$2" target="_blank" class="file">'.
'<img style="width:255px;height:190px;" src="//img.youtube.com/vi/$2/0.jpg" class="post-image"/>'.
'https://youtu.be/$2'.
'</a></div>';
$config['embedding'] = array();