The file types that are allowed to be uploaded are defined inside a uiConf xml file that is located on the Kaltura servers and retrieved by the KUploader using the uiConfId specified in flashVars.
The following xml shows an example of a uiConf that enables the uploading of different file types:
<fileFilter id="image" description="images" extensions="*.jpg;*.jpeg;*.bmp;*.png;*.gif;*.tif;*.tiff" entryType="1" mediaType="2" />
<fileFilter id="video" description="videos" extensions="*.flv;*.asf;*.qt;*.mov;*.mpg;*.mpeg;*.avi;*.wmv;*.mp4; *.m4v;*.3gp" type="1" entryType="1" mediaType="1" />
<fileFilter id="audio" description="audio" extensions="*.flv;*.asf;*.wmv;*.qt;*.mov;*.mpg;*.avi;*.mp3;*.wav;*. mp4;*.wma;*.3gp" entryType="1" mediaType="5" />
<fileFilter id="media" description="images/videos/audio" extensions="*.qt;*.mov;*.mpg;*.avi;*.mp3;*.wav;*.mp4;*.wma;*.flv;*.asf;*.qt;*.mov;*.mpeg;*.avi;*.wmv;*.m4v;*.3gp;*.jpg;*.jpeg;*.bmp; *.png;*.gif;*.tif;*.tiff" entryType="1" mediaType="‐1" />
<fileFilter id="documents" description="documents" extensions="*.*" entryType="10" mediaType="‐1" />
<fileFilter id="any" description="documents/images/videos/audio" extensions="*.*" entryType="‐1" mediaType="‐1" />
</fileFilters>
The above example enable the upload of the following file types (divided by groups):
- Image files - .jpg, .jpeg, .bmp, .png, .gif, .tif, .tiff .
- Video files - .flv, .asf, .qt, .mov, .mpg, .mpeg, .avi, .wmv, .mp4, .m4v, .3gp .
- Audio files - .flv, .asf, .wmv, .qt, .mov, .mpg, .avi, .mp3, .wav, . mp4, .wma, .3gp .
- Media files (all groups) - .qt, .mov, .mpg, .avi, .mp3, .wav, .mp4, .wma, .flv, .asf, .qt, .mov, .mpeg, .avi, .wmv, .m4v, .3gp, .jpg, .jpeg, .bmp; *.png, .gif, .tif, .tiff .
- Documents - no restriction (any file type can be submitted), Created entry is marked as a document.
- Any (no group) - no restriction (any file type can be submitted), Created entry will only be hosted on the Kaltura Server - no processing will be performed. (useful for using the Kaltura Server just for hosting of files).
* Note - [Kaltura Hosted / Enterprise Editions] Document type entries can be later used by presentation synch widget and other services, and are being converted to swf files after upload process.
Use the "setMediaType" API of the KUploader to select the media types group that the user will be prompted to when opening the browse window by passing the id of the desired fileFilter in uiConf xml.
To create your own uiConf, use the uiconf.add api .
Generic uiConf for KSU
For a set of media groups and file types that are common use the generic uiConf: Id = 1103.
It is possible to upload the following file formats using the default KSU uiConf:
- Video: .flv, .asf, .qt, .mov, .mpg, .mpeg, .avi, .wmv, .mp4, .m4v, .3gp
- Image: .jpg, .jpeg, .bmp, .png, .gif, .tif, .tiff
- Audio: .flv, .asf, .wmv, .qt, .mov, .mpg, .avi, .mp3, .wav, .mp4, .wma, .3gp
- Media group (video/image/audio): .qt, .mov, .mpg, .avi, .mp3, .wav, .mp4, .wma, .flv, .asf, .qt, .mov, .mpeg, .avi, .wmv, .m4v, .3gp, .jpg, .jpeg, .bmp, .png, .gif, .tif, .tiff
- Documents: .csv, .doc, .docx, .txt, .xls, .xlsx, .ppt, .pptx, .pdf, .rtf, .tab, .gif, .jpg, .jpeg, .art, .bmp, .tif
- SWF (flash document): .swf
- Any (all groups): .swf, .csv, .doc, .docx, .txt, .xls, .xlsx, .ppt, .pptx, .pdf, .rtf, .tab, .mov, .mpg, .avi, .mp3, .wav, .mp4, .wma, .flv, .asf, .qt, .mov, .mpg, .mpeg, .avi, .wmv, .m4v, .3gp, .wav, .mp4, .jpg, .jpeg, .art, .bmp, .png, .gif, .tif, .tiff
Notes:
- File format detection is made according to the media file extension.



