2019-06-15 00:51:48 +02:00
|
|
|
mediaHandlers.file = {
|
2019-06-16 21:45:21 +02:00
|
|
|
iconClass: 'fa fa-hdd',
|
2019-06-15 00:51:48 +02:00
|
|
|
|
2019-06-16 21:45:21 +02:00
|
|
|
actions: [
|
|
|
|
{
|
|
|
|
text: 'Play',
|
|
|
|
icon: 'play',
|
|
|
|
action: 'play',
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
text: 'Download',
|
|
|
|
icon: 'download',
|
|
|
|
action: function(item, bus) {
|
|
|
|
bus.$emit('download', item);
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
text: 'View info',
|
|
|
|
icon: 'info',
|
|
|
|
action: 'info',
|
|
|
|
},
|
|
|
|
],
|
2019-06-15 00:51:48 +02:00
|
|
|
};
|
|
|
|
|