media_identify_extension
Try to find a filename extension for a mime type (example: “.jpg”)
media_identify_file
Try to identify a file, returning a map with file properties.
media_import
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…
media_import_medium
Notification to import a medium record from external source. This is called for non-file medium records, for example embedded video. If the medium record is…
media_preview_options
Modify the options for an image preview url or tag. This is called for every image url generation, except if the ‘original’ image option is passed. The…
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…
media_replace_file
Notification that a medium file has been changed (notify) The id is the resource id, medium contains the medium’s property list.
media_stillimage
See if there is a ‘still’ image preview of a media item. (eg posterframe of a movie) Return:: {ok, ResourceId} or undefined
media_update_done
Media update done notification. action is ‘insert’, ‘update’ or ‘delete’
media_upload_preprocess
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…
media_upload_props
Notification that a medium file has been uploaded. This is the moment to change properties, modify the file etc. The folded accumulator is the map with updated…
media_upload_rsc_props
Notification that a medium file has been uploaded. This is the moment to change resource properties, modify the file etc. The folded accumulator is the map…
media_viewer
Request to generate a HTML media viewer for a resource

Import/export notifications Notifications Pivot notifications