forked from leftypol/leftypol
Adds support for embed button for youtube. Eliminates preview image fetched from youtube that was causing a leak
This commit is contained in:
parent
0b86471076
commit
1afb5a5f31
2 changed files with 22 additions and 12 deletions
|
@ -346,7 +346,6 @@ $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"/>'.
|
||||
'</a></div>';
|
||||
|
||||
$config['embedding'] = array();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue