diff --git a/src/plugins/media.ts b/src/plugins/media.ts index 1cc8ecfae..39eeda511 100644 --- a/src/plugins/media.ts +++ b/src/plugins/media.ts @@ -45,9 +45,7 @@ export interface MediaError { * }); * * // get file duration - * file.getDuration().then((duration) => { - * console.log(position); - * }); + * file.getDuration(); * * // skip to 10 seconds (expects int value in ms) * file.seekTo(10000);