Please add DIVX support
file ext: .divx
MIME: video/x-divx
Render using divx web player
This seems very simple, I have most of it working myself but I cannot get G2 to feed the file to ffmpeg to auto generate thumbnails even though it will do the same file renamed as a .avi
The following code in GalleryMovieItem.class will acheive most of what is required:
case 'video/x-divx':
return sprintf(
'<object classid="clsid:67DABFBF-D0AB-41fa-9C46-CC0F21721616"
codebase="http://go.divx.com/plugin/DivXBrowserPlugin.cab"
width="%s" height="%s">
<param name="custommode" value="none"/>
<param name="autoPlay" value="false"/>
<param name="src" value="%s"/>
<embed type="video/x-divx" src="%s"
custommode="none" width="%s" height="%s" autoPlay="false"
pluginspage="http://go.divx.com/plugin/download">
</embed></object>',
$width, $height, $src, $src, $width, $height);
And then make a MIME type in G2: video/x-divx as .divx
It just won't try and make the ffmpeg thumbnail, I have yet to work that bit out.