diff options
| author | czaks <marcin@6irc.net> | 2014-01-09 18:24:53 +0100 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2014-01-09 18:25:00 +0100 |
| commit | 858ebbe68fad45f653a518c5531749bf4c14c6ee (patch) | |
| tree | ccd42c9f8e21b6dff2bfa42adf626a0ed77fb71a /inc/config.php | |
| parent | cdb988c6d4cf48d0bb3e7e8b32e2d17b0ac4a703 (diff) | |
delegate youtube.js embed html code to config.php
Diffstat (limited to 'inc/config.php')
| -rw-r--r-- | inc/config.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/inc/config.php b/inc/config.php index d11d6862..486d4892 100644 --- a/inc/config.php +++ b/inc/config.php @@ -1525,3 +1525,8 @@ // is the absolute maximum, because MySQL cannot handle table names greater than 64 characters. $config['board_regex'] = '[0-9a-zA-Z$_\x{0080}-\x{FFFF}]{1,58}'; + // Youtube.js embed HTML code + $config['youtube_js_html'] = '<div class="video-container" data-video="$2">'. + '<a href="$0" target="_blank" class="file">'. + '<img style="width:360px;height:270px;" src="//img.youtube.com/vi/$2/0.jpg" class="post-image"/>'. + '</a></div>'; |
