A video interaction method, device, equipment and storage medium
By responding to the drag and drop and continuous click operations of preset interactive controls on the video playback page, displaying interactive animations and updating control styles, the problem of insufficient interaction functions in the existing technology is solved and a richer user experience is achieved.
Patent Information
- Application Number
- CN202211124893.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-15
- Publication Date
- 2025-07-01
- Estimated Expiration
- 2042-09-15
AI Technical Summary
The prior art is difficult to enrich the interactive functions during video playback, resulting in poor user experience.
In response to the drag and drop operation of the preset interactive controls on the video playback page, the interactive animation is displayed, and the display style of the interactive controls is updated to the interactive icon during the display process. At the same time, in response to the preset continuous click operation, the interactive animation in the preset animation collection is displayed in turn, and when the click end event is clicked, the interactive animation is controlled to be displayed along the preset track to the bottom of the page.
It enriches the interactive functions during video playback and improves the user's video viewing experience.
Smart Images

Figure CN115390729B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of data processing, and in particular, to a video interaction method, apparatus, device, and storage medium. Background Art
[0002] With the continuous development of video processing technology, people's requirements for interactive functions during video playback are becoming more and more diverse.
[0003] Therefore, how to enrich the interactive functions during video playback to improve the user experience is a technical problem that needs to be solved urgently at present. Summary of the Invention
[0004] To solve the above technical problems, the present disclosure provides a video interaction method, apparatus, device, and storage medium, which can enrich video-based interactive functions and improve the user experience.
[0005] In a first aspect, the present disclosure provides a video interaction method, the method including:
[0006] In response to a drag operation on a preset interaction control on the playback page of a first video, display a first interaction animation following the drag trajectory of the drag operation;
[0007] Update the display style of the preset interaction control to a preset interaction icon; wherein, the preset interaction icon is related to the content of the first interaction animation.
[0008] In an optional implementation, the method further includes:
[0009] When detecting a drag end operation corresponding to the drag operation, determine a drag return path based on the position information corresponding to the drag end operation and the display position information of the preset interaction control;
[0010] Display a second interaction animation along the drag return path; wherein, the second interaction animation is related to the content of the first interaction animation.
[0011] In an optional implementation, the method further includes:
[0012] When detecting that the second interaction animation is displayed to the display position of the preset interaction control, display a third interaction animation at the display position of the preset interaction control; wherein, the third interaction animation is related to the content of the second interaction animation.
[0013] In an optional implementation, the method further includes:
[0014] In response to a preset continuous click operation on the playback page of the second video, interactive animations in a preset animation set are sequentially displayed in a preset display order; wherein, the preset animation set is related to the video content of the second video;
[0015] When a click end event corresponding to the preset continuous click operation is detected, control each interactive animation displayed on the video playback page to be displayed from the display position along a preset trajectory to the bottom position of the video playback page.
[0016] In an optional implementation manner, the step of, in response to a preset continuous click operation on the playback page of the second video, sequentially displaying interactive animations in a preset animation set in a preset display order includes:
[0017] In response to a first click operation in the preset continuous click operation on the playback page of the second video, display a fourth interactive animation in the preset animation set on the playback page;
[0018] In response to a second click operation in the preset continuous click operation, update the display position of the fourth interactive animation; wherein, the second click operation is the next adjacent click operation after the first click operation.
[0019] In an optional implementation manner, after following the drag trajectory of the drag operation to display a first interactive animation in response to a drag operation on a preset interactive control on the playback page of the first video, further include:
[0020] Increase the interaction times value corresponding to the preset interactive control.
[0021] In an optional implementation manner, the first interactive animation is related to the video content of the first video.
[0022] In a second aspect, the present disclosure provides a video interaction device, the device includes:
[0023] A first display module, configured to, in response to a drag operation on a preset interactive control on the playback page of the first video, display a first interactive animation following the drag trajectory of the drag operation;
[0024] A first update module, configured to update the display style of the preset interactive control to a preset interactive icon; wherein, the preset interactive icon is related to the content of the first interactive animation.
[0025] In a third aspect, the present disclosure provides a computer-readable storage medium, in which instructions are stored, and when the instructions run on a computer device, the computer device is enabled to implement the above method.
[0026] Fourthly, the present disclosure provides a video interaction device, including: a memory, a processor, and a computer program stored on the memory and executable on the processor, where when the processor executes the computer program, the above method is implemented.
[0027] Fifthly, the present disclosure provides a computer program product, where the computer program product includes a computer program / instructions, and when the processor executes the computer program / instructions, the above method is implemented.
[0028] The technical solutions provided by the embodiments of the present disclosure have at least the following advantages compared with the prior art:
[0029] The embodiments of the present disclosure provide a video interaction method. In response to a drag operation on a preset interaction control on the playback page of a first video, a first interaction animation is displayed following the drag trajectory of the drag operation; during the display of the first interaction animation, the display style of the preset interaction control is updated to a preset interaction icon, where the preset interaction icon is related to the content of the first interaction animation. The embodiments of the present disclosure can trigger the display of the first interaction animation based on the drag operation on the preset interaction control on the playback page of the first video. In addition, when the first interaction animation is displayed, the display style of the preset interaction control can also be updated to a preset interaction icon. It can be seen that the embodiments of the present disclosure enrich the interaction functions based on videos and improve the user's video viewing experience. Description of the Drawings
[0030] The drawings here are incorporated into the specification and form a part of this specification, showing embodiments consistent with the present disclosure and used together with the specification to explain the principles of the present disclosure.
[0031] To more clearly illustrate the technical solutions in the embodiments of the present disclosure or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, for those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.
[0032] Figure 1 It is a flowchart of a video interaction method provided by an embodiment of the present disclosure;
[0033] Figure 2 It is a schematic diagram of a video playback page provided by an embodiment of the present disclosure;
[0034] Figure 3 It is a schematic diagram of another video playback page provided by an embodiment of the present disclosure;
[0035] Figure 4 It is a schematic diagram of yet another video playback page provided by an embodiment of the present disclosure;
[0036] Figure 5 A flowchart of a video interaction method provided by an embodiment of the present disclosure;
[0037] Figure 6 A schematic diagram showing the display of an interaction animation provided by an embodiment of the present disclosure;
[0038] Figure 7 Another schematic diagram showing the display of an interaction animation provided by an embodiment of the present disclosure;
[0039] Figure 8 A schematic structural diagram of a video interaction device provided by an embodiment of the present disclosure;
[0040] Figure 9 A schematic structural diagram of a video interaction device provided by an embodiment of the present disclosure. Detailed implementation manners
[0041] In order to more clearly understand the above objects, features and advantages of the present disclosure, the solutions of the present disclosure will be further described below. It should be noted that, without conflict, the embodiments of the present disclosure and the features in the embodiments may be combined with each other.
[0042] In the following description, many specific details are set forth in order to fully understand the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; obviously, the embodiments in the specification are only a part of the embodiments of the present disclosure, rather than all the embodiments.
[0043] Currently, users' requirements for interaction functions during video playback are becoming more and more diverse. How to enrich the interaction functions of videos and improve the user experience when watching videos is a technical problem that urgently needs to be solved at present.
[0044] For this reason, an embodiment of the present disclosure provides a video interaction method, which responds to a drag operation on a preset interaction control on the playback page of the first video, and displays a first interaction animation following the drag track of the drag operation; during the display of the first interaction animation, update the display style of the preset interaction control to a preset interaction icon, where the preset interaction icon is related to the content of the first interaction animation. The embodiment of the present disclosure can trigger the display of the first interaction animation based on the drag operation on the preset interaction control on the playback page of the first video. In addition, when the first interaction animation is displayed, the display style of the preset interaction control can also be updated to a preset interaction icon. It can be seen that the embodiment of the present disclosure enriches the interaction functions based on videos and improves the user's video viewing experience.
[0045] Based on this, an embodiment of the present disclosure provides a video interaction method, referring to Figure 1 A flowchart of a video interaction method provided by an embodiment of the present disclosure, the method includes:
[0046] S101: In response to a drag operation on a preset interaction control on the video playback page for the first video, display a first interaction animation following the drag trajectory of the drag operation.
[0047] In the embodiments of the present disclosure, the first video can be any video. Specifically, the first video can be any video in the video information stream. For example, the first video can be a video with specific festival elements or specific event elements in the video content, such as a video with Spring Festival elements.
[0048] In another alternative embodiment, the first video can be any video that is being played on the video playback page within a specific time period. Specifically, within a specific time period, when a drag operation on a preset interaction control on the video playback page of any video is received, the effect of displaying the first interaction animation following the drag trajectory of the drag operation can be achieved. For example, the first video can be any video that is being played on the video playback page on Christmas Day.
[0049] In the embodiments of the present disclosure, the first interaction animation refers to an animation related to the video content of the first video. Specifically, the first interaction animation can be determined based on the video content of the first video. For example, assuming that the video content of the first video is a video related to the Spring Festival, the first interaction animation can be an animation with elements such as Spring Festival greetings; the first interaction animation can also be an interaction animation that has a matching relationship with the first video. For example, assuming that the first video is a video related to Christmas, the first interaction animation can be an animation that matches the video related to Christmas, such as an animation of Santa Claus.
[0050] In the embodiments of the present disclosure, during the playback of the first video, a preset interaction control is displayed on the video playback page of the first video. When a drag operation on the preset interaction control is received, the effect of displaying the first interaction animation is triggered. Among them, the preset interaction control can be a control for triggering an interaction operation. For example, the preset interaction control can include a like control, a comment control, a favorite control, a share control, and so on.
[0051] As Figure 2 shown, it is a schematic diagram of a video playback page provided by an embodiment of the present disclosure. Among them, a preset interaction control 201 is displayed on the video playback page. Assuming that the preset interaction control 201 is a like control. In response to a drag operation on the preset interaction control 201, display the first interaction animation corresponding to the preset interaction control 201 following the drag trajectory on the video playback page.
[0052] As Figure 3 shown, it is another schematic diagram of a video playback page provided by an embodiment of the present disclosure. In response to the action on the aboveFigure 2 For the drag operation on the preset interaction control 201 shown, on the video interaction page, following the drag track of the drag operation, a first interaction animation 301 corresponding to the preset interaction control 201 is displayed, and the effect is as Figure 3 shown.
[0053] In an optional implementation, on the video playback page of the first video, a drag operation prompt for the preset interaction control can also be displayed, which can specifically include a drag gesture animation prompt, a drag text prompt, etc. Specifically, a text prompt such as "There will be an animation effect for the drag button!" can be displayed on the video playback page to guide the user's drag operation on the interaction control and enable the user to have an expectation for the animation display after dragging the interaction control, ensuring the user's interaction experience.
[0054] Since the preset interaction control has a specific interaction function, for example, the like control has the function of liking the currently playing video. Therefore, when the present disclosure embodiment receives a drag operation on the preset interaction control on the video playback page, not only can it display the first interaction animation following the drag track of the drag operation, but also the interaction count value corresponding to the preset interaction control can be increased. Assuming the preset interaction control is a like control, then the like count value of the currently playing video is increased, for example, increasing the like count by one on the basis of the original like count value.
[0055] S102: Update the display style of the preset interaction control to a preset interaction icon.
[0056] In the present disclosure embodiment, during the process of displaying the first interaction animation corresponding to the preset interaction control, the display style of the preset interaction control is updated to a preset interaction icon, where the preset interaction icon is related to the content of the first interaction animation. Specifically, the preset interaction icon can be determined based on the content of the first interaction animation, and the preset interaction icon can also be an icon having a matching relationship with the first interaction animation, etc.
[0057] Assume the first interaction animation is an animation of a football rolling, then the preset interaction icon can be a goal icon related to the football animation; assume the first interaction animation is an animation of a flag fluttering, then the preset interaction icon can be a flag platform icon related to the flag animation.
[0058] As Figure 3 shown, during the process of displaying the first interaction animation 301 corresponding to the preset interaction control on the video playback page, the display style of the preset interaction control is updated to the preset interaction icon 302 corresponding to the first interaction animation 301.
[0059] When the user drags a preset interactive control on the playback page of the first video and a first interaction animation is displayed based on the drag trajectory of the drag operation, if the user wants to end the display of the first interaction animation, the user can end the display of the first interaction animation by triggering a drag end operation corresponding to the drag operation. Among them, the drag end operation can be a lift operation corresponding to the drag operation.
[0060] In an optional implementation, when the drag end operation corresponding to the above drag operation is detected, first, based on the position information corresponding to the drag end operation and the display position of the preset interactive control, determine the drag return path; then, display a second interaction animation along the drag return path. Among them, the position information corresponding to the drag end operation can be the coordinate position of the drag end operation on the video playback page.
[0061] In the embodiments of the present disclosure, the second interaction animation refers to an animation related to the content of the first interaction animation. For example, assuming that the first interaction animation is a football being charged, the second interaction animation can be a moving football, etc.
[0062] As Figure 4 shown, it is a schematic diagram of another video playback page provided by the embodiments of the present disclosure. In response to a drag end operation acting on the video playback page of the first video, first determine the position information corresponding to the drag end operation, then based on the position information corresponding to the drag end operation and the display position of the preset interactive control, determine the drag return path 401, and finally display the second interaction animation 402 along the drag return path 402. Among them, the drag return path 402 can be a straight line path obtained by connecting the coordinate position corresponding to the drag end operation and the coordinate position of the preset interactive control, or a preset curve path determined based on the position information and the display position, etc. The embodiments of the present disclosure do not limit the method for determining the drag return path.
[0063] In an optional implementation, when the drag end operation corresponding to the drag operation is detected on the video playback page, the first interaction animation can also be hidden. For example, assuming that the first interaction animation displayed along the drag trajectory on the current video playback page is an animation of a flag fluttering, then when the drag end operation corresponding to the drag operation is detected, the animation of the flag fluttering is hidden.
[0064] In the embodiments of the present disclosure, during the process of displaying the second interaction animation along the drag return path, when it is detected that the second interaction animation is displayed to the display position of the preset interactive control, a third interaction animation is displayed at the display position of the preset interactive control. Among them, the third interaction animation is related to the content of the second interaction animation. Assuming that the second interaction animation is a moving football, the third interaction animation can be an animation of scoring a goal, etc.; assuming that the second interaction animation is a fluttering flag, the third interaction animation can be an animation of raising the flag, etc.
[0065] As Figure 4 shown, during the process of displaying the second interaction animation 402 along the drag-back path on the video playback page, when it is detected that the second interaction animation 402 is displayed to Figure 2 the display position of the preset interaction control shown, the third interaction animation 403 is displayed at the display position of the preset interaction control.
[0066] In the video interaction method provided by the embodiments of the present disclosure, in response to a drag operation on a preset interaction control on the playback page of a first video, a first interaction animation is displayed following the drag track of the drag operation; during the process of displaying the first interaction animation, the display style of the preset interaction control is updated to a preset interaction icon, where the preset interaction icon is related to the content of the first interaction animation. The embodiments of the present disclosure can trigger the display of the first interaction animation based on the drag operation on the preset interaction control on the playback page of the first video. Additionally, when displaying the first interaction animation, the display style of the preset interaction control can also be updated to a preset interaction icon. It can be seen that the embodiments of the present disclosure enrich the interaction functions based on videos and enhance the user's video viewing experience.
[0067] Based on the above embodiments, in order to further enrich the interaction functions during video playback, the embodiments of the present disclosure also provide a video interaction method. Refer to Figure 5 FIG. [Flowchart of another video interaction method provided by the embodiments of the present disclosure], this method includes:
[0068] S501: In response to a preset continuous click operation on the playback page of a second video, the interaction animations in a preset animation set are sequentially displayed according to a preset display order.
[0069] The first video and the second video can be the same video or different videos. The preset animation set may include at least one interaction animation with a display order, and the interaction animations in the preset animation set may be related to the video content of the second video, specifically determined based on the video content of the second video. Assume the second video is a video with football elements. Correspondingly, the interaction animations in the preset animation set are display animations of various football elements, etc.
[0070] In the embodiments of the present disclosure, the preset continuous click operation on the video playback page of the second video may be a continuous multiple click operation including at least two consecutive click operations, and the time interval between any two adjacent click operations in the preset continuous click operation conforms to a preset time threshold.
[0071] In the embodiments of the present disclosure, when any click operation on the video playback page of the second video is received, first, the time interval between the current click operation and the previous adjacent click operation is obtained. If the time interval is not greater than a preset time threshold, these two click operations are regarded as a double-click operation. Based on the above method, three consecutive click operations that meet the preset time threshold can be regarded as a triple-click operation.
[0072] In an alternative embodiment, in response to the first click operation in the preset consecutive click operations on the playback page of the second video, the fourth interaction animation in the preset animation set is displayed on the playback page of the second video; in response to the second click operation in the preset consecutive click operations on the playback page of the second video, the display position of the fourth interaction animation is updated on the playback page of the second video.
[0073] Among them, the first click operation refers to any click operation other than the first click operation in the preset consecutive click operations, and the fourth interaction animation can be an interaction animation in the preset animation set; the second click operation is the next click operation adjacent to the first click operation in the preset consecutive click operations. For example, when the first click operation is the second click operation in the preset consecutive click operations, correspondingly, the second click operation is the third click operation in the preset consecutive click operations.
[0074] As Figure 7 shown, it is a schematic diagram of the display of another interaction animation provided by the embodiments of the present disclosure. On the basis of the double-click operation, when a click operation is received again, it is judged whether the time interval between the click operation and the first click operation is not greater than the preset time threshold. If so, the current click operation is determined as the second click operation, triggering the Figure 6 display position of the fourth interaction animation 601 in Figure 7 to be updated to the display position 701 in
[0075] On the basis of the above embodiments, for the second click operation, on the video playback page, based on the display order of each interaction animation, the next adjacent interaction animation 702 to the fourth interaction animation 701 in the preset animation set is displayed. In this way, through the preset consecutive click operations, each interaction animation in the preset animation set is triggered to be displayed in sequence. In addition, through each click operation, the dynamic effect of updating the display position of the displayed interaction animations is triggered, further improving the user experience.
[0076] In an alternative embodiment, the preset continuous click operation on the playback page of the second video can not only trigger the sequential display of the interaction animations in the preset animation set, but also increase the interaction count value corresponding to the preset interaction control. Assuming that the preset interaction control is a like control, the preset continuous click operation on the playback page of the second video can increase the like count value of the currently playing video. For example, it can increase the like count by one based on the original like count value.
[0077] S502: When the click end event corresponding to the preset continuous click operation is detected, control each interaction animation displayed on the video playback page to be displayed from the display position along a preset trajectory to the bottom position of the video playback page.
[0078] The click end event corresponding to the preset continuous click operation can be an event where no next click operation is detected within a preset time threshold after the current click operation. For example, after the user makes three consecutive click operations and stops further clicking, if no next click operation is detected within the preset time threshold after the third click operation, this constitutes the click end event of the current continuous click operation. At this time, each interaction animation displayed on the video playback page can be controlled to be displayed from the display position along a preset trajectory to the bottom position of the video playback page.
[0079] As Figure 7 shown, when the click end event corresponding to the preset continuous click operation is detected, each interaction animation 701 and 702 already displayed on the video playback page can be controlled to be displayed from the display position of each animation along a preset trajectory to the bottom position of the video playback page, forming an effect where the stop of the click operation triggers the dropped display of the already displayed interaction animations. Among them, the preset trajectory can be randomly generated or pre-set for each interaction animation at the display position. The embodiments of the present disclosure do not limit this.
[0080] In the video interaction method provided by the embodiments of the present disclosure, it is possible to trigger the effect of sequentially displaying the interaction animations in the preset animation set according to the preset display order based on the preset continuous click operation on the playback page of the second video, further enriching the video-based interaction function and enhancing the user experience.
[0081] In addition, when the click end event corresponding to the preset continuous click operation is detected, the embodiments of the present disclosure can also control each interaction animation displayed on the video playback page to be displayed from the display position along a preset trajectory to the bottom position of the video playback page, further enriching the video-based interaction function and thus enhancing the user experience.
[0082] Based on the above method embodiments, the present disclosure also provides a video interaction device. Refer toFigure 8 , which is a schematic structural diagram of a video interaction device provided by an embodiment of the present disclosure. The device includes:
[0083] A first display module 801, configured to display a first interaction animation following a drag trajectory of a drag operation in response to a drag operation on a preset interaction control on a playback page of a first video;
[0084] A first update module 802, configured to update a display style of the preset interaction control to a preset interaction icon; wherein, the preset interaction icon is related to content of the first interaction animation.
[0085] In an optional implementation manner, the device further includes:
[0086] A determination module, configured to determine a drag return path based on position information corresponding to the drag end operation and display position information of the preset interaction control when detecting a drag end operation corresponding to the drag operation;
[0087] A second display module, configured to display a second interaction animation along the drag return path; wherein, the second interaction animation is related to content of the first interaction animation.
[0088] In an optional implementation manner, the device further includes:
[0089] A third display module, configured to display a third interaction animation at a display position of the preset interaction control when detecting that the second interaction animation is displayed to the display position of the preset interaction control; wherein, the third interaction animation is related to content of the second interaction animation.
[0090] In an optional implementation manner, the device further includes:
[0091] A fourth display module, configured to sequentially display interaction animations in a preset animation set in a preset display order in response to a preset continuous click operation on a playback page of a second video; wherein, the preset animation set is related to video content of the second video;
[0092] A monitoring module, configured to control each interaction animation displayed on the video playback page to be displayed along a preset trajectory from a display position to a bottom position of the video playback page when detecting a click end event corresponding to the preset continuous click operation.
[0093] In an optional implementation manner, the fourth display module includes:
[0094] A display sub-module, configured to, in response to a first click operation in a preset continuous click operation applied to a playback page of a second video, display a fourth interactive animation in the preset animation set on the playback page;
[0095] An update sub-module, configured to, in response to a second click operation in the preset continuous click operation, update the display position of the fourth interactive animation; wherein the second click operation is the next adjacent click operation after the first click operation.
[0096] In an optional implementation manner, the apparatus further includes:
[0097] An increment module, configured to increment the interactive times value corresponding to the preset interactive control.
[0098] In an optional implementation manner, the first interactive animation is related to the video content of the first video.
[0099] In the video interaction apparatus provided by the embodiments of the present disclosure, in response to a drag operation on a preset interactive control on a playback page of a first video, a first interactive animation is displayed following the drag trajectory of the drag operation; during the display of the first interactive animation, the display style of the preset interactive control is updated to a preset interactive icon, where the preset interactive icon is related to the content of the first interactive animation. The embodiments of the present disclosure can trigger the display of the first interactive animation based on the drag operation on the preset interactive control on the playback page of the first video. Additionally, when the first interactive animation is displayed, the display style of the preset interactive control can also be updated to a preset interactive icon. It can be seen that the embodiments of the present disclosure enrich the interaction functions based on videos and enhance the user's video viewing experience.
[0100] In addition to the above methods and apparatuses, the embodiments of the present disclosure further provide a computer-readable storage medium, in which instructions are stored. When the instructions are run on a terminal device, the terminal device is enabled to implement the video interaction method described in the embodiments of the present disclosure.
[0101] The embodiments of the present disclosure further provide a computer program product, where the computer program product includes computer programs / instructions, and when the computer programs / instructions are executed by a processor, the video interaction method described in the embodiments of the present disclosure is implemented.
[0102] In addition, the embodiments of the present disclosure further provide a video interaction device, as shown in Figure 9 It may include:
[0103] A processor 901, a memory 902, an input device 903, and an output device 904. The number of processors 901 in the video interaction device may be one or more. Figure 9Take a processor as an example. In some embodiments of the present disclosure, the processor 901, the memory 902, the input device 903, and the output device 904 may be connected via a bus or other means. Among them, Figure 9 Take the connection via the bus as an example.
[0104] The memory 902 can be used to store software programs and modules. The processor 901 executes various functional applications and data processing of the video interaction device by running the software programs and modules stored in the memory 902. The memory 902 mainly includes a program storage area and a data storage area. Among them, the program storage area can store an operating system, application programs required for at least one function, etc. In addition, the memory 902 may include high-speed random access memory and may also include non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other non-volatile solid-state storage devices. The input device 903 can be used to receive input digital or character information and generate signal inputs related to the user settings and function controls of the video interaction device.
[0105] Specifically, in this embodiment, the processor 901 will load the executable files corresponding to the processes of one or more application programs into the memory 902 according to the following instructions, and the processor 901 will run the application programs stored in the memory 902 to implement various functions of the above-mentioned video interaction device.
[0106] It should be noted that in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, but also includes other elements not expressly listed, or also includes elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "including a..." does not exclude the existence of additional identical elements in the process, method, article or device including the said element.
[0107] The above are only specific embodiments of the present disclosure, enabling those skilled in the art to understand or implement the present disclosure. Various modifications to these embodiments will be obvious to those skilled in the art. The general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to these embodiments described herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A video interaction method, characterized in that, The method includes: In response to a drag operation on a preset interaction control on the playback page of the first video, display a first interaction animation following the drag trajectory of the drag operation, and increase the interaction count value corresponding to the preset interaction control; wherein, the first interaction animation is related to the video content of the first video, and the preset interaction control has a specific interaction function; Update the display style of the preset interaction control to a preset interaction icon; wherein, the preset interaction icon has a matching relationship with the first interaction animation; When it is detected that the second interaction animation is displayed at the display position of the preset interaction control, display a third interaction animation at the display position of the preset interaction control; wherein, the second interaction animation is an interaction animation related to the content of the first interaction animation displayed along the drag return path, and the third interaction animation is related to the content of the second interaction animation.
2. The method according to claim 1, characterized in that, The method further includes: When it is detected the drag end operation corresponding to the drag operation, determine the drag return path based on the position information corresponding to the drag end operation and the display position information of the preset interaction control; Display the second interaction animation along the drag return path; wherein, the second interaction animation is related to the content of the first interaction animation.
3. The method according to claim 1, wherein The method further includes: In response to a preset continuous click operation on the playback page of the second video, display the interaction animations in a preset animation set in sequence according to a preset display order; wherein, the preset animation set is related to the video content of the second video; When it is detected the click end event corresponding to the preset continuous click operation, control each interaction animation displayed on the video playback page to be displayed from the display position along a preset trajectory to the bottom position of the video playback page.
4. The method according to claim 3, characterized in that, The step of, in response to a preset continuous click operation on the playback page of the second video, displaying the interaction animations in a preset animation set in sequence according to a preset display order includes: In response to the first click operation in the preset continuous click operation on the playback page of the second video, display a fourth interaction animation in the preset animation set on the playback page; In response to the second click operation in the preset continuous click operation, update the display position of the fourth interaction animation; wherein, the second click operation is the next adjacent click operation after the first click operation.
5. The method according to claim 1, wherein The first interaction animation is related to the video content of the first video.
6. A video interaction device, characterized in that, The apparatus includes: A first display module, configured to, in response to a drag operation on a preset interaction control on the playback page of the first video, display a first interaction animation following the drag trajectory of the drag operation, and increase the interaction count value corresponding to the preset interaction control; wherein, the first interaction animation is related to the video content of the first video, and the preset interaction control has a specific interaction function; A first update module, configured to update the display style of the preset interaction control to a preset interaction icon; wherein, the preset interaction icon has a matching relationship with the first interaction animation; A third display module, configured to display a third interactive animation at the display position of the preset interactive control when it is detected that the second interactive animation is displayed to the display position of the preset interactive control; wherein, the second interactive animation is an interactive animation related to the content of the first interactive animation displayed along a drag-back path, and the third interactive animation is related to the content of the second interactive animation.
7. A computer-readable storage medium, characterized in that, Instructions are stored in the computer-readable storage medium, and when the instructions are run on a terminal device, the terminal device implements the method according to any one of claims 1-5.
8. A video interaction device, characterized in that, Comprising: A memory, a processor, and a computer program stored on the memory and executable on the processor, wherein when the processor executes the computer program, the method according to any one of claims 1-5 is implemented.
9. A computer program product, characterized in that, The computer program product includes computer programs / instructions, and when the computer programs / instructions are executed by a processor, the method according to any one of claims 1-5 is implemented.
Citation Information
Patent Citations
Sound effect display method and device based on live broadcast
CN106878825A
Display method and device
CN109753205A
Display element color setting method, device, equipment and computer program
CN113407277A
Information presentation method and device
CN114579229A
Content display method, electronic equipment and storage medium
CN115035216A