docs(media): update method usage (#1089)

This commit is contained in:
Grisha Rozhnov 2017-02-17 20:11:04 +02:00 committed by Ibby Hadeed
parent f4b8236c8d
commit ff26f2a019

View File

@ -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);