Video interaction method and device, equipment, storage medium and program product
By dynamically adjusting the video playback view size and switching recommended content information blocks under preset conditions, the problem of poor interaction smoothness and poor connection caused by the fixed size of the video playback page is solved, thereby improving the user experience and content interaction rate.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- XINGIN INFORMATION TECH (SHANGHAI) CO LTD
- Filing Date
- 2026-01-19
- Publication Date
- 2026-05-01
AI Technical Summary
The fixed size of the playback view on the video playback page in existing video applications results in poor interaction smoothness, poor transition to subsequent content after video playback ends, and a poor user experience.
The playback view size is dynamically adjusted based on user interaction, and the recommended content information block is switched when the target video playback progress meets preset conditions. The size of the recommended content information block is different from that of the playback view, which improves the smoothness of video interaction and content continuity.
By dynamically adjusting the playback view size and switching between recommended content information blocks, the smoothness of video interaction and user experience are improved, and the content interaction rate is increased.
Smart Images

Figure CN121967625A_ABST
Abstract
Description
Video interaction methods, devices, equipment, storage media and program products Technical Field
[0001] This application relates to the field of Internet technology, and in particular to a video interaction method, apparatus, device, storage medium, and program product. Background Technology
[0002] With the widespread adoption of mobile internet and smart devices, video playback has become a primary way for users to access information and entertainment. In existing video applications or content platforms, video playback pages typically use a fixed-size view. During user interaction with the video playback page, the view can only remain at a fixed size or be hidden, resulting in poor smoothness of video interaction. Furthermore, after a video finishes playing, it usually either loops through the current video or immediately plays the next one, leading to poor transitions with subsequent content. Summary of the Invention
[0003] The technical problem to be solved by the embodiments of this application is to provide a video interaction method, apparatus, device, storage medium, and program product that can dynamically change the size of the playback view according to the user's interactive operation, up to the size of the second view, thereby improving the smoothness of video interaction; and when the playback progress of the target video meets the preset playback progress, the playback view is switched to a recommended content information block, which can better connect subsequent content and improve the user's interactive experience; the size of the recommended content information block is different from the size of the second view, which can prompt the user and improve the content interaction rate.
[0004] On one hand, embodiments of this application provide a video interaction method, the method comprising: displaying a video playback page of a target video; the video playback page including a playback view for playing the target video, the size of the playback view being a first view size; in response to a first trigger operation on the video playback page, adjusting the size of the playback view until the size of the playback view is adjusted to a second view size matching the first trigger operation; in response to the playback progress of the target video satisfying a preset playback progress, switching the playback view to display a recommended content information block; the recommended content information block including recommended content information, the recommended content information being determined based on the target video; the size of the recommended content information block being different from the second view size.
[0005] On the other hand, embodiments of this application provide a video interaction device, which includes: a display unit for displaying a video playback page of a target video; the video playback page includes a playback view for playing the target video, the size of the playback view being a first view size; an adjustment unit for adjusting the size of the playback view in response to a first trigger operation on the video playback page, until the size of the playback view is adjusted to a second view size matching the first trigger operation; the display unit is further configured to switch the playback view to a recommended content information block for display in response to the playback progress of the target video meeting a preset playback progress; the recommended content information block includes recommended content information, the recommended content information being determined based on the target video; the size of the recommended content information block is different from the second view size.
[0006] In one embodiment, the playback view's view state includes a video browsing state and a video immersion state; the display unit can also be used to: in response to a second trigger operation on the video playback page, switch the playback view in the video browsing state to the playback view in the video immersion state; wherein, when the playback view is in the video browsing state, the video playback page includes the playback view in the video browsing state and the associated information of the target video, and the playback view in the video browsing state is located in a preset display area of the video playback page; when the playback view is in the video immersion state, the video playback page includes the playback view in the video immersion state, the associated information is not displayed in the video playback page, and the playback view in the video immersion state is located in the central display area of the video playback page, the central display area being different from the preset display area.
[0007] In one embodiment, the video playback page includes a playback view with a size equal to a first view size, and associated information of the target video; the first view size is larger than the second view size, and the adjustment unit, in response to a first trigger operation on the video playback page, adjusts the size of the playback view until the size of the playback view is adjusted to the second view size matching the first trigger operation. This can be used to: in response to a first trigger operation on the video playback page, reduce the size of the playback view until the size of the playback view is adjusted to the second view size matching the first trigger operation; and in response to the adjustment of the playback view size, enlarge the display area of the associated information to obtain an adjusted display area of the associated information, and display the associated information in the adjusted display area of the associated information.
[0008] In one embodiment, the associated information includes interactive information of the target video and descriptive information of the target video; after the adjustment unit enlarges the display area of the associated information in response to the size adjustment of the playback view to obtain the adjusted display area of the associated information, it can also be used to: cancel the display of the descriptive information and enlarge the display area of the interactive information in response to a first trigger operation of the video playback page for the second view size, to obtain the adjusted display area of the interactive information, and to display the interactive information in the adjusted display area of the interactive information.
[0009] In one embodiment, the video playback page further includes at least one recommended content information associated with the target video, the recommended content information including at least one of the following: recommended video information, video collection information, and recommended search information; the video collection information corresponds to the video collection to which the target video belongs; the display unit can also be used to: in response to a trigger operation on the recommended video information, display the video playback page of the recommended video corresponding to the recommended video information; or, in response to a trigger operation on the video collection information, display at least one collection video, the at least one collection video belonging to the video collection corresponding to the video collection information; or, in response to a trigger operation on the recommended search information, display the search result information corresponding to the recommended search information.
[0010] In one embodiment, the video playback page further includes a content filtering control, which includes at least one of the following: a collection filtering control, a similar video filtering control, and a content object filtering control; wherein, the collection filtering control is used to filter video collection information from the at least one recommended content information; the similar video filtering control is used to filter recommended video information similar to the target video from the at least one recommended content information; and the content object filtering control is used to filter recommended content information published by the publisher of the target video from the at least one recommended content information.
[0011] In one embodiment, the adjustment unit, in response to a first trigger operation on the video playback page, adjusts the size of the playback view until the size of the playback view is adjusted to a second view size that matches the first trigger operation. This can be used to: in response to a first trigger operation on the video playback page, shrink or expand the height and width of the playback view according to a preset view ratio until the height and width of the playback view are adjusted to the height and width corresponding to the second view size.
[0012] On the other hand, embodiments of this application provide a computer device, which includes a memory, a communication interface, and a processor, wherein the memory, the communication interface, and the processor are interconnected; the memory stores a computer program, and the processor calls the computer program stored in the memory to implement the above-mentioned video interaction method.
[0013] On the other hand, embodiments of this application provide a computer-readable storage medium storing a computer program that, when executed by a processor, implements the aforementioned video interaction method.
[0014] On the other hand, embodiments of this application provide a computer program product, which includes a computer program stored in a computer storage medium; the processor of a computer device reads the computer program from the computer storage medium and executes the computer program, causing the computer device to perform the aforementioned video interaction method.
[0015] In this embodiment, a video playback page for displaying a target video is provided. The video playback page includes a playback view for playing the target video, the size of which is a first view size. In response to a first trigger operation on the video playback page, the size of the playback view is adjusted until it matches a second view size that is compatible with the first trigger operation. In response to the target video's playback progress meeting a preset playback progress, the playback view is switched to display a recommended content information block. The recommended content information block includes recommended content information, which is determined based on the target video. The size of the recommended content information block is different from the second view size. By dynamically changing the size of the playback view based on user interaction until it reaches the second view size, the smoothness of video interaction is improved. Furthermore, switching the playback view to the recommended content information block when the target video's playback progress meets the preset playback progress better connects subsequent content, enhancing the user's interactive experience. The different size of the recommended content information block compared to the second view size provides a prompt to the user, increasing the content interaction rate. Attached Figure Description
[0016] To more clearly illustrate the technical solutions in the embodiments of this application or the background art, the accompanying drawings used in the embodiments of this application or the background art will be described below.
[0017] Figure 1 is a structural schematic diagram of a video interaction system provided in an embodiment of this application; Figure 2 is a flowchart of a video interaction method provided in an embodiment of this application; Figures 3A to 3L are schematic diagrams of a video playback page provided in an embodiment of this application; Figure 4 is a flowchart of another video interaction method provided in an embodiment of this application; Figure 5 is a structural schematic diagram of a video interaction device provided in an embodiment of this application; Figure 6 is a structural schematic diagram of a computer device provided in an embodiment of this application. Detailed Implementation
[0018] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.
[0019] Furthermore, in the description of the embodiments of this application, the terms "first," "second," etc., are used only for distinguishing descriptions and should not be construed as indicating or implying relative importance. Therefore, a feature specified as "first" or "second" may explicitly or implicitly include one or more features. In the description of the embodiments of this application, "multiple" means two or more, unless otherwise explicitly specified.
[0020] The following defines the descriptions involved in the embodiments of this application: Published content: refers to content information pre-published by users on a network platform, which may include text, images, audio, and video information, and can be displayed in the form of notes, articles, video files, etc. The specific content information included in the published content can be adjusted accordingly for different scenarios, and the content information in the published content can be determined by the publisher.
[0021] "In response to" indicates the state in which a corresponding event occurs or a condition is met. The timing of subsequent actions performed in response to this event or condition is not necessarily strongly correlated with the time when the event occurs or the condition is met. For example, in some cases, subsequent actions may be performed immediately when the event occurs or the condition is met; while in other cases, subsequent actions may be performed some time after the event occurs or the condition is met.
[0022] Triggered actions refer to actions or responses that are automatically executed when specific conditions or events occur. For controls, triggered actions mainly refer to events and behaviors that occur after a user interacts with page controls (such as buttons, text boxes, drop-down menus, etc.). These triggered actions can include the following types: 1. Click events: The user clicks a button, link, or icon.
[0023] 2. Mouse Over / Mouse Enter: The mouse pointer moves over the control and hovers.
[0024] 3. Text Input Event (Input): The user enters or modifies text in the text box.
[0025] 4. Change Event: The user changes the options in the drop-down menu or selection box.
[0026] 5. Focus events (Focus / Blur): Controls gaining or losing input focus, etc.
[0027] View: The base class for all user interface (UI) components. It is the fundamental element that constitutes the user interface, representing a rectangular area on the screen. It can draw content and handle user interactions; for example, buttons and text boxes are subclasses of View. Views can include playback views, used for multimedia playback, such as playing still images, moving images, or videos. Playback views can include TextureView, SurfaceView, VideoView, etc., all of which are subclasses of View.
[0028] TextureView is a view class used to display dynamic images. Essentially, it's a regular View that can be added to the view hierarchy like any other View. TextureView provides an independent drawing surface object. Developers can fill this surface object with drawing content through the Application Programming Interface (API) for graphics rendering, video decoding, and other operations, thus enabling dynamic image playback using TextureView. TextureView does not create a separate window; instead, it draws within the regular View hierarchy, allowing it to be transformed, animated, and clipped together with other Views.
[0029] SurfaceView is a view class used to display graphics and video. It provides an independent drawing surface object, allowing applications to perform drawing operations on a separate surface. SurfaceView draws by creating an independent window, allowing drawing to occur in a background thread without impacting the main thread's performance, resulting in high drawing performance. This makes SurfaceView ideal for scenarios requiring high-performance drawing, such as video playback, game rendering, and camera preview, enabling real-time updates and high frame rate displays. Unlike TextureView, SurfaceView cannot be transformed, animated, or clipped along with other views.
[0030] VideoView: This is a view class specifically designed for playing videos, primarily used in video playback scenarios. It's a component that inherits from SurfaceView and is a wrapper around it. VideoView encapsulates the basic functionality of video playback, allowing developers to easily integrate video playback features into their applications without handling the underlying media decoding and rendering details, thus simplifying video playback operations. Essentially, VideoView is a View that can be added directly to a layout file like a regular View and combined with other Views. Its display position and size are determined by layout parameters. VideoView integrates a media player (MediaPlayer) internally, allowing direct playback of local video files or network video streams.
[0031] In the specific implementation of this application, user-related data is involved, such as user comment information, search information, etc. When the embodiments of this application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of related data must comply with local laws, regulations and standards.
[0032] Research has found that in existing video applications or content platforms, video playback pages typically use a fixed-size playback view to play videos. During user interaction with the video playback page, the playback view can only remain at a fixed size or be hidden, resulting in poor smoothness of video interaction. Furthermore, after video playback ends, it usually either loops through the current video or directly plays the next video, leading to poor transitions with subsequent content. Based on this, embodiments of this application can display a video playback page for a target video; the video playback page includes a playback view for playing the target video, the size of which is a first view size; in response to a first trigger operation on the video playback page, the size of the playback view is adjusted until it is adjusted to a second view size matching the first trigger operation; in response to the playback progress of the target video meeting a preset playback progress, the playback view is switched to display a recommended content information block; the recommended content information block includes recommended content information, which is determined based on the target video; the size of the recommended content information block is different from the second view size. By dynamically changing the size of the playback view based on user interactions until it reaches the size of the second view, the smoothness of video interaction is improved. Furthermore, when the playback progress of the target video meets the preset playback progress, the playback view is switched to a recommended content information block, which can better connect subsequent content and improve the user interaction experience. The size of the recommended content information block is different from that of the second view, which can prompt the user and improve the content interaction rate.
[0033] The video interaction method in this embodiment is applied to a video interaction device, which is located on a client. The client can run on a computer device, which has one or more processors, a memory, and one or more applications. The one or more applications are stored in the memory and configured to be executed by the processor to implement the video interaction method. The computer device can be a smart terminal, such as a mobile phone, wearable device, in-vehicle device, tablet computer, network device, and smart computer.
[0034] This application provides a video interaction system. As exemplarily shown in Figure 1, which is a schematic diagram of the structure of a video interaction system provided in this application, the system may include at least one client 100 (each client 100 integrating a video interaction device) and a server 200. The client 100 runs a computer-readable storage medium corresponding to a video interaction method to execute the video interaction method. The server 200 communicates and interacts with at least one client 100.
[0035] Any client 100 may, in response to a trigger operation for displaying the video playback page of a target video, send a request to the server 200 to obtain the video playback page. The server 200 obtains the target video and sends it to the client 100, which then displays the video playback page of the target video. The video playback page includes a playback view for playing the target video, and the size of the playback view is a first view size. In response to the first trigger operation for the video playback page, the client 100 adjusts the size of the playback view until it is adjusted to a second view size that matches the first trigger operation. In response to the playback progress of the target video meeting a preset playback progress, the client 100 sends a request to the server 200 to obtain recommended content information. The server 200 determines the recommended content information based on the target video and sends it to the client 100. The client 100 then switches the playback view to display the recommended content information block. The recommended content information block includes recommended content information, which is determined based on the target video. The size of the recommended content information block is different from the second view size.
[0036] The server 200 in the video interaction system can be an independent physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks (CDN), and big data and artificial intelligence platforms.
[0037] Any client 100 and server 200 can communicate directly or indirectly through wired or wireless communication, and this application does not impose any restrictions.
[0038] It is understood that the server or at least one client in the video interaction system shown in Figure 1 does not constitute a limitation on the embodiments of the present invention. That is, the number of servers, the type of servers, the number of at least one client, the type of at least one client, or the number and type of devices contained in each server or client do not affect the overall implementation of the technical solution in the embodiments of the present invention, and can all be considered as equivalent substitutions or derivatives of the technical solutions claimed in the embodiments of the present invention.
[0039] Based on the above description, please refer to Figure 2. Figure 2 is a flowchart illustrating a video interaction method provided in an embodiment of this application. This video interaction method can be applied to a client. As shown in Figure 2, the video interaction method includes, but is not limited to, steps S201 to S203, wherein: S201, displaying a video playback page of the target video; the video playback page includes a playback view for playing the target video, and the size of the playback view is the size of a first view.
[0040] The target video can be any video played on the client, and the video playback page is the page used to display the video. The video playback page includes a playback view for playing the target video. The playback view refers to a rectangular area on the screen of the computer device running on the client, used for multimedia playback, such as playing still images, moving images, or videos. The size of the playback view is a first view size, which indicates the width and height of the playback view. Optionally, the first view size can be preset by the management object of the video platform or content platform; or, the first view size can be adjusted and determined by the target account; the target account is the account logged into the client. For example, the target account can adjust the size of the playback view through trigger operations on the video playback page (such as swiping, two-finger triggering, etc.) until it is adjusted to the first view size. Optionally, the height and width of the playback view meet a preset view ratio, which is preset by the management object. Optionally, the playback view can be a landscape video playback view. Among them, a horizontal video playback view refers to a playback view whose height and width ratio is less than or equal to the target view ratio. In other words, a playback view whose preset view ratio is less than or equal to the target view ratio is defined as a horizontal video playback view. For example, a playback view whose height and width ratio is less than or equal to 0.9 is defined as a horizontal video playback view.
[0041] Taking Figure 3A as an example, Figure 3A is a schematic diagram of a video playback page provided in an embodiment of this application. The client can display a video playback page 301 for the target video. The video playback page 301 includes a playback view 301a for playing the target video. The size of the playback view 301a is the size of a first view.
[0042] Optionally, the client can respond to a trigger operation that displays the video playback page for the target video.
[0043] Specifically, the operation that triggers the display of the video playback page for the target video is the operation that triggers the display of the video playback page. The operation that triggers the display of the video playback page for the target video includes, but is not limited to, at least one of the following: an operation that triggers the video playback entry point for the target video, or a target page switching operation.
[0044] The system allows the display of a video playback entry point for the target video on any page. The client can then respond to a trigger action on this entry point by displaying the target video's playback page. Optionally, the video playback entry point can include the target video's cover image, video link, etc. Video links can include text links and image links. Image links can be, for example, video playback identification information used to identify and display the video playback page. This identification information can be, for example, a video playback QR code or barcode. Since the target page can be the video playback page, switching to that page can be understood as switching from another page to the video playback page, thus displaying the target video's playback page.
[0045] Optionally, the video playback page may also include video information of the target video. Optionally, the video information of the target video may include account information of the account that published the target video and / or associated information of the target video. The account that published the target video is the account that published the target video, and the associated information of the target video is information related to the target video. Account information is used to indicate the publishing account, and account information may be, for example, an account avatar, account name, etc. Optionally, associated information may include interactive information and / or descriptive information of the target video. Interactive information of the target video may refer to information generated by interacting with the target video, or information that can be interacted with. Descriptive information of the target video is used to describe the video content of the target video, such as a video summary. Optionally, interactive information of the target video may include comment information and / or recommended content information. Comment information of the target video refers to comments posted by various accounts that watched the target video. Recommended content information is determined based on the target video, and recommended content information may include at least one of the following: recommended video information, video collection information, and recommended search information; the video collection information corresponds to the video collection to which the target video belongs.
[0046] Optionally, the video playback page includes comment information and / or recommended content information for the target video. Optionally, the video playback page may also include a comment information display control and a recommended content display control; the comment information display control is used to display comment information, and the recommended content display control is used to display recommended content information. Taking Figure 3B as an example, Figure 3B is a schematic diagram of a video playback page provided in an embodiment of this application. The video playback page 305 includes comment information 305b corresponding to the comment information display control 305a. The client can respond to a trigger operation on the recommended content display control 305c to display recommended content information 306a on the video playback page 306.
[0047] Optionally, the video playback page may also include at least one of the following: video duration information, playback progress information, and video playback control controls. The video duration information indicates the length of the target video, such as "3 minutes"; the playback progress information indicates the playback progress of the target video, such as 1 minute and 12 seconds; and the video playback control controls are used to control the playback of the target video. Optionally, the video playback control controls may include, but are not limited to, at least one of the following: video playback control, video pause control, full-screen display control, window display control, and video casting control. The video playback control switches a target video from a paused state to a playing state; the video pause control switches a target video from a playing state to a paused state; the full-screen display control displays the target video in full-screen mode on the video playback page, meaning the height and width of the full-screen playback view are the same as the height and width of the computer screen; the window display control displays the target video as a window, with a smaller display area than the playback view. When displaying the target video in a window, it can be displayed above other pages on the computer device, which can refer to pages other than the video playback page; the video casting control casts the target video to other computer devices for display. Other computer devices refer to all computer devices associated with the target account, excluding the computer device corresponding to the client. For example, if the client's computer device is a mobile phone, other computer devices could be computers.
[0048] Optionally, if the time interval between the target object corresponding to the target account and the target interaction operation on the video playback page and the current system time satisfies a first time interval, the client can cancel the display of video duration information, playback progress information, and video playback control controls. Alternatively, if the time interval between the target object corresponding to the target account and the target interaction operation on the playback view and the current system time satisfies a first time interval, the client can cancel the display of video duration information, playback progress information, and video playback control controls. Here, the target interaction operation is the interaction operation with the shortest time interval to the current system time, i.e., the most recent interaction operation; the first time interval is preset by the managed object, such as 30 seconds.
[0049] Optionally, after deselecting the display of video duration information, playback progress information, and video playback control controls, the client can respond to a triggered operation on the video playback page (such as a single click or double click) to display the video duration information, playback progress information, and video playback control controls.
[0050] In one optional implementation, the video playback page further includes at least one set of recommended content information associated with the target video. The recommended content information includes at least one of the following: recommended video information, video collection information, and recommended search information; the video collection information corresponds to the video collection to which the target video belongs.
[0051] At least one piece of recommended content information is determined based on the target video. In other words, recommended video information, video collection information, and recommended search information are determined based on the target video.
[0052] The recommended videos are determined based on the target video; that is, the recommended videos are similar videos to the target video. Optionally, similar videos can be determined based on at least one of the following: the target video's theme, video content, the target audience, and the video collection to which the target video belongs. The video theme refers to the core idea, central issue, or emotional direction the video conveys, representing the publisher's intent. Examples of video themes include travel guides and food reviews. Video content refers to all perceptible video elements actually presented in the video, including composition, camera movement, dialogue and narration, sound effects, background music, editing rhythm, subtitles, and special effects. The target audience is the entity that publishes the target video. The publisher can create at least one video collection and associate the target video with any of these collections, adding the target video to any video collection. This collection can include at least one video collection video, and the video collection to which the publisher adds the target video is the video collection to which the target video belongs. Optionally, the number of recommended video information items can be at least one.
[0053] In one alternative implementation, in response to a trigger operation on the recommended video information, the video playback page of the recommended video corresponding to the recommended video information can also be displayed.
[0054] The recommended video playback page can include a playback view for playing the recommended videos. If there are multiple recommended videos, the playback page for the recommended video corresponding to any one of the recommended videos can be displayed in response to a trigger operation.
[0055] Taking Figure 3C as an example, Figure 3C is a schematic diagram of a video playback page provided in an embodiment of this application. In this case, the client can respond to the triggering operation of the recommended video information 307a in the video playback page 307 and display the video playback page 308 of the recommended video corresponding to the recommended video information 307a. The video playback page 308 includes a playback view 308a for playing the recommended video.
[0056] The video collection information is determined based on the target video, and the video collection corresponding to the video collection information is the video collection to which the target video belongs. The video collection information may include, but is not limited to, at least one of the following: video collection theme, video titles of the videos within the corresponding video collection, and video collection cover. The video collection theme is used to characterize the video theme of the videos within the video collection, such as travel guides or food reviews. The video collection cover can be determined based on the video covers of the videos within the video collection; for example, by combining and arranging the video covers of the videos within the collection, a video collection cover can be obtained. Optionally, there can be at least one video collection information. That is, if there are multiple video collection information, then the target video belongs to multiple video collections, meaning the publishing object associates the target video with multiple video collections, i.e., adds the target video to multiple video collections.
[0057] In one alternative implementation, at least one video set can be displayed in response to a trigger operation on video set information, wherein the at least one video set belongs to the video set corresponding to the video set information.
[0058] Among them, at least one collection video includes the target video, and at least one collection video belongs to the video collection corresponding to the video collection information. Optionally, the recommended content information can be switched to display at least one collection video.
[0059] Taking Figure 3D as an example, Figure 3D is a schematic diagram of a video playback page provided in an embodiment of this application. In this case, the client can respond to a trigger operation on the video collection information 309a in the video playback page 309 and display at least one collection video 310a on the video playback page 310.
[0060] Optionally, in response to a trigger operation on video collection information, at least one collection video can be displayed, and the target collection video can be played in the playback view. The target collection video can be any collection video; or, the target collection video is the first collection video in the video collection; or, the target collection video is the latest collection video in the video collection; or, the target collection video is an adjacent collection video in the video collection, such as the previous collection video or the next collection video; or, the target collection video is the collection video with the highest video interaction volume in the video collection, and the video interaction volume of the collection video with the highest video interaction volume can be determined based on the interaction operations (such as browsing, commenting, liking, etc.) of each account on the collection video.
[0061] The recommended search information is determined based on the target video. Optionally, the recommended search information can be determined based on at least one of the video's theme or content. For example, if the video theme is "outdoor travel," then the recommended search information could be outdoor travel guides, outdoor equipment, etc. Optionally, the number of recommended search information can be at least one.
[0062] In one alternative implementation, the search results information corresponding to the recommended search information can also be displayed in response to a triggering operation on the recommended search information.
[0063] Optionally, the client may, in response to a triggering operation on recommended search information, switch the displayed recommended content information to the search results information corresponding to the recommended search information; or, the client may, in response to a triggering operation on recommended search information, display a search results page; the search results page includes the search results information corresponding to the recommended search information. Optionally, if there are multiple recommended search information items, then, in response to a triggering operation on any recommended search information item, the search results information corresponding to that specific recommended search information may be displayed. Optionally, recommended search information may include recommended search text information and / or recommended search image information. Recommended search text information can be determined based on at least one of the video theme and video content of the target video; for example, if the video theme is "outdoor tourism," then the recommended search text information could be outdoor equipment. Recommended search image information can be determined based on at least one of the video theme and video content of the target video; for example, recommended search image information could be a frame from the target video. Optionally, recommended search image information matching the recommended search text information can also be obtained from a network platform (video platform or content platform, etc.). Among these methods, product images that match the recommended search text information can be obtained from the online platform, or images included in the published content, thereby determining the recommended search image information.
[0064] Taking Figure 3E as an example, Figure 3E is a schematic diagram of a video playback page provided in an embodiment of this application. The video playback page 311 includes multiple recommended search information 311a. The client can respond to a trigger operation for any recommended search information 311b and display a search results page 312. The search results page 312 includes search results information 312a corresponding to the recommended search information.
[0065] Optionally, search result information may include at least one of the following: live streams, products, and published content that match the search recommendations. For example, if the search recommendations are "outdoor equipment," then the search result information may include live streams related to outdoor equipment, products related to outdoor equipment, and published content related to outdoor equipment.
[0066] Optionally, at least one recommended content information can be displayed in a different area than the playback view. Optionally, at least one recommended content information can be displayed in a dual-column waterfall layout, meaning the target account can switch between displaying other recommended content information by swiping up and down the display area. Optionally, at least one recommended content information can be displayed sequentially, meaning the target account can switch between displaying other recommended content information by swiping left and right the display area.
[0067] In this embodiment of the application, by displaying at least one recommended content information on the video playback page, users can be guided to continuously engage in content interaction and consumption, thereby improving user interaction rate and retention rate.
[0068] In one optional implementation, the video playback page further includes a content filtering control, which includes at least one of the following: a collection filtering control, a similar video filtering control, and a content object filtering control; wherein, the collection filtering control is used to filter video collection information from at least one set of recommended content information; the similar video filtering control is used to filter recommended video information similar to the target video from at least one set of recommended content information; and the content object filtering control is used to filter recommended content information published by the publisher of the target video from at least one set of recommended content information.
[0069] The filter controls are as follows: **Collection Filter Control:** This filter selects video collections from at least one set of recommended content. Other recommended content besides video collections will be hidden from view. **Similar Video Filter Control:** This filter selects videos similar to the target video from at least one set of recommended content. Again, other recommended content besides videos similar to the target video will be hidden from view. Optionally, similar recommended videos can be determined based on at least one of the following: the target video's theme, video content, the target video's publisher, and the video collection to which the target video belongs. **Content Object Filter Control:** This filter selects recommended content published by the same publisher as the target video from at least one set of recommended content. In other words, other recommended content besides content published by the same publisher will be hidden from view. Essentially, the content object filter is used to filter recommended content published by the same author.
[0070] Optionally, video collection information can be displayed in response to a trigger operation on the collection filter control. Taking Figure 3F as an example, Figure 3F is a schematic diagram of a video playback page provided in an embodiment of this application, wherein the client can display video collection information 314a on the video playback page 314 in response to a trigger operation on the collection filter control 313a in the video playback page 313.
[0071] Optionally, in response to a trigger operation on the similar video filtering control, recommended video information similar to the target video can be displayed. Taking Figure 3G as an example, Figure 3G is a schematic diagram of a video playback page provided in an embodiment of this application, wherein the client can respond to a trigger operation on the similar video filtering control 315a in the video playback page 315 and display recommended video information 316a similar to the target video on the video playback page 316.
[0072] Optionally, in response to a trigger operation on the content object filtering control, recommended content information published by the publishing object of the target video can be displayed. Taking Figure 3H as an example, Figure 3H is a schematic diagram of a video playback page provided in an embodiment of this application, wherein the client can respond to a trigger operation on the content object filtering control 317a in the video playback page 317 to display recommended content information 318a published by the publishing object of the target video on the video playback page 318.
[0073] In one optional implementation, the video playback page includes a playback view with dimensions equal to the first view size, and associated information about the target video. The associated information about the target video refers to information related to the target video. Optionally, the associated information may include interactive information and / or descriptive information about the target video. Interactive information about the target video may refer to information generated by interacting with the target video, or information that can be interacted with. The descriptive information about the target video describes its content, such as a video summary. Optionally, the interactive information about the target video may include comment information and / or recommended content information. Comment information about the target video is posted by various accounts that have watched the target video. Recommended content information is determined based on the target video and may include at least one of the following: recommended video information, video collection information, and recommended search information; the video collection information corresponds to the video collection to which the target video belongs.
[0074] Optionally, the video playback page may also include at least one video interaction control for interacting with the target video.
[0075] Optionally, at least one video interaction control may include at least one of the following: a video sharing control, a video liking control, a video favorite control, and a video comment control.
[0076] The video sharing control is used to share the target video to other accounts. The video liking control is used to like the target video. The video favorites control is used to favorite the target video; the target account can view the favorited videos through the favorites search portal. The video comment control is used to post comments about the target video and / or view comments about the target video posted by various accounts.
[0077] In one optional implementation, the playback view's view state includes a video browsing state and a video immersion state. The client can then respond to a second trigger operation on the video playback page by switching the playback view from the video browsing state to the video immersion state. Specifically, when the playback view is in the video browsing state, the video playback page includes the playback view in the video browsing state and associated information about the target video, and the playback view in the video browsing state is located in a preset display area of the video playback page. When the playback view is in the video immersion state, the video playback page includes the playback view in the video immersion state, the associated information is not displayed on the video playback page, and the playback view in the video immersion state is located in the central display area of the video playback page, which is different from the preset display area.
[0078] The second trigger operation can be the same as or different from the first trigger operation, and this embodiment does not limit this. For example, the second trigger operation can be a swipe down operation, and the first trigger operation can also be a swipe down operation; or the second trigger operation can be a swipe down operation, and the first trigger operation can be an swipe up operation. When the playback view is in video browsing state, the video playback page includes the playback view in video browsing state and the associated information of the target video. For a detailed description of the associated information, please refer to the relevant descriptions above, which will not be repeated here. The playback view in video browsing state is located in a preset display area of the video playback page. The preset display area can be any display area on the screen of the computer device other than the central display area. Optionally, the size of the playback view in video browsing state can be the same as or different from the size of the playback view in video immersion state, and this embodiment does not limit this. When the playback view is in video immersion state, the video playback page includes the playback view in video immersion state, the associated information is not displayed in the video playback page, and the playback view in video immersion state is located in the central display area of the video playback page, which is different from the preset display area. The central display area can refer to the central display area of the screen of the computer device. Optionally, when the playback view is in video browsing mode or video immersion mode, the video playback page may also include account information of the publishing account. Account information is used to indicate the publishing account and may include, for example, an account avatar, account name, etc. Optionally, when the playback view is in video browsing mode or video immersion mode, the video playback page may also include at least one video interaction control for interacting with the target video.
[0079] Taking Figure 3I as an example, Figure 3I is a schematic diagram of a video playback page provided in an embodiment of this application. In this case, the client can respond to a second trigger operation (such as a swipe down operation) on the video playback page 319 to switch the playback view of the video browsing state to the playback view of the video immersion state, and display the playback view 320a in the video immersion state on the video playback page 320.
[0080] In this embodiment of the application, the playback view of the video browsing state can be switched to the playback view of the video immersion state through the second trigger operation. The playback view in the video immersion state is located in the central display area of the video playback page, and the display of related information will be canceled, which can reduce the interference of other information, allowing users to watch the video in an immersive way and improve the user's video viewing experience.
[0081] Optionally, the size of the first view can be larger or smaller than the size of the second view, and this application embodiment does not limit this.
[0082] Optionally, if the size of the first view is larger than the size of the second view, then in response to a second trigger operation on the video playback page for the size of the first view, the playback view in the video browsing state can be switched to the playback view in the video immersion state.
[0083] Optionally, when the playback view is in immersive video mode, it can respond to a trigger operation on the video playback page by displaying at least one of the following: video duration information, playback progress information, and video playback control controls. The video duration information indicates the length of the target video, such as "3 minutes"; the playback progress information indicates the playback progress of the target video, such as 1 minute and 12 seconds; and the video playback control controls are used to control the playback of the target video. Optionally, the video playback control controls may include, but are not limited to, at least one of the following: video playback control, video pause control, full-screen display control, window display control, and video casting control. For a detailed description of the video playback control controls in this embodiment, please refer to the above-mentioned descriptions, which will not be repeated here.
[0084] Optionally, when the playback view is in video immersion mode, it can respond to a trigger operation on the playback view in video immersion mode by displaying at least one of the following: video duration information, playback progress information, and video playback control controls.
[0085] Taking Figure 3J as an example, Figure 3J is a schematic diagram of a video playback page provided in an embodiment of this application. In this case, the client can respond to the trigger operation of the playback view 321a in the video playback page 321 which is in the video immersion state, and display video duration information 322a, playback progress information 322b, video playback control control 322c and video playback control control 322d on the video playback page 322.
[0086] Optionally, if the time interval between the target object corresponding to the target account and the target interaction operation on the video playback page and the current system time satisfies a first time interval, the client can cancel the display of video duration information, playback progress information, and video playback control controls. Alternatively, if the time interval between the target object corresponding to the target account and the target interaction operation on the playback view and the current system time satisfies a first time interval, the client can cancel the display of video duration information, playback progress information, and video playback control controls. Here, the target interaction operation is the interaction operation with the shortest time interval to the current system time, i.e., the most recent interaction operation; the first time interval is preset by the managed object, such as 30 seconds.
[0087] Optionally, the video playback page may also include a video immersion control; then, in response to a trigger operation on the video immersion control, the playback view in the video browsing state can be switched to the playback view in the video immersion state.
[0088] Optionally, the video playback page can also display a playback progress bar to indicate the playback progress of the target video. Optionally, if the target video is divided into video chapters, chapter prompts can be displayed at an associated position on the playback progress bar to indicate the respective video chapters. The associated position of the playback progress bar can include its current display position or an adjacent position, and is not limited here.
[0089] Optionally, the video playback page may also include a chapter viewing entry, which, in response to a trigger operation on the chapter viewing entry, displays at least one video chapter information of the target video. The chapter viewing entry is used to view the video chapter information of the target video, and the video chapter information indicates the video content of the corresponding video chapter. Optionally, in response to a trigger operation on the chapter viewing entry, the size of the playback view may be reduced until the playback view size is adjusted to the third view size, and the video chapter information is displayed; the display area of the video chapter information does not overlap with the display area of the playback view at the reduced third view size. The third view size may be pre-set by the management object of the video platform or content platform. Further optionally, in response to a trigger operation on any video chapter information, the video content of the video chapter corresponding to that video chapter information may be played in the playback view.
[0090] Optionally, after deselecting the display of video duration information, playback progress information, and video playback control controls, a chapter progress bar can be displayed. The chapter progress bar indicates the playback progress of the target video and the playback progress of each video chapter. Optionally, in response to a trigger operation on the chapter progress bar (such as a click or swipe), at least one of the following can be displayed: the target video chapter corresponding to the trigger operation, the video content of the target video chapter, and the video chapter information of adjacent video chapters of the target video chapter. The adjacent video chapters of the target video chapter can include video chapters preceding and following the target video chapter.
[0091] S202, in response to a first trigger operation on the video playback page, adjust the size of the playback view until the size of the playback view is adjusted to a second view size that matches the first trigger operation.
[0092] The first trigger operation is used to adjust the size of the playback view, such as a swipe or a two-finger trigger operation. The second view size can be a preset view size. When the size of the playback view is adjusted, the playback view of the first view size will be adjusted to the playback view of the second view size. Optionally, if the first trigger operation is a swipe, the size of the playback view can be adjusted according to the swipe distance until the size of the playback view is adjusted to the second view size that matches the first trigger operation. Optionally, the second view size can be determined based on the first view size and the swipe distance.
[0093] Optionally, the size of the second view can be larger or smaller than the size of the first view. If the size of the second view is smaller than the size of the first view, then the first trigger operation is to enlarge the size of the playback view; if the size of the second view is smaller than the size of the first view, then the first trigger operation is to shrink the size of the playback view.
[0094] Taking Figure 3A as an example, the client can respond to the first trigger operation for the video playback page 301 by adjusting (shrinking) the size of the playback view 301a until the size of the playback view 301a is adjusted to the second view size that matches the first trigger operation, and then display the playback view 302a of the second view size on the video playback page 302.
[0095] In this embodiment, the size of the playback view can be dynamically changed according to the user's interactive operation, until it reaches the size of the second view, thereby improving the smoothness of video interaction.
[0096] Optionally, if the size of the first view is larger than the size of the second view, then the video playback page corresponding to the playback view of the first view size includes the account information of the publishing account of the target video; in response to the first trigger operation on the video playback page, the size of the playback view is adjusted until the size of the playback view is adjusted to the size of the second view that matches the first trigger operation, and the display of the publishing account's account information is canceled.
[0097] Optionally, the video playback page corresponding to the second view size may also include at least one of a video return control, a video sharing control, and a full-screen display control. The video return control is used to return to the parent page of the video playback page, such as a content recommendation page or an account page. The video sharing control is used to share the target video to other accounts. The full-screen display control is used to display the target video in full-screen mode on the video playback page; that is, the height and width of the full-screen playback view of the target video are the same as the height and width of the computer device's screen.
[0098] Optionally, if the size of the first view is larger than the size of the second view, then in response to a third trigger operation on the playback page corresponding to the playback view of the second view size, the size of the playback view can be adjusted until the size of the playback view is adjusted to a fourth view size that matches the third trigger operation. The third trigger operation can be the same as or different from the first and second trigger operations; this is not limited here. For example, the third trigger operation can be a click operation. If the size of the fourth view is larger than the size of the second view, then the size of the playback view is enlarged and adjusted; the size of the fourth view can be larger or smaller than the size of the first view; this is not limited here.
[0099] Optionally, if the size of the first view is larger than the size of the second view, then in response to a third trigger operation on the playback page corresponding to the playback view of the second view size, the size of the playback view can be adjusted until the size of the playback view is adjusted to a fourth view size that matches the third trigger operation, and at least one of the following can be displayed: video duration information, playback progress information, and video playback control controls. For a detailed description of this solution, please refer to the relevant descriptions above, which will not be repeated here.
[0100] Optionally, if the time interval between the target object corresponding to the target account and the target interaction operation on the video playback page and the current system time satisfies a first time interval, then the client can cancel the display of video duration information, playback progress information, and video playback control controls.
[0101] Further optionally, in response to a triggering operation on the video playback page, at least one of the following can be displayed: video duration information, playback progress information, and video playback control controls. Alternatively, in response to a triggering operation on the playback view, at least one of the following can be displayed: video duration information, playback progress information, and video playback control controls.
[0102] Optionally, in response to a fourth trigger operation for the playback view at the second view size, the size of the playback view can be adjusted until the size of the playback view is adjusted to the fifth view size that matches the fourth trigger operation, and the video return control, video sharing control, and full-screen display control can be canceled.
[0103] The fourth trigger operation can be the same as or different from the third trigger operation. For example, the third trigger operation is a click operation, and the fourth trigger operation is a two-finger pinch operation. Taking Figure 3K as an example, Figure 3K is a schematic diagram of a video playback page provided in an embodiment of this application. In this diagram, the client can respond to the fourth trigger operation (such as a two-finger pinch operation) on the playback view 323a of the second view size in the video playback page 323, and display the playback view 324a of the fifth view size on the video playback page 324. By adjusting the size of the playback view through the fourth trigger operation, and canceling the display of the video return control, video sharing control, and full-screen display control, the playback view of the fifth view size fills the upper space of the screen, which can reduce the impact of other controls on video viewing and improve the video viewing experience.
[0104] Optionally, in response to the first trigger operation on the video playback page, the size of the playback view is adjusted, and video ambient effects are displayed. These effects serve as a notification of the change in the playback view's size and can be, for example, ambient lighting or animation. Optionally, the distribution area of the video ambient effects can be determined based on the change in the playback view's size, and the style of the effects can be determined based on the target video being played. Specifically, when the playback view's size decreases, the distribution area of the video ambient effects increases; when the playback view's size increases, the distribution area decreases. The style of the video ambient effects includes elements such as color and type, and can be determined based on the target video being played, such as the video content and background color.
[0105] In one optional implementation, the video playback page includes a playback view with a size equal to that of a first view and associated information of the target video. The size of the first view is larger than that of a second view. In response to a first trigger operation on the video playback page, the size of the playback view is adjusted until it matches the size of the second view that was triggered by the first trigger operation. This can be achieved by: in response to the first trigger operation on the video playback page, reducing the size of the playback view until it matches the size of the second view that was triggered by the first trigger operation; and in response to the adjustment of the size of the playback view, enlarging the display area of the associated information to obtain an adjusted display area for the associated information, and displaying the associated information in the adjusted display area.
[0106] The associated information of the target video refers to information related to the target video. Optionally, the associated information may include interactive information and / or descriptive information of the target video. Interactive information of the target video may refer to information generated by interacting with the target video, or information that can be interacted with. The descriptive information of the target video describes the video content, such as a video summary. In response to a first trigger operation on the video playback page, the client shrinks the size of the playback view until the size of the playback view is adjusted to a second view size matching the first trigger operation. Then, the display area of the associated information is enlarged to obtain the adjusted display area of the associated information, and the associated information is displayed in the adjusted display area.
[0107] Taking Figure 3A as an example, the video playback page 301 includes a playback view 301a of a first view size and associated information 301b of the target video. In response to a first trigger operation on the video playback page 301, the client can shrink the size of the playback view 301a until the size of the playback view 301a is adjusted to a second view size that matches the first trigger operation, and display the playback view 302a of the second view size on the video playback page 302. At the same time, in response to the adjustment of the playback view size, the client enlarges the display area of the associated information 301b to obtain the adjusted display area of the associated information, and displays the associated information in the adjusted display area 302b of the associated information on the video playback page 302.
[0108] Optionally, the display area of the playback view of the first view size and the display area of the associated information display area before adjustment are combined to form the first display area, and the display area of the playback view of the second view size and the display area of the associated information display area after adjustment are combined to form the second display area. The first display area and the second display area can be the same or different.
[0109] If the first display area and the second display area are the same, then the display area of the reduced size of the playback view is equal to the display area of the enlarged display area of the associated information. If the first display area and the second display area are not the same, then the display area of the reduced size of the playback view is greater than or less than the display area of the enlarged display area of the associated information.
[0110] Optionally, the video playback page includes a playback view with a size equal to the first view size, associated information of the target video, and account information of the publishing account. In response to a first trigger operation on the video playback page, the client shrinks the size of the playback view until the size of the playback view is adjusted to the second view size that matches the first trigger operation, and cancels the display of the account information. In response to the adjustment of the playback view size, the display area of the associated information is enlarged to obtain the adjusted display area of the associated information, and the associated information is displayed in the adjusted display area of the associated information.
[0111] In one optional implementation, the associated information includes interactive information of the target video and descriptive information of the target video; then, in response to the size adjustment of the playback view, the display area of the associated information is enlarged to obtain the adjusted display area of the associated information, and in response to the first trigger operation of the video playback page for the second view size, the display of the descriptive information is canceled, and the display area of the interactive information is enlarged to obtain the adjusted display area of the interactive information, and the interactive information is displayed in the adjusted display area of the interactive information.
[0112] The interactive information of the target video can refer to information generated by interacting with the target video, or information that can be interacted with. The description information of the target video describes its content, such as a video summary. Optionally, the interactive information of the target video may include comment information and / or recommended content information. Comment information refers to posts made by various accounts that watch the target video. Recommended content information is determined based on the target video and may include at least one of the following: recommended video information, video collection information, and recommended search information; the video collection information corresponds to the video collection to which the target video belongs. In response to a first trigger operation on the video playback page of the second view size, the client cancels the display of the description information and enlarges the display area of the interactive information to obtain an adjusted display area for the interactive information. The interactive information is then displayed within this adjusted display area, and the display area of the adjusted display area is larger than the display area of the original display area.
[0113] Taking Figure 3L as an example, Figure 3L is a schematic diagram of a video playback page provided in an embodiment of this application. The video playback page 325 with a second view size includes description information 325a of the target video and interactive information 325b of the target video. The client can respond to a first trigger operation on the video playback page 325 with a second view size, cancel the display of description information 325a, and enlarge the display area of interactive information to obtain an adjusted display area of interactive information. The adjusted display area 326a of interactive information is then displayed on the video playback page 326, and interactive information is displayed in the adjusted display area 326a of interactive information.
[0114] Optionally, the video playback page may also include a comment information display control and a recommended content display control; the comment information display control is used to display comment information, and the recommended content display control is used to display recommended content information. Optionally, after canceling the display of description information and enlarging the display area of interactive information to obtain an adjusted display area of interactive information, and after displaying interactive information in the adjusted display area of interactive information, the comment information display control and the recommended content display control are displayed in a first preset display position within the adjusted display area of interactive information. Optionally, the first preset display position can be the top display position of the adjusted display area of interactive information, that is, the comment information display control and the recommended content display control are displayed at the top of the adjusted display area of interactive information.
[0115] Optionally, the size of the second view can be larger than the size of the first view, in which case the first trigger operation is to enlarge the size of the playback view.
[0116] Optionally, the playback view's view state includes a video browsing state and a video immersive state. If the second view size is larger than the first view size, then in response to a second trigger operation on the video playback page, the playback view in the video browsing state can be switched to the playback view in the video immersive state. Specifically, when the playback view is in the video browsing state, the video playback page includes the playback view in the video browsing state and the associated information of the target video, and the playback view in the video browsing state is located in the preset display area of the video playback page. When the playback view is in the video immersive state, the video playback page includes the playback view in the video immersive state, the associated information is not displayed on the video playback page, and the playback view in the video immersive state is located in the central display area of the video playback page, which is different from the preset display area. For specific implementation details of this solution, please refer to the above description, which will not be repeated here.
[0117] Optionally, the video playback page includes a playback view with a size equal to the first view size, and associated information of the target video; if the size of the first view is smaller than the size of the second view, then the client can respond to the first trigger operation on the video playback page by enlarging the size of the playback view until the size of the playback view is adjusted to match the size of the second view that matches the first trigger operation; in response to the adjustment of the size of the playback view, the display area of the associated information is reduced to obtain the adjusted display area of the associated information, and the associated information is displayed in the adjusted display area of the associated information.
[0118] In one optional implementation, the video playback page further includes at least one piece of recommended content information associated with the target video. The recommended content information includes at least one of the following: recommended video information, video collection information, and recommended search information; the video collection information corresponds to the video collection to which the target video belongs. In response to a trigger operation on the recommended video information, the video playback page for the recommended video corresponding to the recommended video information can be displayed; or, in response to a trigger operation on the video collection information, at least one collection video can be displayed, where the at least one collection video belongs to the video collection corresponding to the video collection information; or, in response to a trigger operation on the recommended search information, search result information corresponding to the recommended search information can be displayed. For specific implementation details of this solution, please refer to the above description, which will not be repeated here.
[0119] In one optional implementation, the video playback page further includes content filtering controls, which include at least one of the following: a collection filtering control, a similar video filtering control, and a content object filtering control; wherein, the collection filtering control is used to filter video collection information from at least one set of recommended content information; the similar video filtering control is used to filter recommended video information similar to the target video from at least one set of recommended content information; and the content object filtering control is used to filter recommended content information published by the publisher of the target video from at least one set of recommended content information. For specific implementation details of this solution, please refer to the above description, which will not be repeated here.
[0120] In one alternative implementation, in response to a first trigger operation on the video playback page, the size of the playback view is adjusted until the size of the playback view is adjusted to a second view size that matches the first trigger operation. This can be achieved by: in response to the first trigger operation on the video playback page, shrinking or expanding the height and width of the playback view according to a preset view ratio until the height and width of the playback view are adjusted to the height and width corresponding to the second view size.
[0121] The preset view ratio can be pre-set by the network platform's management objects. The preset view ratio refers to the pre-defined ratio of the height and width of the playback view. In response to the first trigger operation on the video playback page, the client scales the height and width of the playback view according to the preset view ratio. The playback view at the first view size also conforms to the preset view ratio. For example, in response to the first trigger operation on the video playback page (such as a pinch-to-zoom or a swipe gesture in a specific direction), the client calculates the view size of each frame during the scaling process based on this preset view ratio. For instance, if the playback view needs to be scaled down to 50% of its original width, the height is also simultaneously scaled down to 50% of its original height, ensuring that the playback view is presented according to the preset view ratio, avoiding image stretching or compression, and guaranteeing the user's viewing experience.
[0122] Optionally, in response to a first trigger operation on the video playback page, the height and width of the playback view are scaled down or expanded according to a preset view ratio, and the display position of the scaled-down or expanded playback view is determined until the height and width of the playback view are adjusted to the height and width corresponding to the second view size, and the playback view of the second view size is displayed at the determined display position.
[0123] Optionally, the preset view ratio can be determined based on the first triggering operation of the target account. For example, if the first triggering operation is a swipe, the preset view ratio can be dynamically calculated based on the swipe direction (e.g., horizontal swipe changes the width ratio, vertical swipe changes the height ratio).
[0124] S203, in response to the target video's playback progress meeting the preset playback progress, the playback view is switched to display a recommended content information block; the recommended content information block includes recommended content information, which is determined based on the target video; the size of the recommended content information block is different from the size of the second view.
[0125] The recommended content information block is used to display recommended content information, which is determined based on the target video. The size of the recommended content information block is different from the size of the second view. In this embodiment, when the playback progress of the target video meets the preset playback progress, the playback view is switched to the recommended content information block, which can better connect subsequent content and improve the user interaction experience. The size of the recommended content information block is different from the size of the second view, which can prompt the user and improve the content interaction rate.
[0126] Optionally, the preset playback progress can be: playback end progress. That is, when the target video finishes playing, the client will switch the playback view to display the recommended content information block. Optionally, the preset playback progress can be: the time interval between the target video's duration and the video time corresponding to the playback progress meets a second time interval. In other words, when the time interval between the video time corresponding to the playback progress and the target video's duration meets a second time interval (e.g., 10 seconds), the client will switch the playback view to display the recommended content information block.
[0127] Optionally, the video playback page also includes a playback progress bar, which is used to indicate the playback progress of the target video; when the playback progress of the target video indicated by the playback progress bar meets the preset playback progress, the playback view is switched to display a recommended content information block.
[0128] Taking Figure 3A as an example, the video playback page 303 also includes a playback progress bar 303a. The client can respond to the playback progress of the target video indicated by the playback progress bar 303a meeting the preset playback progress, and switch the playback view on the video playback page 304 to display the recommended content information block 304a.
[0129] Optionally, the recommended content information includes at least one of the following: recommended video information, video collection information, and recommended search information; the video collection information corresponds to the video collection to which the target video belongs.
[0130] At least one piece of recommended content information is determined based on the target video. In other words, recommended video information, video collection information, and recommended search information are determined based on the target video.
[0131] The recommended videos are determined based on the target video; that is, the recommended videos are similar videos to the target video. Optionally, similar videos can be determined based on at least one of the following: the target video's theme, video content, the target audience, and the video collection to which the target video belongs. The video theme refers to the core idea, central issue, or emotional direction the video conveys, representing the publisher's intent. Examples of video themes include travel guides and food reviews. Video content refers to all perceptible video elements actually presented in the video, including composition, camera movement, dialogue and narration, sound effects, background music, editing rhythm, subtitles, and special effects. The target audience is the entity that publishes the target video. The publisher can create at least one video collection and associate the target video with any of these collections, adding the target video to any video collection. This collection can include at least one video collection video, and the video collection to which the publisher adds the target video is the video collection to which the target video belongs. Optionally, the number of recommended video information items can be at least one. For details on the implementation of the recommended content information in this solution, please refer to the relevant descriptions above, which will not be repeated here.
[0132] Optionally, if the recommended content information includes recommended video information, then the recommended content information block includes the account information of the publishing account corresponding to the recommended video information and / or the interaction information of the recommended video corresponding to the recommended video information. The interaction information of the recommended video is determined based on the interaction operations of each account on the recommended video, such as liking, commenting, and favoriting. Therefore, the interaction information of the recommended video can include like information (such as the number of likes), favoriting information (such as the number of favoritings), and comment information (such as the number of comments).
[0133] Optionally, if the recommended content information includes recommended video information, then the recommended content information block may also include a video playback control. In this case, the client can respond to the trigger operation of the video playback control in the recommended content information block to display the video playback page corresponding to the recommended video information. The video playback page corresponding to the recommended video information includes the recommended video corresponding to the recommended video information.
[0134] Optionally, in response to the target video's playback progress meeting a preset playback progress, a recommended content information block is displayed, and a playback view of the sixth view size is displayed at the second preset display position on the video playback page; the size of the recommended content information block is different from the sixth view size. For example, when the target video's playback progress meets the preset playback progress, the target video's playback view can shrink to the sixth view size at the display position in the upper right corner of the screen (the second preset display position). Optionally, if the target video has not yet finished playing, then the target video can continue playing in the playback view of the sixth view size.
[0135] Optionally, in response to a triggering operation on the playback view at the sixth view size, the playback view can be adjusted and the adjusted playback view can be displayed, with the adjusted playback view being the size of the second view.
[0136] Optionally, after switching the playback view to display recommended content information blocks, a video replay control and / or an object follow control can also be displayed; the client can respond to a trigger operation on the video replay control to replay the target video; or, the client can respond to a trigger operation on the object follow control to establish a relationship between the target account and the publishing account of the target video, that is, the target account follows the publishing account.
[0137] Taking Figure 3A as an example, a playback view 304b with a sixth view size is displayed at the second preset display position of the video playback page 304, and the client can also display a video replay control 304c and an object focus control 304d.
[0138] In this embodiment, a video playback page for displaying a target video is provided. The video playback page includes a playback view for playing the target video, the size of which is a first view size. In response to a first trigger operation on the video playback page, the size of the playback view is adjusted until it matches a second view size that is compatible with the first trigger operation. In response to the target video's playback progress meeting a preset playback progress, the playback view is switched to display a recommended content information block. The recommended content information block includes recommended content information, which is determined based on the target video. The size of the recommended content information block is different from the second view size. By dynamically changing the size of the playback view based on user interaction until it reaches the second view size, the smoothness of video interaction is improved. Furthermore, switching the playback view to the recommended content information block when the target video's playback progress meets the preset playback progress better connects subsequent content, enhancing the user's interactive experience. The different size of the recommended content information block compared to the second view size provides a prompt to the user, increasing the content interaction rate.
[0139] Based on the above description, please refer to Figure 4. Figure 4 is a flowchart of another video interaction method provided by an embodiment of this application. As shown in Figure 4, the video interaction method includes, but is not limited to, steps S401 to S409, wherein: S401, the client responds to the display trigger operation of the video playback page for the target video and sends a request to the server to obtain the video playback page.
[0140] Specifically, the operation triggering the display of the video playback page for the target video is the operation that triggers the display of the video playback page. This operation includes, but is not limited to, at least one of the following: a trigger operation for the video playback entry point of the target video, or a target page switching operation. Optionally, the request to obtain the video playback page carries the video identifier of the target video, so that the server can determine the target video based on the video identifier.
[0141] The system allows the display of a video playback entry point for the target video on any page. The client can then respond to a trigger action on this entry point by displaying the target video's playback page. Optionally, the video playback entry point can include the target video's cover image, video link, etc. Video links can include text links and image links. Image links can be, for example, video playback identification information used to identify and display the video playback page. This identification information can be, for example, a video playback QR code or barcode. Since the target page can be the video playback page, switching to that page can be understood as switching from another page to the video playback page, thus displaying the target video's playback page.
[0142] S402, The server retrieves the target video.
[0143] In this process, the server responds to the video playback page's retrieval request by obtaining the target video. Optionally, the retrieval request may include a video identifier for the target video, allowing the server to determine the target video based on the video identifier.
[0144] S403, The server sends the target video to the client.
[0145] S404. The client displays the video playback page of the target video; the video playback page includes a playback view for playing the target video, and the size of the playback view is the same as the size of the first view.
[0146] The client renders and displays a video playback page based on the received target video. Optionally, the client can display a playback view of the first view size when rendering the video playback page, based on the first view size.
[0147] The first view size indicates the width and height of the playback view. Optionally, the first view size can be preset by the management object of the video platform or content platform; or, the first view size can be adjusted and determined by the target account, which is the account of the logged-in client.
[0148] For a detailed implementation of step S404 in this application embodiment, please refer to step S201 above. This application embodiment will not repeat the details here.
[0149] S405. In response to the first trigger operation on the video playback page, the client adjusts the size of the playback view until the size of the playback view is adjusted to the size of the second view that matches the first trigger operation.
[0150] The first trigger operation is used to adjust the size of the playback view, such as a swipe or a two-finger trigger operation. The second view size can be a preset view size. When the size of the playback view is adjusted, the playback view of the first view size will be adjusted to the playback view of the second view size. Optionally, if the first trigger operation is a swipe, the size of the playback view can be adjusted according to the swipe distance until the size of the playback view is adjusted to the second view size that matches the first trigger operation. Optionally, the second view size can be determined based on the first view size and the swipe distance.
[0151] Optionally, the size of the second view can be larger or smaller than the size of the first view. If the size of the second view is smaller than the size of the first view, then the first trigger operation is to enlarge the size of the playback view; if the size of the second view is smaller than the size of the first view, then the first trigger operation is to shrink the size of the playback view.
[0152] Optionally, the display area of the playback view of the first view size and the display area of the associated information display area before adjustment are combined to form the first display area, and the display area of the playback view of the second view size and the display area of the associated information display area after adjustment are combined to form the second display area. The first display area and the second display area can be the same or different.
[0153] If the first display area and the second display area are the same, then the display area of the reduced size of the playback view is equal to the display area of the enlarged display area of the associated information. If the first display area and the second display area are not the same, then the display area of the reduced size of the playback view is greater than or less than the display area of the enlarged display area of the associated information.
[0154] In one alternative implementation, in response to a first trigger operation on the video playback page, the size of the playback view is adjusted until the size of the playback view is adjusted to a second view size that matches the first trigger operation. This can be achieved by: in response to the first trigger operation on the video playback page, shrinking or expanding the height and width of the playback view according to a preset view ratio until the height and width of the playback view are adjusted to the height and width corresponding to the second view size.
[0155] The preset view ratio can be pre-set by the network platform's management objects. The preset view ratio refers to the pre-defined ratio of the height and width of the playback view. In response to the first trigger operation on the video playback page, the client scales the height and width of the playback view according to the preset view ratio. The playback view at the first view size also conforms to the preset view ratio. For example, in response to the first trigger operation on the video playback page (such as a pinch-to-zoom or a swipe gesture in a specific direction), the client calculates the view size of each frame during the scaling process based on this preset view ratio. For instance, if the playback view needs to be scaled down to 50% of its original width, the height is also simultaneously scaled down to 50% of its original height, ensuring that the playback view is presented according to the preset view ratio, avoiding image stretching or compression, and guaranteeing the user's viewing experience.
[0156] Optionally, in response to a first trigger operation on the video playback page, the height and width of the playback view are scaled down or expanded according to a preset view ratio, and the display position of the scaled-down or expanded playback view is determined until the height and width of the playback view are adjusted to the height and width corresponding to the second view size, and the playback view of the second view size is displayed at the determined display position.
[0157] Optionally, the preset view ratio can be determined based on the first triggering operation of the target account. For example, if the first triggering operation is a swipe, the preset view ratio can be dynamically calculated based on the swipe direction (e.g., horizontal swipe changes the width ratio, vertical swipe changes the height ratio).
[0158] S406. When the playback progress of the target video meets the preset playback progress, the client sends a request to the server to obtain recommended content information.
[0159] S407. The server determines the recommended content information based on the target video.
[0160] The recommended content information is determined based on the target video. Optionally, the recommended content information may include at least one of the following: recommended video information, video collection information, and recommended search information; the video collection information corresponds to the video collection to which the target video belongs. In other words, the recommended video information, video collection information, and recommended search information are determined based on the target video.
[0161] The recommended videos are determined based on the target video; that is, the recommended videos are similar videos to the target video. Optionally, the server can determine similar videos based on at least one of the following: the target video's theme, video content, the target audience, and the video collection to which the target video belongs. The video theme refers to the core idea, central issue, or emotional direction the video conveys, representing the publisher's intent. Examples of video themes include travel guides and food reviews. Video content refers to all perceptible video elements actually presented in the video, including composition, camera movement, dialogue and narration, sound effects, background music, editing rhythm, subtitles, and special effects. The target audience is the entity that publishes the target video. The publisher can create at least one video collection. The server associates the target video with any video collection, adding it to any video collection. This collection can include at least one video collection video. The video collection to which the publisher adds the target video is the video collection to which the target video belongs. Optionally, the number of recommended video information items can be at least one.
[0162] The video collection information is determined based on the target video, and the video collection corresponding to the video collection information is the video collection to which the target video belongs. The video collection information may include, but is not limited to, at least one of the following: video collection theme, video titles of the videos within the corresponding video collection, and video collection cover. The video collection theme is used to characterize the video theme of the videos within the video collection, such as travel guides or food reviews. The video collection cover can be determined based on the video covers of the videos within the video collection; for example, by combining and arranging the video covers of the videos within the collection, a video collection cover can be obtained. Optionally, there can be at least one video collection information. That is, if there are multiple video collection information, then the target video belongs to multiple video collections, meaning the publishing object associates the target video with multiple video collections, i.e., adds the target video to multiple video collections.
[0163] The recommended search information is determined based on the target video. Optionally, the server can determine the recommended search information based on at least one of the video's theme or content. For example, if the video theme is "outdoor travel," then the recommended search information could be outdoor travel guides, outdoor equipment, etc. Optionally, the number of recommended search information can be at least one.
[0164] S408. The server sends the recommended content information to the client.
[0165] S409. The client switches the playback view to display the recommended content information block; the recommended content information block includes recommended content information, which is determined based on the target video; the size of the recommended content information block is different from the size of the second view.
[0166] For a detailed implementation of step S409 in this application embodiment, please refer to step S203 above. This application embodiment will not repeat the details here.
[0167] In this embodiment, in response to a trigger operation for displaying the video playback page of a target video, the client sends a request to the server to obtain the video playback page; the server obtains the target video; the server sends the target video to the client; the client displays the video playback page of the target video; the video playback page includes a playback view for playing the target video, the size of which is a first view size; in response to a first trigger operation for the video playback page, the client adjusts the size of the playback view until the size of the playback view is adjusted to a second view size that matches the first trigger operation; in response to the playback progress of the target video meeting a preset playback progress, the client sends a request to the server to obtain recommended content information; the server determines recommended content information based on the target video; the server sends the recommended content information to the client; the client switches the playback view to display a recommended content information block; the recommended content information block includes recommended content information, which is determined based on the target video; the size of the recommended content information block is different from the second view size. By dynamically changing the size of the playback view based on user interactions until it reaches the size of the second view, the smoothness of video interaction is improved. Furthermore, when the playback progress of the target video meets the preset playback progress, the playback view is switched to a recommended content information block, which can better connect subsequent content and improve the user interaction experience. The size of the recommended content information block is different from that of the second view, which can prompt the user and improve the content interaction rate.
[0168] This application also provides a computer storage medium storing program instructions, which, when executed, are used to implement the corresponding methods described in the above embodiments.
[0169] This application provides a computer program product, which includes a computer program stored in a computer storage medium. The processor of a computer device reads the computer program from the computer storage medium and executes the computer program, causing the computer device to perform the corresponding methods described in the above embodiments.
[0170] Referring again to Figure 5, which is a structural schematic diagram of a video interaction device provided in an embodiment of this application.
[0171] In one implementation of the video interaction device according to the embodiments of this application, the video interaction device includes the following structure.
[0172] Display unit 501 is used to display a video playback page of a target video; the video playback page includes a playback view for playing the target video, the size of which is a first view size; adjustment unit 502 is used to adjust the size of the playback view in response to a first trigger operation on the video playback page until the size of the playback view is adjusted to a second view size that matches the first trigger operation; display unit 501 is also used to switch the playback view to a recommended content information block for display in response to the playback progress of the target video meeting a preset playback progress; the recommended content information block includes recommended content information, the recommended content information being determined based on the target video; the size of the recommended content information block is different from the second view size.
[0173] In one embodiment, the playback view's view state includes a video browsing state and a video immersion state; the display unit 501 can also be used to: in response to a second trigger operation on the video playback page, switch the playback view in the video browsing state to the playback view in the video immersion state; wherein, when the playback view is in the video browsing state, the video playback page includes the playback view in the video browsing state and the associated information of the target video, and the playback view in the video browsing state is located in a preset display area of the video playback page; when the playback view is in the video immersion state, the video playback page includes the playback view in the video immersion state, the associated information is not displayed in the video playback page, and the playback view in the video immersion state is located in the central display area of the video playback page, the central display area being different from the preset display area.
[0174] In one embodiment, the video playback page includes a playback view with a size equal to a first view size, and associated information of the target video; the first view size is larger than the second view size, and the adjustment unit 502, in response to a first trigger operation on the video playback page, adjusts the size of the playback view until the size of the playback view is adjusted to the second view size matching the first trigger operation. This can be used to: reduce the size of the playback view in response to the first trigger operation on the video playback page until the size of the playback view is adjusted to the second view size matching the first trigger operation; and, in response to the adjustment of the playback view size, enlarge the display area of the associated information to obtain an adjusted display area of the associated information, and display the associated information in the adjusted display area of the associated information.
[0175] In one embodiment, the associated information includes interactive information of the target video and descriptive information of the target video; after the adjustment unit 502 enlarges the display area of the associated information in response to the size adjustment of the playback view to obtain the adjusted display area of the associated information, it can also be used to: cancel the display of the descriptive information and enlarge the display area of the interactive information in response to a first trigger operation of the video playback page for the second view size to obtain the adjusted display area of the interactive information, and display the interactive information in the adjusted display area of the interactive information.
[0176] In one embodiment, the video playback page further includes at least one recommended content information associated with the target video, the recommended content information including at least one of the following: recommended video information, video collection information, and recommended search information; the video collection information corresponds to the video collection to which the target video belongs; the display unit 501 can also be used to: in response to a trigger operation on the recommended video information, display the video playback page of the recommended video corresponding to the recommended video information; or, in response to a trigger operation on the video collection information, display at least one collection video, the at least one collection video belonging to the video collection corresponding to the video collection information; or, in response to a trigger operation on the recommended search information, display the search result information corresponding to the recommended search information.
[0177] In one embodiment, the video playback page further includes a content filtering control, which includes at least one of the following: a collection filtering control, a similar video filtering control, and a content object filtering control; wherein, the collection filtering control is used to filter video collection information from the at least one recommended content information; the similar video filtering control is used to filter recommended video information similar to the target video from the at least one recommended content information; and the content object filtering control is used to filter recommended content information published by the publisher of the target video from the at least one recommended content information.
[0178] In one embodiment, the adjustment unit 502, in response to a first trigger operation on the video playback page, adjusts the size of the playback view until the size of the playback view is adjusted to a second view size that matches the first trigger operation. This can be used to: in response to a first trigger operation on the video playback page, shrink or expand the height and width of the playback view according to a preset view ratio until the height and width of the playback view are adjusted to the height and width corresponding to the second view size.
[0179] In this embodiment, the display unit 501 displays a video playback page of the target video; the video playback page includes a playback view for playing the target video, and the size of the playback view is a first view size; the adjustment unit 502 adjusts the size of the playback view in response to a first trigger operation on the video playback page until the size of the playback view is adjusted to a second view size that matches the first trigger operation; the display unit 501 switches the playback view to a recommended content information block for display in response to the playback progress of the target video meeting a preset playback progress; the recommended content information block includes recommended content information, which is determined according to the target video; the size of the recommended content information block is different from the second view size. By dynamically changing the size of the playback view according to the user's interactive operation until it reaches the second view size, the smoothness of video interaction is improved; and when the playback progress of the target video meets the preset playback progress, switching the playback view to the recommended content information block can better connect subsequent content and improve the user's interactive experience; the size of the recommended content information block is different from the second view size, which can prompt the user and improve the content interaction rate.
[0180] Referring again to Figure 6, which is a schematic diagram of the structure of a computer device provided in an embodiment of this application, the computer device in this embodiment includes a power supply module and other structures, and includes a processor 601, a memory 602, and a communication interface 603. The processor 601, the memory 602, and the communication interface 603 can exchange data, and the processor 601 implements the corresponding video interaction method.
[0181] The memory 602 may include volatile memory, such as random-access memory (RAM); the memory 602 may also include non-volatile memory, such as flash memory, solid-state drive (SSD), etc.; the memory 602 may also include a combination of the above types of memory.
[0182] Processor 601 may be a central processing unit (CPU). Processor 601 may also be a combination of a CPU and a GPU. In a computer device, multiple CPUs and GPUs may be included as needed for corresponding video interaction. In one embodiment, memory 602 is used to store program instructions. Processor 601 can invoke program instructions to implement the various methods described above in the embodiments of this application.
[0183] The communication interface 603 may include a display screen, microphone, or speaker, etc.
[0184] In one possible implementation, the processor 601 of the computer device invokes program instructions stored in the memory 602 to display a video playback page of a target video via a communication interface 603; the video playback page includes a playback view for playing the target video, the size of which is a first view size; in response to a first trigger operation on the video playback page, the size of the playback view is adjusted until the size of the playback view is adjusted to a second view size that matches the first trigger operation; in response to the playback progress of the target video meeting a preset playback progress, the playback view is switched to display a recommended content information block; the recommended content information block includes recommended content information, which is determined based on the target video; the size of the recommended content information block is different from the second view size.
[0185] In one embodiment, the playback view's view state includes a video browsing state and a video immersion state; the processor 601 can also perform the following operations through the communication interface 603: in response to a second trigger operation on the video playback page, switching the playback view in the video browsing state to the playback view in the video immersion state; wherein, when the playback view is in the video browsing state, the video playback page includes the playback view in the video browsing state and the associated information of the target video, and the playback view in the video browsing state is located in a preset display area of the video playback page; when the playback view is in the video immersion state, the video playback page includes the playback view in the video immersion state, the associated information is not displayed in the video playback page, and the playback view in the video immersion state is located in the central display area of the video playback page, the central display area being different from the preset display area.
[0186] In one embodiment, the video playback page includes a playback view with a size equal to a first view size, and associated information of the target video. The first view size is larger than the second view size. In response to a first trigger operation on the video playback page via a communication interface 603, the processor 601 adjusts the size of the playback view until the size of the playback view is adjusted to the second view size matching the first trigger operation. This can be achieved by: reducing the size of the playback view in response to the first trigger operation on the video playback page until the size of the playback view is adjusted to the second view size matching the first trigger operation; and enlarging the display area of the associated information in response to the adjustment of the playback view size to obtain an adjusted display area of the associated information, and displaying the associated information in the adjusted display area of the associated information.
[0187] In one embodiment, the associated information includes interactive information of the target video and descriptive information of the target video; the processor 601, in response to the size adjustment of the playback view via the communication interface 603, enlarges the display area of the associated information to obtain the adjusted display area of the associated information, and then performs the following operations: in response to a first trigger operation for a video playback page of a second view size, cancels the display of the descriptive information, enlarges the display area of the interactive information to obtain the adjusted display area of the interactive information, and displays the interactive information in the adjusted display area of the interactive information.
[0188] In one embodiment, the video playback page further includes at least one recommended content information associated with the target video, the recommended content information including at least one of the following: recommended video information, video collection information, and recommended search information; the video collection information corresponds to the video collection to which the target video belongs; the processor 601 can also perform the following operations through the communication interface 603: in response to a trigger operation for the recommended video information, display the video playback page of the recommended video corresponding to the recommended video information; or, in response to a trigger operation for the video collection information, display at least one collection video, the at least one collection video belonging to the video collection corresponding to the video collection information; or, in response to a trigger operation for the recommended search information, display the search result information corresponding to the recommended search information.
[0189] In one embodiment, the video playback page further includes a content filtering control, which includes at least one of the following: a collection filtering control, a similar video filtering control, and a content object filtering control; wherein, the collection filtering control is used to filter video collection information from the at least one recommended content information; the similar video filtering control is used to filter recommended video information similar to the target video from the at least one recommended content information; and the content object filtering control is used to filter recommended content information published by the publisher of the target video from the at least one recommended content information.
[0190] In one embodiment, the processor 601, in response to a first trigger operation on the video playback page via the communication interface 603, adjusts the size of the playback view until the size of the playback view is adjusted to a second view size that matches the first trigger operation. It can perform the following operations: in response to the first trigger operation on the video playback page, shrinking or expanding the height and width of the playback view according to a preset view ratio until the height and width of the playback view are adjusted to the height and width corresponding to the second view size.
[0191] In this embodiment, the processor 601 displays a video playback page of the target video through a communication interface 603. The video playback page includes a playback view for playing the target video, and the size of the playback view is a first view size. In response to a first trigger operation on the video playback page, the size of the playback view is adjusted until the size of the playback view is adjusted to a second view size that matches the first trigger operation. In response to the playback progress of the target video meeting a preset playback progress, the playback view is switched to a recommended content information block for display. The recommended content information block includes recommended content information, which is determined based on the target video. The size of the recommended content information block is different from the second view size. By dynamically changing the size of the playback view according to the user's interactive operation until it reaches the second view size, the smoothness of video interaction is improved. Furthermore, when the playback progress of the target video meets the preset playback progress, switching the playback view to the recommended content information block can better connect subsequent content and improve the user's interactive experience. The size of the recommended content information block is different from the second view size, which can prompt the user and improve the content interaction rate.
[0192] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. This program can be stored in a computer-readable storage medium, and when executed, it can include the processes described in the above method embodiments. The aforementioned storage medium includes various media capable of storing program code, such as ROM or random access memory (RAM), magnetic disks, or optical disks.
[0193] The above-disclosed embodiments are merely some of the embodiments of this application, and should not be construed as limiting the scope of this application. Those skilled in the art can understand that all or part of the processes for implementing the above embodiments, and equivalent changes made in accordance with the claims of this application, still fall within the scope of this application.
Claims
1. A video interaction method, characterized in that, The method includes: displaying a video playback page of a target video; the video playback page including a playback view for playing the target video, the size of the playback view being a first view size; adjusting the size of the playback view in response to a first trigger operation on the video playback page until the size of the playback view is adjusted to a second view size matching the first trigger operation; switching the playback view to display a recommended content information block in response to the playback progress of the target video meeting a preset playback progress; the recommended content information block including recommended content information, the recommended content information being determined based on the target video; the size of the recommended content information block being different from the second view size.
2. The method as described in claim 1, characterized in that, The playback view's view states include a video browsing state and a video immersion state; the method further includes: in response to a second trigger operation on the video playback page, switching the playback view in the video browsing state to the playback view in the video immersion state; wherein, when the playback view is in the video browsing state, the video playback page includes the playback view in the video browsing state and the associated information of the target video, and the playback view in the video browsing state is located in a preset display area of the video playback page; when the playback view is in the video immersion state, the video playback page includes the playback view in the video immersion state, the associated information is not displayed on the video playback page, and the playback view in the video immersion state is located in the central display area of the video playback page, the central display area being different from the preset display area.
3. The method as described in claim 1, characterized in that, The video playback page includes a playback view with a size equal to a first view size, and associated information of the target video; the first view size is larger than the second view size. The step of adjusting the size of the playback view in response to a first trigger operation on the video playback page until the size of the playback view is adjusted to the second view size matching the first trigger operation includes: reducing the size of the playback view in response to the first trigger operation on the video playback page until the size of the playback view is adjusted to the second view size matching the first trigger operation; and enlarging the display area of the associated information in response to the adjustment of the playback view size to obtain an adjusted display area of the associated information, and displaying the associated information in the adjusted display area of the associated information.
4. The method as described in claim 3, characterized in that, The associated information includes interactive information of the target video and descriptive information of the target video; after enlarging the display area of the associated information in response to the size adjustment of the playback view to obtain the adjusted display area of the associated information, the method further includes: in response to a first trigger operation of the video playback page for the second view size, canceling the display of the descriptive information, enlarging the display area of the interactive information to obtain the adjusted display area of the interactive information, and displaying the interactive information in the adjusted display area of the interactive information.
5. The method as described in claim 1, characterized in that, The video playback page also includes at least one piece of recommended content information associated with the target video, and the recommended content information includes at least one of the following: recommended video information, video collection information, and recommended search information; The video collection information corresponds to the video collection to which the target video belongs; The method further includes: in response to a trigger operation on the recommended video information, displaying a video playback page for the recommended video corresponding to the recommended video information; or, in response to a trigger operation on the video collection information, displaying at least one collection video, wherein the at least one collection video belongs to the video collection corresponding to the video collection information; or, in response to a trigger operation on the recommended search information, displaying search result information corresponding to the recommended search information.
6. The method as described in claim 5, characterized in that, The video playback page further includes content filtering controls, which include at least one of the following: a collection filtering control, a similar video filtering control, and a content object filtering control; wherein, the collection filtering control is used to filter video collection information from the at least one recommended content information; the similar video filtering control is used to filter recommended video information similar to the target video from the at least one recommended content information; and the content object filtering control is used to filter recommended content information published by the publisher of the target video from the at least one recommended content information.
7. The method as described in claim 1, characterized in that, The step of adjusting the size of the playback view in response to a first trigger operation on the video playback page until the size of the playback view is adjusted to a second view size that matches the first trigger operation includes: in response to a first trigger operation on the video playback page, shrinking or expanding the height and width of the playback view according to a preset view ratio until the height and width of the playback view are adjusted to the height and width corresponding to the second view size.
8. A video interactive device, characterized in that, The device includes: a display unit for displaying a video playback page of a target video; the video playback page includes a playback view for playing the target video, the size of the playback view being a first view size; an adjustment unit for adjusting the size of the playback view in response to a first trigger operation on the video playback page, until the size of the playback view is adjusted to a second view size matching the first trigger operation; the display unit is further configured to switch the playback view to a recommended content information block for display in response to the playback progress of the target video meeting a preset playback progress; the recommended content information block includes recommended content information, the recommended content information being determined based on the target video; the size of the recommended content information block is different from the second view size.
9. A computer device, characterized in that, The computer device includes a memory, a communication interface, and a processor, wherein the memory, the communication interface, and the processor are interconnected; the memory stores a computer program, and the processor calls the computer program stored in the memory to implement the video interaction method as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the video interaction method as described in any one of claims 1 to 7.
11. A computer program product, characterized in that, The computer program product includes a computer program stored in a computer storage medium; a processor of a computer device reads the computer program from the computer storage medium and executes the computer program, causing the computer device to perform the video interaction method as described in any one of claims 1 to 7.