UnwiredtecDocumentation: PreviewsImageForRingtoneOrVideo ...

Product Documentation | Page Index | Access deniedRecent Changes | Recently Commented | Users | Registration | Login:  Password:  

Image previews for ringtones and videos


Sometimes it is required to have images as previews for ringtones or videos. (For example we can consider thumbnail as video preview and so on). Now Enterflex supports prepared previews for images or ringtones. Prepared previews are previews, prepared by user and stored to Enterflex Storage. See more about prepared here.


Use utility preview to get image previews for ringtones or images. Parameters ringtone-preview-type and video-preview-type are used to specify type of preview for ringtones and previews


Possible values for ringtone-preview-type: jpeg, gif, mp3, flash
Possible values for video-preview-type: jpeg, gif, video


For now only images with extensions jpg, jpeg, gif are accepted.


Please note that those image extensions need to be listed in content-formats property of storage that you store previews in


For example:


<ringtone_content_storage>.content-formats=mmf,mid,imy,emy,mot,srt,sag,sagem,au,aiff,ott,rtttl,rtx,nokia,wav,amr,mp3,txt,qcp,wma,mld,rmf,xmf,pmd,awb,jpg,jpeg,gif


Please also note that preview file should be marked as preview in meta information field: preview=true (in <filename>.properties file)


Image preview for ringtones and videos can also be resized using these parameters: preview-width, preview-height, scale, which are described Access deniedhere. Please not than only these three parameters are acceptable.


Examples:


http://localhost:8080/gateway/?utilityname=preview&domain=video&video-preview-type=jpeg&content=12619&preview-width=300&preview-height=300&storage=videos
http://localhost:8080/gateway/?utilityname=preview&domain=ringtone&ringtone-preview-type=gif&content=tul&preview-width=300&preview-height=300&storage=ringtones


 
There are no files on this page. [Display files/form]
There is no comment on this page. [Display comments/form]