mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-10-07 06:03:30 +00:00
视频托管支持进BFCache
Signed-off-by: zhangyanchuan <zhangyanchuan@huawei.com>
This commit is contained in:
parent
dd75f262ed
commit
a10004a55e
19
api/@ohos.web.webview.d.ts
vendored
19
api/@ohos.web.webview.d.ts
vendored
@ -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
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user