View Source Elph.Contents.Types.Video (elph v0.9.1)

This module is for saving video-files as contents. The changeset is only for updating video-files - that's why there is a requirement for the id. Creating a video-file is handled by the Media-Context.

Link to this section Summary

Link to this section Functions

Link to this function

after_delete_callback(content)

View Source

Callback implementation for Elph.Contents.ContentType.after_delete_callback/1.

Callback implementation for Elph.Contents.ContentType.content_preloads/1.

Link to this function

convert_media_in_background_tasks(content)

View Source

Callback implementation for Elph.Contents.MediaContent.convert_media_in_background_tasks/1.

Link to this function

create_changeset(content, attrs)

View Source

Callback implementation for Elph.Contents.MediaContent.create_changeset/2.

Link to this function

create_thumbnails(changeset)

View Source

Callback implementation for Elph.Contents.MediaContent.create_thumbnails/1.

Callback implementation for Elph.Contents.ContentType.preloads/1.