Video icons fixes

This commit is contained in:
Fabio Manganiello 2018-04-26 15:29:10 +02:00
parent 797d6a0fe8
commit 63b3d196e8
2 changed files with 4 additions and 3 deletions

View file

@ -33,7 +33,8 @@ form#video-ctrl {
}
.video-icon-container {
margin-right: 1rem;
font-size: 2rem;
margin-right: 2rem;
}
.video-result.selected {

View file

@ -24,11 +24,11 @@ $(document).ready(function() {
var $icon = $('<i class="fa"></i>');
if (url.startsWith('file://')) {
$icon.addClass('fa-hdd');
$icon.addClass('fa-download');
} else if (url.startsWith('https://www.youtube.com/')) {
$icon.addClass('fa-youtube');
} else if (url.startsWith('magnet:?')) {
$icon.addClass('fa-wifi');
$icon.addClass('fa-film');
} else {
$icon.addClass('fa-video');
}