Video switching method and apparatus, electronic device, and storage medium
AssigneeBeijing Bytedance Network Technology Co., Ltd.
InventorZhaoxuan LI
Life of this patent
Estimating the term…
Abstract
Embodiments of the present disclosure provide a video switching method and apparatus, an electronic device, and a storage medium, and the method includes: acquiring a touch event on a video information display interface, and determining whether a start position of the touch event is located at a preset position; determining whether the touch event is a sliding event according to a recognition strategy corresponding to the preset position, in response to determining that the start position of the touch event is located at the preset position; and triggering a video switching instruction according to a sliding parameter of the touch event to switch video, in response to determining that the touch event is the sliding event.
Claims20
A video switching method, comprising:
- acquiring a touch event on a video information display interface, and determining whether a start position of the touch event is located at a preset position;
- determining whether the touch event is a sliding event according to a sliding recognition strategy corresponding to the preset position, in response to determining that the start position of the touch event is located at the preset position;
- and
- triggering a video switching instruction according to a sliding parameter of the touch event to switch video, in response to determining that the touch event is the sliding event.
A video switching apparatus, comprising:
- an operation position determination module, configured to acquire a touch event on a video information display interface, and determine whether a start position of the touch event is located at a preset position;
- a sliding event determination module, configured to determine whether the touch event is a sliding event according to a recognition strategy corresponding to the preset position, in response to determining that the start position of the touch event is located at the preset position;
- and
- a video switching module, configured to trigger a video switching instruction according to a sliding parameter of the touch event to switch video, in response to determining that the touch event is the sliding event.
An electronic device, comprising:
- one or more processors;
- and
- a storage apparatus, configured to store one or more programs,
- wherein the one or more programs, when executed by the one or more processors, enable the one or more processors to implement a video switching method, and the video switching method comprises:
- acquiring a touch event on a video information display interface, and determining whether a start position of the touch event is located at a preset position;
- determining whether the touch event is a sliding event according to a recognition strategy corresponding to the preset position, in response to determining that the start position of the touch event is located at the preset position;
- and
- triggering a video switching instruction according to a sliding parameter of the touch event to switch video, in response to determining that the touch event is the sliding event.
Dependencies are inferred from the claim text.