This package enables easy video uploading and encoding in Wagtail.
Basic usage:
- Add the
wideo
dependency to yourrequirements.txt
orpoetry.toml
(and ensurewagtail
andcelery
are also part of your dependencies) - Add
wideo
toINSTALLED_APPS
in your Django settings - Optional: set
WIDEO_VIDEO_MODEL
andWIDEO_RENDER_MODEL
to your own custom models - Optional: add
wideo.tasks.delete_orphan_uploaded_videos
in yourCELERY_BEAT_SCHEDULE
in order to clean up unused uploads
The demo
folder contains an example project using Model W.