Where to put video files

19 views
Skip to first unread message

Mitch Berkson

unread,
May 4, 2023, 5:46:25 PM5/4/23
to nikola-discuss
I have some self-hosted video files. I tried putting them in a videos directory (similar to images directory), but the browser looks for them in the output directory (as it does for images). It looks like Nikola copies the images to the output directory but it doesn't put the videos directory in output. Is there a suggestion for how I can handle this?

Mitch Berkson

unread,
May 4, 2023, 6:01:52 PM5/4/23
to nikola-discuss
I guess that's a silly question. The videos can go in the images directory.

Chris Warrick

unread,
May 4, 2023, 6:03:30 PM5/4/23
to nikola-...@googlegroups.com
> --
> You received this message because you are subscribed to the Google Groups "nikola-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to nikola-discus...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/nikola-discuss/98835b8d-939d-4daf-8e6e-82a522203313n%40googlegroups.com.

The easiest way would be to put them in files/videos/ — this will be
copied to output/videos/ verbatim. You could also configure videos/ as
an additional directory for files. I'm not sure if putting videos in
images/ is the best choice, as Nikola may try to generate thumbnails
(and fail miserably, since only images are supported).

--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16

Mitch Berkson

unread,
May 5, 2023, 12:19:54 AM5/5/23
to nikola-discuss
Make sense. Thanks.
Reply all
Reply to author
Forward
0 new messages