From 41f63a5acc60a32680decdc24c0cc9f915b51349 Mon Sep 17 00:00:00 2001 From: zhangyao Date: Sat, 9 Aug 2025 19:26:36 +0800 Subject: [PATCH] Description: MediaTransfer IssueNo:https://gitee.com/openharmony/web_webview/issues/ICS6Q3 Feature or Bugfix: Feature Binary Source:No Signed-off-by: zhangyao --- base_sdk/transfer/kitRegister/arkweb.ets | 3 +++ 1 file changed, 3 insertions(+) diff --git a/base_sdk/transfer/kitRegister/arkweb.ets b/base_sdk/transfer/kitRegister/arkweb.ets index 09c148c6..2339b280 100644 --- a/base_sdk/transfer/kitRegister/arkweb.ets +++ b/base_sdk/transfer/kitRegister/arkweb.ets @@ -74,4 +74,7 @@ export function registerArkWeb() { registerStaticCB('ArkWeb.WebMessagePort', '@ohos.web.webview', 'webview.WebMessagePortInner', 'transferWebMessagePortToStatic'); registerDynamicCB('ArkWeb.WebMessagePort', '@ohos.web.webview', 'webview.WebMessagePortInner', 'transferWebMessagePortToDynamic'); + + registerStaticCB('ArkWeb.NativeMediaPlayerHandler', '@ohos.web.webview', 'webview.NativeMediaPlayerHandlerinner', 'transferNativeMediaPlayerHandlerToStatic'); + registerDynamicCB('ArkWeb.NativeMediaPlayerHandler', '@ohos.web.webview', 'webview.NativeMediaPlayerHandlerinner', 'transferNativeMediaPlayerHandlerToDynamic'); } -- Gitee