1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-28 17:31:00 +01:00

Better YouTube thumbnails for mobile, differentiate them from images

This commit is contained in:
8chan 2015-03-06 02:00:25 -08:00
parent 83cbe5977b
commit d7ade38cf0

View File

@ -1049,8 +1049,9 @@
// Youtube.js embed HTML code
$config['youtube_js_html'] = '<div class="video-container" data-video="$1" data-params="&$2&$3">'.
'<span class="unimportant yt-help">YouTube embed. Click thumbnail to play.</span><br>'.
'<a href="$0" target="_blank" class="file">'.
'<img style="width:360px;height:270px;" src="//img.youtube.com/vi/$1/0.jpg" class="post-image"/>'.
'<img style="width:255px" src="//img.youtube.com/vi/$1/0.jpg" class="post-image"/>'.
'</a></div>';
// Custom embedding (YouTube, vimeo, etc.)