I change the function in the index.js file
to C2AudioInstance.prototype.getDuration = function ()
{
switch (this.myapi) {
case API_HTML5:
if (typeof this.instanceObject.duration !== "undefined")
return this.instanceObject.duration;
else
return 0;
this should do it
it did it for me
Good luck