Video playing method and device, electronic equipment and storage medium
By providing a full-screen playback entry in the preview interface of the video playback application, landscape full-screen playback is enabled while hiding functional controls, solving the black border problem of landscape videos in portrait mode and improving the smoothness and immersion of the user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- BEIJING DAJIA INTERNET INFORMATION TECH CO LTD
- Filing Date
- 2025-12-25
- Publication Date
- 2026-04-24
AI Technical Summary
Existing video playback applications often result in excessive black borders on the screen when playing landscape videos due to the use of portrait mode, which affects the smoothness and immersion of the user experience.
A video playback method is provided, which displays a full-screen playback entry on the preview interface, directly plays a landscape video in full-screen mode, and maintains a clear screen mode on the playback interface to hide function controls, thereby achieving a continuous immersive playback experience.
It improves user operation efficiency and immersion, eliminates black borders in landscape videos, makes full use of screen area, and provides a more immersive and continuous playback experience.
Smart Images

Figure CN121924312A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of multimedia technology, and in particular to a video playback method, apparatus, electronic device, and storage medium. Background Technology
[0002] Currently, some video playback applications default to portrait mode when playing videos. However, for some landscape videos, that is, videos with an aspect ratio greater than 1, the landscape content will be compressed into the portrait window, with more than 50% of the screen area occupied by black borders. This results in a loss of the visual impact, detail, and cinematic feel, and undermines the smoothness and immersion of the user experience. Summary of the Invention
[0003] This disclosure provides a video playback method, apparatus, electronic device, and storage medium, which can improve the smoothness and immersion of the user experience, as well as improve operational efficiency. The technical solution of this disclosure is as follows: According to one aspect of the embodiments of this disclosure, a video playback method is provided, including: Based on the information stream, a preview interface of the first video in the playback collection is displayed. The preview interface displays a full-screen playback entry for the first video. The aspect ratio of the first video is greater than 1. The full-screen playback entry is used to play the first video in full screen. In response to the trigger operation of the full-screen playback entry, the first video is played in full-screen mode based on the video stream of the first video in landscape mode; In response to a video switching operation on the playback interface of the first video, the target video in the playback collection is played in full screen, and the target video is the video corresponding to the video switching operation in the playback collection.
[0004] According to another aspect of the embodiments of this disclosure, a video playback device is provided, comprising: The preview display module is configured to display the preview interface of the first video in the playback collection based on the information stream. The preview interface displays a full-screen playback entry for the first video. The aspect ratio of the first video is greater than 1. The full-screen playback entry is used to play the first video in full screen. The playback module is configured to respond to a trigger operation on the full-screen playback entry point, and play the first video in landscape mode, based on the video stream of the first video, in full-screen mode. The playback module is further configured to respond to a video switching operation on the playback interface of the first video by playing a target video in the playback set in full screen, wherein the target video is the video corresponding to the video switching operation in the playback set.
[0005] In some embodiments, the first video is in a clear screen mode, in which no function controls are displayed on the playback interface of the first video, and the function components are used to perform operations on the first video.
[0006] In some embodiments, the apparatus further includes: The component display module is configured to display at least one functional component on the playback interface of the first video in response to a trigger operation on the playback interface of the first video.
[0007] In some embodiments, the playback module is also configured to perform any of the following: If another trigger operation on the playback interface of the first video is detected, the screen clearing mode is restored; If no trigger operation on any functional component is detected within the preset time period, the screen clearing mode is restored.
[0008] In some embodiments, the playback module is further configured to play a transition animation in response to a video switching operation on the playback interface of the first video. The transition animation is used to display a partial frame of the first video and the second video, where the second video is a video in the playback set to which the first video belongs that corresponds to the video switching operation. If the operation trajectory of the video switching operation conforms to a preset trajectory condition, the second video is played in full-screen mode in landscape mode, and the second video is in the clear screen mode. If the operation trajectory of the video switching operation does not conform to the preset trajectory condition, the first video continues to be played in full-screen mode in landscape mode.
[0009] In some embodiments, the device further includes a prompt information display module, which is configured to, in response to a first video switching operation on the first video, display a first prompt information if the first video is the first video in the playback set to which the first video belongs, wherein the first video switching operation is used to switch to the previous video in the playback set, and the first prompt information indicates that there is no video in the playback set preceding the first video; and in response to a second video switching operation on the first video, display a second prompt information if the first video is the last video in the playback set to which the first video belongs, wherein the second video switching operation is used to switch to the next video in the playback set, and the second prompt information indicates that there is no video in the playback set following the first video.
[0010] In some embodiments, the playback module is further configured to, in response to a second video switching operation on the first video, if the first video is the last video in the playback set to which the first video belongs and the terminal login object supports continued playback, play the video in the associated playback set, wherein the second video switching operation is used to switch to the next video in the playback set; and in response to the second video switching operation on the first video, if the first video is the last video in the playback set to which the first video belongs and the terminal login object does not support continued playback, display a second prompt message, wherein the second video switching operation is used to switch to the next video in the playback set, and the second prompt message indicates that there is no video in the playback set that is after the first video.
[0011] In some embodiments, the preview display module is configured to perform any of the following: In response to the trigger operation of the exit component, the playback interface of the first video is exited, and the preview interface of the first video is displayed again based on the information flow; In response to a trigger operation on the exit component in the navigation component, the playback interface of the first video is exited, and a preview interface of the first video is displayed based on the information stream, wherein the first video is the video located after the first video in the information stream; In response to a trigger operation on the exit component in the navigation component, the playback interface of the first video is exited, and a preview interface of the first video is displayed based on the information stream, wherein the first video is the video located after the first video in the information stream; In response to the triggering operation of the exit component in the navigation component, the playback interface of the first video is exited, and based on the information stream, the preview interface of the second video is displayed. The second video is a video in the information stream whose content relevance to the first video meets the content conditions.
[0012] In some embodiments, the target video retains the clear screen mode.
[0013] In some embodiments, the playback module is further configured to play a first video in portrait mode, wherein the playback interface of the first video has a playback mode switching entry, the switching entry being used to switch between landscape mode and portrait mode; in response to a trigger operation on the switching entry, the first video is played in full-screen landscape mode; and in response to a trigger operation on an exit component on the playback interface of the first video, the playback interface of the first video is exited, and the first video is played again in portrait mode.
[0014] According to another aspect of the embodiments of this disclosure, an electronic device is provided, the electronic device comprising: One or more processors; Memory used to store the executable program code of the processor; The processor is configured to execute the program code to implement the aforementioned video playback method.
[0015] According to another aspect of the present disclosure, a computer-readable storage medium is provided that, when the program code in the computer-readable storage medium is executed by the processor of an electronic device, enables the electronic device to perform the video playback method described above.
[0016] According to another aspect of the present disclosure, a computer program product is provided, including a computer program / instructions that, when executed by a processor, implement the video playback method described above.
[0017] In some related technologies, playback based on a playback collection usually requires clicking to enter the playback collection, selecting a video to play, and then continuously playing the same playback collection based on switching operations. However, in this embodiment, by simply providing a full-screen playback entry on the preview interface of a video belonging to the playback collection, one can directly enter the playback collection for continuous and immersive video playback, which greatly improves operational efficiency.
[0018] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description
[0019] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure, and are not intended to unduly limit this disclosure.
[0020] Figure 1 This is a schematic diagram illustrating the implementation environment of a video playback method according to an exemplary embodiment.
[0021] Figure 2 This is a flowchart illustrating a video playback method according to an exemplary embodiment.
[0022] Figure 3 This is a schematic diagram illustrating a playback interface according to an exemplary embodiment.
[0023] Figure 4 This is a schematic diagram illustrating a playback interface according to an exemplary embodiment.
[0024] Figure 5 This is a schematic diagram illustrating a playback interface according to an exemplary embodiment.
[0025] Figure 6 This is a schematic diagram illustrating a playback interface according to an exemplary embodiment.
[0026] Figure 7 This is a schematic diagram illustrating a playback interface according to an exemplary embodiment.
[0027] Figure 8 This is a schematic diagram illustrating a playback interface according to an exemplary embodiment.
[0028] Figure 9 This is a block diagram illustrating a video playback device according to an exemplary embodiment.
[0029] Figure 10 This is a block diagram illustrating a terminal according to an exemplary embodiment. Detailed Implementation
[0030] To enable those skilled in the art to better understand the technical solutions of this disclosure, the technical solutions in the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings.
[0031] It should be noted that the terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this disclosure are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this disclosure described herein can be implemented in orders other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.
[0032] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.), and signals involved in this disclosure are all authorized by the user or fully authorized by all parties, and the collection, use, and processing of related data must comply with the relevant laws, regulations, and standards of the relevant countries and regions. For example, the video clips and background audio involved in this disclosure were obtained with full authorization.
[0033] Figure 1 This is a schematic diagram illustrating an implementation environment of a video playback method according to an exemplary embodiment. Taking an electronic device as an example, see [link to example]. Figure 1 The implementation environment specifically includes: terminal 101 and server 102. Terminal 101 and server 102 can be connected directly or indirectly through wired or wireless communication, which is not limited herein.
[0034] Terminal 101 is at least one of the following devices: smartphone, smartwatch, desktop computer, laptop, MP3 player, MP4 player, and laptop computer. Terminal 101 runs an application that supports live streaming. Users can log in to this application through Terminal 101 to access the services provided by the application. For example, users can start or participate in live streaming through the application on Terminal 101.
[0035] Terminal 101 generally refers to one of a plurality of terminals; this embodiment uses terminal 101 as an example. Those skilled in the art will understand that the number of terminals can be more or less. For example, there may be several terminals, or dozens or hundreds, or even more. This disclosure does not limit the number of terminals or the type of device.
[0036] Server 102 can be at least one of a single server, multiple servers, a cloud computing platform, and a virtualization center. Server 102 provides background services for applications that support video playback. Server 102 can connect to terminal 101 via a wireless or wired network. Server 102 can provide the terminal with live stream forwarding and database services related to live streaming, and of course, it can also provide other types of video services. In some embodiments, the number of servers can be more or less, and this disclosure does not limit this. Of course, server 102 may also include other functional servers to provide more comprehensive and diversified services.
[0037] Figure 2 This is a flowchart illustrating a video playback method according to an exemplary embodiment, see [link to flowchart]. Figure 2 The video playback method applied in the terminal includes the following steps: In step 201, the terminal displays a preview interface of the first video in the playback collection based on the information stream. The preview interface displays a full-screen playback entry for the first video. The aspect ratio of the first video is greater than 1, and the full-screen playback entry is used to play the first video in full screen.
[0038] The information stream provides playback addresses for multiple videos, which may include corresponding video IDs, video addresses, and interactive data. The terminal displays a video preview interface based on the video addresses in the information stream. It's understandable that the functional components displayed on the video preview interface differ somewhat from those displayed by default on the playback interface. For example, the video preview interface may display navigation components, including trending topics and recommendations, and may also include components for switching between vertical categories, such as switching the currently displayed section. The first video's aspect ratio is greater than 1, indicating it's a landscape video. For such landscape videos, when displayed in portrait mode, there will be a large amount of blank space on the screen; for example, there will be black areas at the top and bottom of the image, causing users to only see a small portion of the screen. To solve this problem, a full-screen playback option is provided on the preview interface to trigger full-screen playback.
[0039] In some embodiments, the full-screen playback entry is displayed when the first video belongs to a playback collection, thereby providing an immersive playback method for playback scenarios that may involve continuous playback requirements. Furthermore, during subsequent continuous playback based on the playback collection, playback in clear screen mode can be maintained, thus ensuring a continuous and immersive playback experience. Conversely, when displaying preview interfaces for other types of videos, the full-screen playback entry can be hidden, and instead, a playback mode switching entry can be displayed to provide switching between landscape and portrait playback modes. In this case, playback in landscape or portrait mode can be triggered based on this switching entry, without directly entering clear screen mode. This allows different types of videos to offer different playback modes, better meeting the needs of users watching different videos.
[0040] In step 202, in response to the trigger operation of the full-screen playback entry, the terminal plays the first video in full-screen mode based on the video stream of the first video in landscape mode.
[0041] Among them, full-screen playback of landscape videos can eliminate the black borders when playing landscape videos, making full use of the device's screen area and restoring the original visual impact and best viewing experience of landscape content.
[0042] In step 203, in response to the video switching operation on the playback interface of the first video, the target video in the playback collection is played in full screen. The target video is the video in the playback collection corresponding to the video switching operation.
[0043] After a video in the playback collection is played in full screen based on a trigger operation from the full-screen playback entry, in order to provide an immersive playback experience for the playback collection, when a video switching operation is detected, other videos in the same playback collection continue to play, instead of playing based on recommended video streams or information streams as in related technologies.
[0044] In some related technologies, playback based on a playback collection usually requires clicking to enter the playback collection, selecting a video to play, and then continuously playing the same playback collection based on switching operations. However, in this embodiment, by simply providing a full-screen playback entry on the preview interface of a video belonging to the playback collection, one can directly enter the playback collection for continuous and immersive video playback, which greatly improves operational efficiency.
[0045] In some embodiments, the first video is in a clear screen mode. In clear screen mode, no functional controls are displayed on the playback interface of the first video, and functional components are used to perform operations on the first video. In the technical solution provided in this disclosure, the terminal directly plays the first video in clear screen mode. At this time, no functional components are displayed on the playback interface of the first video, that is, all UI elements, such as status bar, navigation bar, and operation buttons, are hidden, and only the video screen itself is retained to achieve an ultimate sense of immersion and avoid UI elements obstructing the screen. In previous solutions, when entering full-screen mode, the terminal still maintains the display of UI elements, and then the screen lock function can be provided through the screen lock control to switch to clear screen mode, and no functional controls are displayed on the playback interface. Unlike the previous full-screen playback, the embodiments of this disclosure can directly enter the landscape + full-screen + clear screen playback state from the preview interface with a single operation, which greatly shortens the operation path and improves operation efficiency.
[0046] In some embodiments, in order to implement playback control operations on the first video, a function to restore component display can also be provided. That is, the method further includes: in response to a trigger operation on the playback interface of the first video, displaying at least one functional component on the playback interface of the first video. By clicking on any area of the playback interface, a set of functional components floating above the video can be brought up from the clear screen mode. These components provide playback control functions, such as: a playback control component for controlling at least one of the playback progress and playback mode of the first video, such as play / pause, progress bar dragging, speed adjustment, and enabling / disabling bullet comments; an interaction component for performing interactive operations on the first video, such as liking, favorite, and sharing; a navigation component for performing exit operations on the first video, including returning to the feed, switching to at least one of the other videos in the playback collection (the collection to which the first video belongs), such as returning (logically "back to where it came from," i.e., exiting the landscape in-stream and precisely returning to the trigger position in the feed), and switching to the previous / next episode; and a content management component for managing the content of the first video, such as more (which can expand a sub-menu containing functions like "not interested" and resolution switching).
[0047] In some embodiments, more personalized operation methods can be provided. For example, users can trigger the display of corresponding functional components through trigger operations in different implementations. That is, in response to a trigger operation on the playback interface of the first video, displaying at least one functional component on the playback interface of the first video includes: in response to different trigger operations on the playback interface of the first video, displaying at least one functional component corresponding to the trigger operation on the playback interface of the first video. For example, the display of navigation components can be triggered by a pull-down operation from the top edge of the playback interface, and the display of speed control can be triggered by a swipe operation from the right edge of the playback interface towards the inside of the playback interface. In some embodiments, the above-mentioned personalized operation configuration can be configured by the user to conform to the user's actual usage habits, thereby improving operation efficiency while reducing the obstruction of the playback interface by irrelevant functional components.
[0048] To provide operation prompts to users and prevent beginners from being unable to operate the software, in some embodiments, operation prompts can be displayed after a user triggers an operation on any area of the playback interface. These prompts can indicate to the user which operations can trigger the display of which functional components. The operation prompts can be displayed along the edge of the playback interface to minimize obstruction of the screen content.
[0049] In some embodiments, a convenient way to restore the clear screen mode can also be provided, that is, after at least one functional component is displayed on the playback interface of the first video, the method further includes any of the following: In one approach, if another trigger operation on the playback interface of the first video is detected, the screen clearing mode is restored. That is, by using the same trigger operation, the playback interface can be triggered to return from the component display state to the screen clearing mode. This approach ensures strong consistency in operation and has a low learning curve.
[0050] Alternatively, if no trigger operation on any functional component is detected within a preset time period, the screen clearing mode is restored. Of course, the screen clearing mode can also be automatically restored after no operation, without requiring user intervention. This method uses user inactivity to determine whether a functional component still needs to be displayed, thus providing another way to restore the screen clearing mode.
[0051] It should be noted that the two methods mentioned above can coexist. That is, the terminal can support both methods of restoring the screen clearing mode at the same time, and can restore the screen clearing mode in either case, rather than being limited to one case, so as to improve the flexibility of display.
[0052] Regarding the display of the first video, users can also choose to exit the display of the first video based on their own playback needs. Correspondingly, after exiting the display, an interface for another video can be displayed. That is, the method also includes any of the following situations: In one scenario, to improve playback consistency, users can revert to the previous path. That is, in response to an exit operation, the user exits the playback interface of the first video and, based on the information stream, re-displays the preview interface of the first video. This method of returning to the preview interface of the video is equivalent to a revert to the previous path mode, allowing the user to return to the starting point of the operation from the preview interface, returning to the corresponding position in the information stream, thus ensuring a consistent information stream experience.
[0053] In another scenario, to improve operational efficiency, we can go a step further than simply going back. When users choose to go back, they generally don't want to watch the same video again. The usual approach would be to switch to a preview of the next video in the feed. Therefore, to improve efficiency, in response to the exit action, we can exit the first video's playback interface and, based on the feed, display a preview of the second video, which is the video following the first in the feed. This provides a one-step switching operation, combining the back and switch operations into a single action, thus improving overall efficiency.
[0054] In another scenario, to improve operational efficiency, a further step can be taken beyond simply going back. When a user chooses to go back, they generally don't want to watch the same video again. The usual approach might be to switch to a preview of a video they're interested in within the feed. Therefore, to improve efficiency, in response to the exit operation, the first video's playback interface is exited, and a preview of a third video is displayed based on the feed. This third video is a video in the feed whose content relevance to the first video meets certain content criteria. Content relevance refers to the degree of connection between the content of the videos, and content criteria can include a content relevance exceeding a threshold, etc., which are not limited in this embodiment. This provides a one-step switching operation, aggregating the back and switching operations into a single operation, and using further content relevance for navigation, eliminating the need for multiple switching operations to find the third video, thus improving operational efficiency.
[0055] In some embodiments, users may need to switch between videos while playing the first video, i.e., they want to switch from the first video to another video in the playback set. In this case, to maintain an immersive playback experience, in response to the video switching operation on the first video's playback interface, the fourth video is played in landscape mode in full screen. The fourth video remains in clear screen mode, and this fourth video is the video in the playback set corresponding to the video switching operation. By playing the fourth video in clear screen mode, the playback experience during switching scenarios can be greatly improved.
[0056] In some embodiments, users may require playback speed adjustment for the first video. In screen-clearing mode, this can be achieved through a simpler operation without needing to access all functional controls. Specifically, the method further includes: when the playback interface is in screen-clearing mode, responding to a long press on any area of the first video's playback interface, controlling the first video to play at the speed corresponding to the long press operation. The long press operation can correspond to a specific speed, which can be a default speed or a speed configured based on the user's personalized settings. By providing a simplified speed adjustment method in screen-clearing mode, more diverse functions can be offered while improving operational efficiency.
[0057] In some embodiments, users may require playback of the first video at a faster speed. However, when the functional component is displayed, a series of operations on the functional component are typically required to activate the speed-up component. This disclosure provides a method to shorten the operation path, enabling faster playback through simpler operations. Specifically, the method further includes: when the functional component is displayed on the playback interface, responding to a long press on a target area of the first video's playback interface, controlling the first video to play at the speed corresponding to the long press operation. The target area is the area of the playback interface excluding the display area of the functional component. In the two different methods described above, the sensing area for triggering the speed-up operation differs. When the functional component is displayed on the playback interface, the sensing area can be limited to the area outside the functional component area, thereby improving operational efficiency while avoiding accidental operations.
[0058] In some embodiments, the first video can also switch between landscape and portrait playback modes. That is, the method further includes: playing the first video in portrait mode, with a playback mode switching entry on the playback interface of the first video, the switching entry used to switch between landscape and portrait modes; responding to a trigger operation on the switching entry, playing the first video in full-screen landscape mode; and responding to an exit operation, exiting the playback interface of the first video and continuing to play the first video in portrait mode. It is understood that the display forms of the playback mode switching entry and the full-screen mode entry are different, and the interface displayed after being triggered will also be different. In full-screen mode, no functional components may be displayed, while in the display triggered by the switching entry, functional components are displayed on the playback interface. By providing two different playback mode switching entries, a more flexible playback method can be provided.
[0059] In some embodiments, video switching can still be provided without displaying functional components. To achieve a smoother and more intuitive switching process, the method further includes: in response to a video switching operation on the playback interface of the first video, playing a transition animation. The transition animation displays a partial frame from the first frame of the first video and a second frame of the second video. The second video is the video in the playback set to which the first video belongs that corresponds to the video switching operation. The transition animation can be generated based on keyframes of the first and second videos, or it can be generated based on the cover images of the first and second videos; this disclosure does not limit this. The transition animation can change along the trajectory of the video switching operation. Taking the video switching operation as switching to the next video as an example, the transition animation can change as the operation progresses, causing the frame of the previous video to gradually decrease and the frame of the next video to gradually increase, forming a dynamic transition.
[0060] To provide users with a more flexible operating method, the decision to switch videos can be based on the specific operation trajectory during the switching process. Specifically, if the video switching operation trajectory matches preset conditions, the second video will play in full-screen landscape mode with the screen cleared; if the operation trajectory does not match preset conditions, the first video will continue playing in full-screen landscape mode. This approach makes video switching more controllable and easier to operate.
[0061] In some embodiments, to allow users to intuitively understand the specific details of video switching, a prompt can be provided for the switching. Specifically, the method further includes: in response to a first video switching operation on the first video, if the first video is the first video in the playback set to which the first video belongs, displaying a first prompt message; the first video switching operation is used to switch to the previous video in the playback set, and the first prompt message indicates that there is no video in the playback set preceding the first video; in response to a second video switching operation on the first video, if the first video is the last video in the playback set to which the first video belongs, displaying a second prompt message; the second video switching operation is used to switch to the next video in the playback set, and the second prompt message indicates that there is no video in the playback set following the first video. In this way, the position of the current video in the playback set, such as the first or last position, can be directly displayed on the playback interface, thereby guiding the user's operation in a timely manner without displaying functional components, and realizing normal playback switching functionality.
[0062] In some embodiments, to allow users to intuitively understand the specific details of video switching, a prompt can be provided during the switching process. Specifically, the method further includes: in response to a second video switching operation on the first video, if the first video is the last video in the playback set to which the first video belongs and the terminal login object supports resume playback, then the video in the associated playback set is played, and the second video switching operation is used to switch to the next video; in response to a second video switching operation on the first video, if the first video is the last video in the playback set to which the first video belongs and the terminal login object does not support resume playback, then a second prompt message is displayed, and the second video switching operation is used to switch to the next video in the playback set. The second prompt message indicates that there is no video in the playback set following the first video. The terminal login object can set personalized playback control options. For example, if resume playback is supported, the playback can be switched to videos in other playback sets after one playback set has finished playing, reducing the possible switching operations. Alternatively, if the terminal login object is not set to support resume playback, that is, resume playback is not supported by default, then playback can be restricted to the playback set, avoiding infinite continuous playback. The aforementioned associated playback collection can be a playback collection that is related to the current playback collection, such as the original series and its sequel, or different seasons of the same series, etc. This disclosure does not limit this.
[0063] This disclosed embodiment provides a "full-screen viewing" entry point for playback collections supporting landscape playback within the platform's information flow (whether it's homepage recommendations, category lists, or search results). Clicking the entry point rotates the interface to landscape mode, adapting to fill the entire screen, thus transitioning from a portrait-oriented information flow scenario to a landscape full-screen in-stream scenario. This playback method creates a "one-click access" immersive viewing environment, allowing users to quickly transition from information flow browsing to an uninterrupted landscape full-screen theater, maximizing focus on the plot through a clear screen design. Since the switched landscape full-screen display defaults to "clear screen mode," hiding all UI elements (such as the status bar, navigation bar, and operation buttons) and retaining only the video itself, it achieves an ultimate sense of immersion. This "one-click entry point within the information flow -> landscape in-stream clear screen viewing -> touch to access full functionality" interaction mode ensures both immersion and ease of operation and functional completeness, resolving the traditional contradiction between full-screen and interaction.
[0064] Furthermore, in the aforementioned landscape + full-screen + clear screen states, users can tap any area of the screen to bring up a comprehensive operation control layer floating above the video, which is a set of functional components covering the entire video consumption process. When the user taps the screen again or after a short period of inactivity, the control layer can automatically hide and return to the clear screen state.
[0065] The above solution provides a complete internal interaction system (such as likes, favorites, and shares), which helps to increase user interaction rates in an immersive state, enhance user stickiness, and bring self-propagating traffic to the platform through convenient sharing functions.
[0066] In the above embodiments, multiple solutions are also provided to address the interactive functionality issues in full-screen mode. This allows for the seamless integration of a complete interactive operation system that conforms to the consumption habits of playing collection-type videos in full-screen mode, enabling users to complete all core interactions without exiting full-screen mode. This achieves an integrated closed loop of "viewing-interaction," including returning (going back to where you came from), switching episodes, favorites, likes, sharing, pausing, next episode, bullet comments, speed adjustment, and more (functionally corresponding to vertical screen).
[0067] All of the above-mentioned optional technical solutions can be combined in any way to form optional embodiments of this disclosure, and will not be described in detail here.
[0068] The above technical solution will be illustrated below with an example.
[0069] See Figure 3 , Figure 3 The left image shows the preview interface of landscape video 1 in portrait mode. If the user enters the recommended information stream through the recommended tags to preview the video, then... Figure 3 The left-middle image shows the landscape video 1. As can be seen, the preview interface of landscape video 1 includes a top navigation bar and a bottom navigation bar. The top navigation bar can include multiple tabs, each corresponding to a different information stream, such as trending topics, dramas, and recommendations. The preview interface displays a full-screen playback entry 301. Clicking this entry switches landscape video 1 to full-screen playback mode, changing the width of the video to the vertical direction and the height to the horizontal direction, thus filling the screen. Furthermore, no functional components are displayed on the screen. For example, the playback screen can be like this... Figure 3 The image on the right shows any of the display formats. However, if a click on any area of the screen is detected in clear screen mode, or if no trigger operation on any functional component is detected within a preset time, clear screen mode is restored, and the following can be displayed: Figure 4 The interface, that is, the playback interface, displays functional components to provide video playback control.
[0070] And see Figure 5 In response to a video switching operation on the playback interface of landscape video 1, a transition animation is played. For example, if the video switching operation is an upward swipe, a transition animation can be displayed as follows: Figure 5 The transition animation is as follows: as the upward swipe is performed, the screen of Video 1 gradually decreases while the screen of Video 2 gradually increases until the upward swipe meets preset trajectory conditions. For example, if the upward swipe reaches the edge of the screen or the distance from the edge is less than a preset distance, then the screen of Video 2 can be displayed directly, and the screen of Video 1 will no longer be displayed, thus completing the video switch. Conversely, if the upward swipe does not meet the preset trajectory conditions, such as if the upward swipe is more than a preset distance from the edge of the screen and stops, then the screen of Video 1 can be displayed directly, and the screen of Video 2 will no longer be displayed, so that Video 1 can continue to be displayed. In addition, when switching to Video 2, it is still played in landscape mode, in full screen, and the screen clearing mode is maintained to ensure the continuity of playback and the continuity of the immersive experience.
[0071] In some embodiments, to allow users to intuitively understand the specific details of video switching, a prompt can be provided for the switching. Specifically, the method further includes: in response to a first video switching operation on the first video, if the first video is the first video in the playback set to which the first video belongs, displaying a first prompt message; the first video switching operation is used to switch to the previous video in the playback set, and the first prompt message indicates that there is no video in the playback set preceding the first video; in response to a second video switching operation on the first video, if the first video is the last video in the playback set to which the first video belongs, displaying a second prompt message; the second video switching operation is used to switch to the next video in the playback set, and the second prompt message indicates that there is no video in the playback set following the first video. In this way, the position of the current video in the playback set, such as the first or last position, can be directly displayed on the playback interface, thereby guiding the user's operation in a timely manner without displaying functional components, and realizing normal playback switching functionality.
[0072] When switching, if you are switching back and the currently playing video is the first episode, it can be displayed as follows: Figure 6 The error message 601 appears. However, if you switch to play the last video in the collection, that is, if the currently playing video is the last episode, then the following message will appear: Figure 6 The system displays prompt message 602, and if the current playback supports resume playback, prompt message 603 can be displayed to inform the user that the next playback collection will play automatically. Therefore, switching operations can be performed in clear screen mode, and the user can be informed of the specific details of the current switch.
[0073] To facilitate quick playback control, a simple speed adjustment function is also provided. For example, when the playback interface is in clear screen mode, you can trigger the adjustment by tapping the opposite edge or long-pressing any area of the playback interface. Figure 7 The playback speed setting component 701 is displayed. If a speed setting is selected, a success message 702 is displayed. Similarly, when a function component is displayed on the playback interface, a quick speed setting implementation can be shown to improve operational efficiency. A prompt 703 can be displayed to provide operation guidance. In this case, in response to a long press on the target area on the playback interface, the playback speed corresponding to the long press is controlled, and a success message 704 is displayed when playback at the start of the speed setting. It is understood that to avoid accidental operation on other areas, the sensing area displayed on the playback interface differs between when a function component is present and in clear screen mode. Figure 8 As can be seen, the target area is the area in the playback interface excluding the display area of the functional components, while the sensing area in the clear screen mode is the entire interface.
[0074] Figure 9 This is a block diagram illustrating a video playback device according to an exemplary embodiment. See also... Figure 9 The video playback device includes: The preview display module 901 is configured to display a preview interface of the first video in the playback collection based on the information stream. The preview interface displays a full-screen playback entry for the first video. The aspect ratio of the first video is greater than one. The full-screen playback entry is used to play the first video in full screen. The playback module 902 is configured to respond to a trigger operation on the full-screen playback entry, and play the first video in landscape mode based on the video stream of the first video in full screen mode. The first video is in clear screen mode, in which no functional controls are displayed on the playback interface of the first video. The functional components are used to perform operations on the first video. The playback module 902 is also configured to, in response to a video switching operation on the playback interface of the first video, play a target video in the playback set in full screen, wherein the target video is the video corresponding to the video switching operation in the playback set.
[0075] In some embodiments, the first video is in a clear screen mode, in which no function controls are displayed on the playback interface of the first video, and the function components are used to perform operations on the first video.
[0076] In some embodiments, the target video is in the clear screen mode.
[0077] In some embodiments, the apparatus further includes: The component display module is configured to display at least one functional component on the playback interface of the first video in response to a trigger operation on the playback interface of the first video.
[0078] In some embodiments, the playback module is also configured to perform any of the following: If another trigger operation on the playback interface of the first video is detected, the screen clearing mode is restored; If no trigger operation on any functional component is detected within the preset time period, the screen clearing mode is restored.
[0079] In some embodiments, the playback module is further configured to play a transition animation in response to a video switching operation on the playback interface of the first video. The transition animation is used to display a partial frame of the first video and the second video, where the second video is a video in the playback set to which the first video belongs that corresponds to the video switching operation. If the operation trajectory of the video switching operation conforms to a preset trajectory condition, the second video is played in full-screen mode in landscape mode, and the second video is in the clear screen mode. If the operation trajectory of the video switching operation does not conform to the preset trajectory condition, the first video continues to be played in full-screen mode in landscape mode.
[0080] In some embodiments, the device further includes a prompt information display module, which is configured to, in response to a first video switching operation on the first video, display a first prompt information if the first video is the first video in the playback set to which the first video belongs, wherein the first video switching operation is used to switch to the previous video in the playback set, and the first prompt information indicates that there is no video in the playback set preceding the first video; and in response to a second video switching operation on the first video, display a second prompt information if the first video is the last video in the playback set to which the first video belongs, wherein the second video switching operation is used to switch to the next video in the playback set, and the second prompt information indicates that there is no video in the playback set following the first video.
[0081] In some embodiments, the playback module is further configured to, in response to a second video switching operation on the first video, if the first video is the last video in the playback set to which the first video belongs and the terminal login object supports continued playback, play the video in the associated playback set, wherein the second video switching operation is used to switch to the next video in the playback set; and in response to the second video switching operation on the first video, if the first video is the last video in the playback set to which the first video belongs and the terminal login object does not support continued playback, display a second prompt message, wherein the second video switching operation is used to switch to the next video in the playback set, and the second prompt message indicates that there is no video in the playback set that is after the first video.
[0082] In some embodiments, the preview display module is configured to perform any of the following: In response to the trigger operation of the exit component, the playback interface of the first video is exited, and the preview interface of the first video is displayed again based on the information flow; In response to a trigger operation on the exit component in the navigation component, the playback interface of the first video is exited, and a preview interface of the first video is displayed based on the information stream, wherein the first video is the video located after the first video in the information stream; In response to a trigger operation on the exit component in the navigation component, the playback interface of the first video is exited, and a preview interface of the first video is displayed based on the information stream, wherein the first video is the video located after the first video in the information stream; In response to the triggering operation of the exit component in the navigation component, the playback interface of the first video is exited, and based on the information stream, the preview interface of the second video is displayed. The second video is a video in the information stream whose content relevance to the first video meets the content conditions.
[0083] In some embodiments, the playback module is further configured to play a first video in portrait mode, wherein the playback interface of the first video has a playback mode switching entry for switching between landscape and portrait modes; in response to a trigger operation on the switching entry, the first video is played in full-screen landscape mode; and in response to a trigger operation on an exit component on the playback interface of the first video, the playback interface of the first video is exited, and the first video is played again in portrait mode.
[0084] It should be noted that the video playback device provided in the above embodiments is only illustrated by the division of the above functional units during video playback. In practical applications, the above functions can be assigned to different functional units as needed, that is, the internal structure of the electronic device can be divided into different functional units to complete all or part of the functions described above. In addition, the video playback device and the video playback method embodiments provided in the above embodiments belong to the same concept, and the specific implementation process can be found in the method embodiments, which will not be repeated here.
[0085] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.
[0086] When an electronic device is provided as a terminal, Figure 10 This is a block diagram illustrating a terminal 1000 according to an exemplary embodiment. Figure 10A structural block diagram of a terminal 1000 provided in an exemplary embodiment of this disclosure is shown. The terminal 1000 may be a smartphone, tablet computer, MP3 player (Moving Picture Experts Group Audio Layer III), MP4 player (Moving Picture Experts Group Audio Layer IV), laptop computer, or desktop computer. The terminal 1000 may also be referred to as a user device, portable terminal, laptop terminal, desktop terminal, or other names.
[0087] Typically, terminal 1000 includes a processor 1001 and a memory 1002.
[0088] Processor 1001 may include one or more processing cores, such as a quad-core processor, an octa-core processor, etc. Processor 1001 may be implemented using at least one hardware form selected from DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). Processor 1001 may also include a main processor and a coprocessor. The main processor, also known as a CPU (Central Processing Unit), is used to process data in the wake-up state; the coprocessor is a low-power processor used to process data in the standby state. In some embodiments, processor 1001 may integrate a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the screen. In some embodiments, processor 1001 may also include an AI (Artificial Intelligence) processor, which is used to handle computational operations related to machine learning.
[0089] The memory 1002 may include one or more computer-readable storage media, which may be non-transitory. The memory 1002 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices or flash memory devices. In some embodiments, the non-transitory computer-readable storage media in the memory 1002 are used to store at least one computer program, which is executed by the processor 1001 to implement the video playback method provided in the method embodiments of this application.
[0090] In some embodiments, the terminal 1000 may also optionally include a peripheral device interface 1003 and at least one peripheral device. The processor 1001, memory 1002, and peripheral device interface 1003 can be connected via a bus or signal line. Each peripheral device can be connected to the peripheral device interface 1003 via a bus, signal line, or circuit board. Specifically, the peripheral device includes at least one of the following: a radio frequency circuit 1004, a display screen 1005, a camera assembly 1006, an audio circuit 1007, and a power supply 1008.
[0091] Peripheral device interface 1003 can be used to connect at least one I / O (Input / Output) related peripheral device to processor 1001 and memory 1002. In some embodiments, processor 1001, memory 1002 and peripheral device interface 1003 are integrated on the same chip or circuit board; in some other embodiments, any one or two of processor 1001, memory 1002 and peripheral device interface 1003 can be implemented on separate chips or circuit boards, which is not limited in this embodiment.
[0092] The radio frequency (RF) circuit 1004 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The RF circuit 1004 communicates with communication networks and other communication devices via electromagnetic signals. The RF circuit 1004 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals back into electrical signals. In some embodiments, the RF circuit 1004 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, etc. The RF circuit 1004 can communicate with other terminals via at least one wireless communication protocol. This wireless communication protocol includes, but is not limited to: the World Wide Web, metropolitan area networks, intranets, various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and / or WiFi (Wireless Fidelity) networks. In some embodiments, the RF circuit 1004 may also include circuitry related to NFC (Near Field Communication), which is not limited in this application.
[0093] Display screen 1005 is used to display a UI (User Interface). This UI may include graphics, text, icons, videos, and any combination thereof. When display screen 1005 is a touch display screen, it also has the ability to collect touch signals on or above its surface. These touch signals can be input as control signals to processor 1001 for processing. In this case, display screen 1005 can also be used to provide virtual buttons and / or a virtual keyboard, also known as soft buttons and / or a soft keyboard. In some embodiments, there may be one display screen 1005, disposed on the front panel of terminal 1000; in other embodiments, there may be at least two display screens, disposed on different surfaces of terminal 1000 or in a folded design; in still other embodiments, display screen 1005 may be a flexible display screen, disposed on a curved or folded surface of terminal 1000. Furthermore, display screen 1005 may be configured as a non-rectangular, irregular shape, i.e., a non-rectangular screen. The display screen 1005 can be made of materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).
[0094] The camera assembly 1006 is used to acquire images or videos. In some embodiments, the camera assembly 1006 includes a front-facing camera and a rear-facing camera. Typically, the front-facing camera is located on the front panel of the terminal, and the rear-facing camera is located on the back of the terminal. In some embodiments, there are at least two rear-facing cameras, which are any one of a main camera, a depth-sensing camera, a wide-angle camera, and a telephoto camera, to achieve background blurring by fusion of the main camera and the depth-sensing camera, panoramic shooting by fusion of the main camera and the wide-angle camera, VR (Virtual Reality) shooting, or other fusion shooting functions. In some embodiments, the camera assembly 1006 may also include a flash. The flash can be a single-color temperature flash or a dual-color temperature flash. A dual-color temperature flash is a combination of a warm-light flash and a cool-light flash, which can be used for light compensation at different color temperatures.
[0095] The audio circuit 1007 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, converting the sound waves into electrical signals that are input to the processor 1001 for processing, or input to the radio frequency circuit 1004 for voice communication. For stereo sound acquisition or noise reduction purposes, multiple microphones may be used, each positioned at a different location on the terminal 1000. The microphone may also be an array microphone or an omnidirectional microphone. The speaker is used to convert electrical signals from the processor 1001 or the radio frequency circuit 1004 into sound waves. The speaker may be a conventional diaphragm speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can convert electrical signals not only into audible sound waves but also into inaudible sound waves for purposes such as distance measurement. In some embodiments, the audio circuit 1007 may also include a headphone jack.
[0096] The power supply 1008 is used to power the various components in the terminal 1000. The power supply 1008 can be AC power, DC power, a disposable battery, or a rechargeable battery. When the power supply 1008 includes a rechargeable battery, the rechargeable battery can be a wired rechargeable battery or a wireless rechargeable battery. A wired rechargeable battery is a battery that is charged via a wired line, while a wireless rechargeable battery is a battery that is charged via a wireless coil. The rechargeable battery can also be used to support fast charging technology.
[0097] Those skilled in the art will understand that Figure 10 The structure shown does not constitute a limitation on terminal 1000 and may include more or fewer components than shown, or combine certain components, or use different component arrangements.
[0098] In an exemplary embodiment, a computer-readable storage medium including instructions is also provided, such as a memory including instructions, which can be executed by a processor of an electronic device, such as a processor 1001 of a terminal 1000, to complete the video playback method described above. Optionally, the computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.
[0099] A computer program product includes a computer program / instructions that, when executed by a processor, implement the aforementioned video playback method.
[0100] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the following claims.
[0101] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.
Claims
1. A video playback method, characterized in that, The method includes: Based on the information stream, a preview interface of the first video in the playback collection is displayed. The preview interface displays a full-screen playback entry for the first video. The aspect ratio of the first video is greater than 1. The full-screen playback entry is used to play the first video in full screen. In response to the trigger operation of the full-screen playback entry, the first video is played in full-screen mode based on the video stream of the first video in landscape mode; In response to a video switching operation on the playback interface of the first video, the target video in the playback collection is played in full screen, and the target video is the video corresponding to the video switching operation in the playback collection.
2. The video playback method according to claim 1, characterized in that, The first video is in clear screen mode. In clear screen mode, no function controls are displayed on the playback interface of the first video. The function components are used to perform operations on the first video.
3. The video playback method according to claim 2, characterized in that, The method further includes: In response to a trigger operation on the playback interface of the first video, at least one functional component is displayed on the playback interface of the first video.
4. The video playback method according to claim 3, characterized in that, The step of displaying at least one functional component on the playback interface of the first video in response to a trigger operation includes: In response to different trigger operations on the playback interface of the first video, at least one functional component corresponding to the trigger operation is displayed on the playback interface of the first video.
5. The video playback method according to claim 3, characterized in that, After displaying at least one functional component on the playback interface of the first video, the method further includes any one of the following: If another trigger operation on the playback interface of the first video is detected, the screen clearing mode is restored; If no trigger operation on any functional component is detected within the preset time period, the screen clearing mode is restored.
6. The video playback method according to claim 1, characterized in that, The method further includes any of the following: In response to the exit operation, the playback interface of the first video is exited, and the preview interface of the first video is displayed again based on the information stream; In response to the exit operation, the playback interface of the first video is exited, and a preview interface of the second video is displayed based on the information stream. The second video is the video located after the first video in the information stream. In response to the exit operation, the playback interface of the first video is exited, and a preview interface of the third video is displayed based on the information stream. The third video is a video in the information stream whose content relevance to the first video meets the content conditions.
7. The video playback method according to claim 1, characterized in that, The target video remains in the clear screen mode.
8. The video playback method according to claim 1, characterized in that, The method further includes: When the playback interface is in clear screen mode, in response to a long press operation on any area of the playback interface of the first video, the first video is controlled to play at the speed corresponding to the long press operation. When functional components are displayed on the playback interface, in response to a long press operation on a target area of the first video playback interface, the first video is controlled to play at a speed corresponding to the long press operation, wherein the target area is the area of the playback interface other than the display area of the functional component.
9. The video playback method according to claim 1, characterized in that, The method further includes: The first video is played in portrait mode, and the playback interface of the first video has a playback mode switching entry, which is used to switch between landscape mode and portrait mode. In response to the trigger operation of the switching entry, the first video is played in full screen in landscape mode; In response to the exit operation, the playback interface of the first video is exited, and the first video continues to play in portrait mode.
10. A video playback device, characterized in that, include: The preview display module is configured to display the preview interface of the first video in the playback collection based on the information stream. The preview interface displays a full-screen playback entry for the first video. The aspect ratio of the first video is greater than 1. The full-screen playback entry is used to play the first video in full screen. The playback module is configured to respond to a trigger operation on the full-screen playback entry point, and play the first video in landscape mode, based on the video stream of the first video, in full-screen mode. The playback module is further configured to respond to a video switching operation on the playback interface of the first video by playing a target video in the playback set in full screen, wherein the target video is the video corresponding to the video switching operation in the playback set.
11. An electronic device, characterized in that, The electronic device includes: One or more processors; Memory used to store the executable program code of the processor; The processor is configured to execute the program code to implement the video playback method as described in any one of claims 1 to 9.
12. A computer-readable storage medium, characterized in that, When the instructions in the computer-readable storage medium are executed by the processor of the electronic device, the electronic device is able to perform the video playback method as described in any one of claims 1 to 9.
13. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the video playback method according to any one of claims 1 to 9.