|
|
@@ -204,7 +204,7 @@ export function getDuration (node) {
|
|
|
case WidgetType.MEDIA:
|
|
|
case WidgetType.IMAGE:
|
|
|
case WidgetType.VIDEO:
|
|
|
- return Math.max(widget.sources.reduce((total, { duration }) => duration ? total + duration : total, 0), duration)
|
|
|
+ return Math.max(widget.sources.reduce((total, { duration }) => duration ? total + Number(duration) : total, 0), duration)
|
|
|
case WidgetType.LIVE:
|
|
|
return Math.max(60, duration)
|
|
|
default:
|