content: video/audio media block (media.sx) + 15 tests (683/683)
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 38s
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 38s
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -170,6 +170,19 @@
|
||||
id
|
||||
(string? (blk-get b "text"))
|
||||
"callout text must be a string")))
|
||||
((= t "media")
|
||||
(append
|
||||
(ct-field-issue
|
||||
id
|
||||
(if
|
||||
(= (blk-get b "kind") "video")
|
||||
true
|
||||
(= (blk-get b "kind") "audio"))
|
||||
"media kind must be video or audio")
|
||||
(ct-field-issue
|
||||
id
|
||||
(string? (blk-get b "src"))
|
||||
"media src must be a string")))
|
||||
(else (list (ct-issue id "type" (str "unknown block type: " t))))))))
|
||||
|
||||
(define
|
||||
|
||||
Reference in New Issue
Block a user