media_import_props
Notification to translate or map a file after upload, before insertion into the database Used in mod_video to queue movies for conversion to mp4. You can set the post_insert_fun to something like fun(Id, Medium, Context) to receive the medium record as it is inserted.
- Type:
- first
- Return:
- modified
#media_upload_preprocess{}
#media_import_props{}
properties:- prio:
pos_integer
- category:
atom
- module:
atom
- description:
binary|z:trans()
- rsc_props:
map
- medium_props:
z_media_identify:media_info()
- medium_url:
binary
- preview_url:
binary|undefined
- importer:
atom
- prio: