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 {
|
.video-icon-container {
|
||||||
margin-right: 1rem;
|
font-size: 2rem;
|
||||||
|
margin-right: 2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.video-result.selected {
|
.video-result.selected {
|
||||||
|
|
|
@ -24,11 +24,11 @@ $(document).ready(function() {
|
||||||
var $icon = $('<i class="fa"></i>');
|
var $icon = $('<i class="fa"></i>');
|
||||||
|
|
||||||
if (url.startsWith('file://')) {
|
if (url.startsWith('file://')) {
|
||||||
$icon.addClass('fa-hdd');
|
$icon.addClass('fa-download');
|
||||||
} else if (url.startsWith('https://www.youtube.com/')) {
|
} else if (url.startsWith('https://www.youtube.com/')) {
|
||||||
$icon.addClass('fa-youtube');
|
$icon.addClass('fa-youtube');
|
||||||
} else if (url.startsWith('magnet:?')) {
|
} else if (url.startsWith('magnet:?')) {
|
||||||
$icon.addClass('fa-wifi');
|
$icon.addClass('fa-film');
|
||||||
} else {
|
} else {
|
||||||
$icon.addClass('fa-video');
|
$icon.addClass('fa-video');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue