mirror of
https://github.com/rgrgogu/new_starr.git
synced 2026-09-27 00:12:54 +08:00
fix duration_second missing support for docx
Signed-off-by: Kenneth Obsequio <k80308392@gmail.com>
This commit is contained in:
@@ -28,6 +28,7 @@ function estimateBlockDuration(block) {
|
|||||||
switch (block.type) {
|
switch (block.type) {
|
||||||
case "text":
|
case "text":
|
||||||
case "markdown":
|
case "markdown":
|
||||||
|
case "document":
|
||||||
return readingSecs(block.content?.body);
|
return readingSecs(block.content?.body);
|
||||||
|
|
||||||
case "image":
|
case "image":
|
||||||
|
|||||||
Reference in New Issue
Block a user