Fix video media content for Expose view

This commit is contained in:
Hadi Nategh 2015-01-29 17:24:08 +00:00
parent 7a81c7bfa4
commit 3b16ba88fe

View File

@ -331,11 +331,10 @@ var et2_vfsMime = expose(et2_valueWidget.extend([et2_IDetachedDOM],
{
mediaContent = [{
title: _value.name,
type: 'video/*',
sources:[{
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,
type: _value.mime
}]
}];
}
else