From bf2955c3de8e28440105fc7bc3cdf5edd9067025 Mon Sep 17 00:00:00 2001 From: lin-jianwu Date: Thu, 21 Jul 2022 11:20:16 +0800 Subject: [PATCH] fix review Signed-off-by: lin-jianwu Change-Id: Idc36b47e30754fd2cb97ef8334218028a070fba3 --- runtime/main/extend/systemplugin/napi/ohos_multimedia_media.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/main/extend/systemplugin/napi/ohos_multimedia_media.js b/runtime/main/extend/systemplugin/napi/ohos_multimedia_media.js index 78c3e6f2..5517e7d7 100644 --- a/runtime/main/extend/systemplugin/napi/ohos_multimedia_media.js +++ b/runtime/main/extend/systemplugin/napi/ohos_multimedia_media.js @@ -231,7 +231,7 @@ export function mockMultimediaMedia() { width: '[PC Preview] unknow width', height: '[PC Preview] unknow height', audioInterruptMode: InterruptMode, - videoScaleType: VideoScaleType, + videoScaleType: mediaMock.VideoScaleType, setDisplaySurface: function (...args) { console.warn("VideoPlayer.setDisplaySurface interface mocked in the Previewer. How this interface works on the Previewer" + " may be different from that on a real device.")