Fix video paths for external files

This commit is contained in:
Christoph Hagen 2023-05-31 23:08:55 +02:00
parent 36b2842ee9
commit 4cb72677db
2 changed files with 2 additions and 1 deletions

View File

@ -65,7 +65,7 @@ struct Element {
let sortIndex: Int?
/**
All files which may occur in content but is stored externally.
All files which may occur in content but are stored externally.
Missing files which would otherwise produce a warning are ignored when included here.
- Note: This property defaults to an empty set.

View File

@ -215,6 +215,7 @@ struct PageContentGenerator {
}
// Also look in external files
sources += selectVideoFiles(with: prefix, from: page.externalFiles)
.map { (page.relativePathToFileWithPath($0.url), $0.type) }
// Require all video files
sources.forEach {