I need to find th duration of videos from the url which was provided from the api using Javascript
For example If the url is
https://static.redoc.com/testing/yp8m8564btm.mp4
I need to find the duration in JS and I just want to display the duration with the video title I dont want to create any element in html just want to retrieve the durations as soon as the url is stored in a variable from api