Since 2.5.314
All 4 preview generation utilities, described earlier (
flash-preview,
ringtone-preview,
image-preview,
video-preview) require phone id to be specified. Their functionality is like this:
1) perform content adaptation for given content and given phone
2) use adaptation result as source for domain dependent preview generation.
However in some cases adaptation step is not required and user needs just to extract content from storage and generate preview for it. In such cases
utilityname=preview can be used.
This utility accepts all specific preview generated parameters, accepted by utilities
flash-preview,
ringtone-preview,
image-preview,
video-preview, it also accepts content download specific parameters (
content,
storage,
base64,
content-url). Please note that adaptation process is not launched for this utility so there are no any priorities calculated for source files and if there are several source files for given content, the first one is picked.
Parameters
domain and sometimes
ringtone-preview-type are required to specify type of preview to be generated.
?utilityname=preview&domain=ringtone&ringtone-preview-type=flash&... – functionality simular to functionality of
flash-preview without content adaptation
?utilityname=preview&domain=ringtone&ringtone-preview-type=mp3&... – functionality simular to functionality of
ringtone-preview without content adaptation
?utilityname=preview&domain=image&... – functionality simular to functionality of
image-preview without content adaptation
?utilityname=preview&domain=video&... – functionality simular to functionality of
video-preview without content adaptation