视频托管支持进BFCache

Signed-off-by: zhangyanchuan <zhangyanchuan@huawei.com>
This commit is contained in:
zhangyanchuan 2024-07-10 15:54:46 +08:00
parent dd75f262ed
commit a10004a55e

View File

@ -6522,6 +6522,25 @@ declare namespace webview {
* @since 12
*/
exitFullscreen(): void
/**
* Resume the native media player.
*
* @syscap SystemCapability.Web.Webview.Core
* @since 12
*/
resumePlayer?(): void
/**
* Suspend to release native media player, not the NativeMediaPlayerBridge. The
* embedder should save the status of player when release the native media player
* through NativeMediaPlayerBridge.
*
* @param { SuspendType } type - The scenario for suspending the media player.
* @syscap SystemCapability.Web.Webview.Core
* @since 12
*/
suspendPlayer?(type: SuspendType): void
}
/**