...
|
...
|
@@ -184,7 +184,15 @@ |
|
|
}
|
|
|
function getDuration(audio,vo) {
|
|
|
setTimeout(function () {
|
|
|
var duration = parseInt(vo.duration);
|
|
|
var duration;
|
|
|
|
|
|
if(browser.versions.ios){
|
|
|
CMTime audioDuration = vo.duration;
|
|
|
|
|
|
float duration = CMTimeGetSeconds(audioDuration);
|
|
|
}else{
|
|
|
duration = parseInt(vo.duration);
|
|
|
}
|
|
|
|
|
|
|
|
|
if(isNaN(duration)){
|
...
|
...
|
|