diff --git a/platypush/backend/http/webapp/src/components/Media/Controls.vue b/platypush/backend/http/webapp/src/components/Media/Controls.vue index 72fcd3e206..293335834d 100644 --- a/platypush/backend/http/webapp/src/components/Media/Controls.vue +++ b/platypush/backend/http/webapp/src/components/Media/Controls.vue @@ -199,7 +199,11 @@ export default { computed: { duration() { - return this.status?.duration != null ? this.status.duration : this.track?.duration + const duration = this.status?.duration != null ? this.status.duration : this.track?.duration + if (duration != null) + return parseFloat(duration) + + return null }, trackImage() {