Move function to fonction.php and Add video Thumbnail
This commit is contained in:
@ -166,7 +166,7 @@ function listFile() {
|
||||
title: title,
|
||||
html: '<i class="fa fa-' + value.type + ' type" aria-hidden="true"></i> ' + title
|
||||
});
|
||||
if (value.type == "file-image")
|
||||
if (['file-image', 'file-video'].indexOf(value.type) > -1)
|
||||
a.addClass('preview');
|
||||
a.appendTo('.list');
|
||||
$('.list').append('<a class="fa fa-times del" href="delete.php?file=' + encode + '"></a><br>');
|
||||
|
Reference in New Issue
Block a user