Is this returning NaN, does anyone have a solution? Here is the code:
<html>
<head>
<title>teste</title>
<meta charset="utf-8"/>
</head>
<body>
<audio id="mytrack" controls>
<source src="Jinxed.mp3" type="audio/mp3">
</audio>
<script type="text/javascript">
alert(mytrack.duration);
</script>
</body>
</html>