Topic cluster
Media management
Managing files and media resources throughout their lifecycle.
View topic page6 items
The remaining keywords do not make a useful further split. All matching documentation is listed below.
observe_media_identify_file/2
Try to identify a file, returning a map with file properties.
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 the post_insert_fun to something like fun(Id, Medium, Context…
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 not recognized then it will not be imported. The handling…
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 correct cookies are not yet set or if the media viewer is part of…
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 the code that generated the media viewer HTML, as that code…
observe_rsc_upload/2
Upload and replace the resource with the given data. The data is in the given format.