observe_media_upload_props/3
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…
observe_media_identify_file/2
Try to identify a file, returning a map with file properties.
observe_media_viewer/2
Request to generate a HTML media viewer for a resource. The HTML data can not contain any Javascript, as it might be serialized. This could happen if the…
observe_media_update_done/2
Media update done notification. action is ‘insert’, ‘update’ or ‘delete’
observe_media_import/2
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…
observe_media_identify_extension/2
Try to find a filename extension for a mime type (example: <<".jpg"\>\> )
observe_media_upload_rsc_props/3
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…
observe_media_upload_preprocess/2
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…
observe_media_replace_file/2
Notification that a medium file has been changed (notify) The id is the resource id, medium contains the medium’s complete property map.
observe_media_stillimage/2
See if there is a ‘still’ image preview of a media item. (eg posterframe of a movie) Return:: {ok, ResourceId} or undefined
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…
observe_media_preview_options/3
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…
observe_media_import_medium/2
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…
observe_media_viewer_consent/2
Optionally wrap HTML with external content so that it adheres to the cookie/privacy settings of the current site visitor. Typically called with a ‘first’ by…

Import/export notifications Notifications Pivot notifications