How can you divide the .duration in html5 audio and video player by mins and sec??
.duration on html5 is being display by seconds. the problem is what if the lenght of the video is 4:31 that will be 271 seconds right? how can divide it like 4:31??
this is the sample code
alert(song.duration / 60) the result is 4.516666