cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [cordova-plugin-media] nkmkevin commented on issue #254: How to get media file duration before playing it?
Date Mon, 27 Apr 2020 09:24:40 GMT

nkmkevin commented on issue #254:
URL: https://github.com/apache/cordova-plugin-media/issues/254#issuecomment-619852896


   Suggest to use audio.seekTo(1)
   then call audio.getDuration() with 500ms delay.
   Checking on this thread for more info.
   https://stackoverflow.com/a/61358243/3967044


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message