forked from platypush/platypush
Video icons fixes
This commit is contained in:
parent
797d6a0fe8
commit
63b3d196e8
2 changed files with 4 additions and 3 deletions
|
@ -33,7 +33,8 @@ form#video-ctrl {
|
|||
}
|
||||
|
||||
.video-icon-container {
|
||||
margin-right: 1rem;
|
||||
font-size: 2rem;
|
||||
margin-right: 2rem;
|
||||
}
|
||||
|
||||
.video-result.selected {
|
||||
|
|
|
@ -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');
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue