diff --git a/etemplate/js/et2_widget_vfs.js b/etemplate/js/et2_widget_vfs.js index c9075ca95b..f8fc17435c 100644 --- a/etemplate/js/et2_widget_vfs.js +++ b/etemplate/js/et2_widget_vfs.js @@ -331,11 +331,10 @@ var et2_vfsMime = expose(et2_valueWidget.extend([et2_IDetachedDOM], { mediaContent = [{ title: _value.name, - type: 'video/*', - sources:[{ - href: base_url + _value.download_url, - type: _value.mime - }] + type: _value.mime, + poster:'', // TODO: Should be changed by correct video thumbnail later + thumbnail:this.egw().mime_icon(_value['mime'], _value['path']) , + href: base_url + _value.download_url, }]; } else