diff --git a/zh-cn/application-dev/media/video-recorder.md b/zh-cn/application-dev/media/video-recorder.md index e25375a5a471355af28060e20dcfc9988d618e52..efe3d29d97b70f6bf3870fff05206d3196633800 100644 --- a/zh-cn/application-dev/media/video-recorder.md +++ b/zh-cn/application-dev/media/video-recorder.md @@ -27,7 +27,7 @@ import media from '@ohos.multimedia.media' import mediaLibrary from '@ohos.multimedia.mediaLibrary' export class VideoRecorderDemo { private testFdNumber; // 用于ä¿å˜fdåœ°å€ - // pathNameæ˜¯ä¼ å…¥çš„å½•åˆ¶æ–‡ä»¶å,例如:01.mp3,生æˆåŽçš„文件地å€ï¼š/storage/media/100/local/files/Video/01.mp4 + // pathNameæ˜¯ä¼ å…¥çš„å½•åˆ¶æ–‡ä»¶å,例如:01.mp4,生æˆåŽçš„文件地å€ï¼š/storage/media/100/local/files/Video/01.mp4 // 使用mediaLibrary需è¦æ·»åŠ 以下æƒé™, ohos.permission.MEDIA_LOCATIONã€ohos.permission.WRITE_MEDIAã€ohos.permission.READ_MEDIA async getFd(pathName) { let displayName = pathName;