fix(blocks): use MediaFileType for loop block video_out

Aligns with all other video blocks which use MediaFileType for output.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Nicholas Tindle
2026-02-04 22:40:32 -06:00
parent cbab0c2149
commit 2602913f7d
2 changed files with 2 additions and 2 deletions

View File

@@ -37,7 +37,7 @@ class LoopVideoBlock(Block):
)
class Output(BlockSchemaOutput):
video_out: str = SchemaField(
video_out: MediaFileType = SchemaField(
description="Looped video returned either as a relative path or a data URI."
)

View File

@@ -26,7 +26,7 @@ The block uses MoviePy's Loop effect to repeat a video clip. You can specify eit
| Output | Description | Type |
|--------|-------------|------|
| error | Error message if the operation failed | str |
| video_out | Looped video returned either as a relative path or a data URI. | str |
| video_out | Looped video returned either as a relative path or a data URI. | str (file) |
### Possible use case
<!-- MANUAL: use_case -->