From 89e87fa08bd2930dcd43bb27f83666814fa9fdb1 Mon Sep 17 00:00:00 2001 From: caocan <1532643766@qq.com> Date: Wed, 19 Jan 2022 21:14:13 +0800 Subject: [PATCH] remove interface of video not support now Signed-off-by: caocan <1532643766@qq.com> Change-Id: Ic53dc7340c6dde2f9a974087a69ea21f546f2ff9 --- api/@internal/component/ets/video.d.ts | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/api/@internal/component/ets/video.d.ts b/api/@internal/component/ets/video.d.ts index 789ffd58b8..d03940300b 100644 --- a/api/@internal/component/ets/video.d.ts +++ b/api/@internal/component/ets/video.d.ts @@ -65,12 +65,6 @@ declare class VideoController { */ pause(); - /** - * Provides an event to stop playback. - * @since 6 - */ - stop(); - /** * Provide the progress method of video playback. * @since 7 @@ -82,18 +76,6 @@ declare class VideoController { * @since 8 */ setCurrentTime(value: number, seekMode: SeekMode); - - /** - * Provides a full screen playback method. - * @since 7 - */ - requestFullscreen(value: boolean); - - /** - * Provides a method to exit full screen playback. - * @since 7 - */ - exitFullscreen(); } /** @@ -106,7 +88,6 @@ interface VideoInterface { */ (value: { src?: string | Resource; - currentProgressRate?: number | string; previewUri?: string | PixelMap | Resource; controller?: VideoController; }): VideoAttribute; @@ -164,12 +145,6 @@ declare class VideoAttribute extends CommonMethod { */ onFinish(event: () => void): VideoAttribute; - /** - * Called when the video enters and exits the full screen. - * @since 7 - */ - onFullscreenChange(callback: (event?: { fullscreen: boolean }) => void): VideoAttribute; - /** * Called when the video preparation is complete. * @since 7 -- Gitee