Get duration of video

How to get duration of media field??
“audio”: {
“data”: {
“id”: 110,
“attributes”: {
“name”: “rainy-day-in-town-with-birds-singing-194011 (”,
“alternativeText”: null,
“caption”: null,
“width”: null,
“height”: null,
“formats”: null,
“hash”: “rainy_day_in_town_with_birds_singing_194011_mp3cut_net_13f38f1c82”,
“ext”: “.mp3”,
“mime”: “audio/mpeg”,
“size”: 968.87,
“url”: “xxxx”,
“previewUrl”: null,
“provider”: “aws-s3”,
“provider_metadata”: null,
“createdAt”: “2024-05-14T04:41:20.095Z”,
“updatedAt”: “2024-05-14T04:41:20.095Z”

This topic has been created from a Discord post (1239841086805905418) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord


Don’t think it’s supported

You gonna need quite a customisation to make this info available

I’ve would suggest wrap your video inside component and add all the metadata yourself to fields or as json