diff --git a/zh-cn/application-dev/reference/apis/js-apis-media.md b/zh-cn/application-dev/reference/apis/js-apis-media.md index f90b1d63669ce735a9c975a87211de819e1b375d..be84379524d36b791087edd006b013bc679e0a79 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-media.md +++ b/zh-cn/application-dev/reference/apis/js-apis-media.md @@ -3792,7 +3792,7 @@ audioPlayer.on('error', (error) => { //设置'error'事件回调 console.info(`audio error called, error: ${error}`); }); -// 用户选择视频设置fd(本地播放) +// 用户选择音频设置fd(本地播放) let fdPath = 'fd://'; // path路径的码流可通过"hdc file send D:\xxx\01.mp3 /data/accounts/account_0/appdata" 命令,将其推送到设备上 let path = '/data/accounts/account_0/appdata/ohos.xxx.xxx.xxx/01.mp3';