mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-01-31 18:49:43 +08:00
docs(media): update method usage (#1089)
This commit is contained in:
parent
f4b8236c8d
commit
ff26f2a019
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user