WO2022257367A1 - 视频播放方法以及电子设备 - Google Patents
视频播放方法以及电子设备 Download PDFInfo
- Publication number
- WO2022257367A1 WO2022257367A1 PCT/CN2021/133016 CN2021133016W WO2022257367A1 WO 2022257367 A1 WO2022257367 A1 WO 2022257367A1 CN 2021133016 W CN2021133016 W CN 2021133016W WO 2022257367 A1 WO2022257367 A1 WO 2022257367A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- target
- video
- transparency
- target image
- display
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/431—Generation of visual interfaces for content selection or interaction; Content or additional data rendering
- H04N21/4318—Generation of visual interfaces for content selection or interaction; Content or additional data rendering by altering the content in the rendering process, e.g. blanking, blurring or masking an image region
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/439—Processing of audio elementary streams
- H04N21/4396—Processing of audio elementary streams by muting the audio signal
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/485—End-user interface for client configuration
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/81—Monomedia components thereof
- H04N21/8166—Monomedia components thereof involving executable data, e.g. software
- H04N21/8173—End-user applications, e.g. Web browser, game
Definitions
- the present application relates to the field of multimedia technologies, and in particular to a video playing method and electronic equipment.
- the application provides a video playing method and electronic equipment, and the technical solution is as follows:
- a video playback method including:
- the target video is played in the preset area.
- a video playback device comprising:
- the target page display unit is configured to execute displaying the target page, and a preset area of the target page is displayed with a target image;
- the video display unit is configured to switch the target image displayed in the preset area to a target video in response to the display of the target image meeting a preset condition, and the target video and the target image are both related to the target image. associated with the above target page;
- a video playing unit configured to play the target video in the preset area.
- an electronic device in one aspect, and the electronic device includes:
- processors one or more processors
- processor is configured to execute the instructions to implement the following steps:
- the target video is played in the preset area.
- a computer readable storage medium including instructions is provided.
- the instructions in the computer-readable storage medium are executed by the processor of the electronic device, the electronic device can perform the following steps:
- the target video is played in the preset area.
- a computer program product including a computer program, and when the computer program is executed by a processor, the following steps are implemented:
- the target video is played in the preset area.
- FIG. 1 is a schematic diagram of an implementation environment of a video playing method provided by an embodiment of the present application.
- Fig. 2 is a flowchart of a video playing method provided by an embodiment of the present application.
- Fig. 3 is a flowchart of a video playing method provided by an embodiment of the present application.
- Fig. 4 is a schematic diagram of an interface provided by an embodiment of the present application.
- Fig. 5 is a schematic diagram of an interface provided by an embodiment of the present application.
- FIG. 6 is a flow chart of a video playing method provided by an embodiment of the present application.
- Fig. 7 is a block diagram of a video playback device provided by an embodiment of the present application.
- Fig. 8 is a block diagram of a terminal provided by an embodiment of the present application.
- the user information involved in this application may be information authorized by the user or fully authorized by all parties.
- the manufacturer in order to promote itself and the live broadcast at the same time, the manufacturer often produces a promotional poster and a promotional video of the live broadcast, and the promotional poster displays relevant information about itself.
- promotional posters and promotional videos are often set under different pages, for example, the promotional poster is set on the startup page of the live broadcast application, and the promotional video is set on the main page of the live broadcast application.
- the user needs to perform a page switching operation to view the promotional video and promotional poster, resulting in low efficiency of human-computer interaction.
- the electronic device provided in the embodiments of the present application is implemented as a terminal, and the implementation environment composed of the terminal and the server is introduced below.
- FIG. 1 is a schematic diagram of an implementation environment of a video playing method provided by an embodiment of the present application.
- the implementation environment may include a terminal 101 and a server 102 .
- the terminal 101 may be at least one of devices such as a smart phone, a smart watch, a desktop computer, a laptop computer, and a laptop computer.
- An application program supporting video viewing can be installed and run on the terminal 101 , and the user can log in to the application program through the terminal 101 to watch videos through the application program.
- the terminal 101 may generally refer to one of multiple terminals, and this embodiment only uses the terminal 101 as an example for illustration. Those skilled in the art may know that the number of the foregoing terminals may be more or less. For example, the above-mentioned terminals 101 may be only a few, or the above-mentioned terminals 101 may be dozens or hundreds, or more in number. The embodiment of the present application does not limit the number of terminals 101 and the types of devices.
- the terminal 101 can be connected to the server 102 through a wireless network or a wired network.
- the server 102 may be at least one of a server, multiple servers, a cloud computing platform, and a virtualization center.
- the server 102 can be used for transcoding and forwarding the live video stream.
- the number of the above-mentioned servers 102 may be more or less, which is not limited in this embodiment of the present application.
- the server 102 may also include other functional servers in order to provide more comprehensive and diversified services.
- the terminal in the following description process is also the terminal in the above implementation environment
- the terminal 101 and the server are also the server 102 in the above implementation environment.
- the video playback method provided by the embodiment of the present application can be applied in the scene of booking a live broadcast of a target, such as in the scene of booking a live broadcast of a party, or in the scene of booking a live broadcast of a sports event, or in the scene of booking a live broadcast of a press conference Down.
- the manufacturer can make the target video and target image of the live broadcast of the party, wherein the target video is also the promotional video of the live broadcast of the party, and the target image is also the promotional poster of the party.
- the target image is also called the head image or the main image.
- the manufacturer can use the video playback method provided by the embodiment of the present application to simultaneously realize the display of the target image and the target video on the target page, wherein the target page is also the publicity page of the live broadcast of the party, and the page is displayed after the target operation is detected , or automatically displayed after the application is started, which is not limited in this embodiment of the present application.
- the terminal when the terminal displays the target page, it can first display the target image on the target page, and the target image displays the logo of the organizer of the live broadcast of the party, and the user can know the organizer of the party by viewing the target image related information. In order to ensure that the user has sufficient time to view the target image, that is, to ensure that the organizer of the live broadcast of the party is fully exposed, the terminal displays the target image on the target page for a fixed period of time, and then plays the target video. In some embodiments, when the time for the live broadcast of the party is reached, the terminal plays the party on the target page, and the user can also watch the live broadcast of the party through the target page. In this case, also in order to ensure that the organizer of the party live broadcast is fully exposed, the terminal can also keep displaying the target image before playing the target live broadcast.
- the manufacturer can produce the target video and target image of the live sports event, wherein the target video is the promotional video of the live sports event, and the target image is the promotional poster of the live sports event .
- the manufacturer can use the video playback method provided by the embodiment of the present application to simultaneously realize the display of the target image and the target video on the target page, wherein the target page is also the publicity page of the live sports event, and the page will be displayed after the target operation is detected. displayed, or automatically displayed after the application is started, which is not limited in this embodiment of the present application.
- the terminal when the terminal displays the target page, it can first display the target image on the target page, and the target image displays the logo of the organizer of the live broadcast of the sporting event, and the user can learn about the sporting event by viewing the target image Relevant information of the organizer of the live broadcast, in some embodiments, the name of the participants of the sports event and the start time of the sports event are also displayed in the target image. In order to ensure that the user has sufficient time to view the target image, that is, to ensure that the organizer of the live sports event is fully exposed, the terminal displays the target image on the target page for a fixed period of time, and then plays the target video.
- the terminal plays the sports event on the target page, and the user can also watch the live broadcast of the sports event through the target page.
- the terminal can also keep displaying the target image before playing the target live broadcast.
- the manufacturer can make the target video and target image of the live broadcast of the press conference, wherein the target video is the promotional video of the live broadcast of the press conference, and the target image is the promotional poster of the press conference.
- the manufacturer can use the video playback method provided by the embodiment of the present application to simultaneously realize the display of the target image and the target video on the target page, wherein the target page is also the publicity page of the live broadcast of the press conference. After the target operation is detected on this page, displayed, or automatically displayed after the application is started, which is not limited in this embodiment of the present application.
- the terminal when the terminal displays the target page, it can first display the target image on the target page, and the target image displays the logo of the organizer of the live broadcast of the conference, and the user can learn about the conference by viewing the target image Information about the organizer of the live broadcast.
- the terminal displays the target image on the target page for a fixed period of time, and then plays the target video.
- the terminal when the time for the live broadcast of the conference arrives, the terminal plays the conference on the target page, and the user can also watch the live broadcast of the conference through the target page. In this case, also in order to ensure that the organizer of the live broadcast of the press conference is fully exposed, the terminal can also keep displaying the target image before playing the live broadcast of the target.
- the video playback method provided by the embodiment of the present application can be applied not only to the scenario of pre-scheduling live broadcast, but also to the scenario of watching short videos or watching other types of live broadcast.
- multiple target images are displayed on the target page, and the multiple target images are displayed on the target page in a single column or double column.
- the terminal displays different target images on the target page, that is, when there are multiple target images, the terminal can adjust the target image on the target page along with the drag operation.
- the terminal currently displays target image A on the target page, and in response to an upward drag operation, the terminal moves target image A upwards to display target image B on the target page.
- the target image is the cover of the target video.
- the target video is a short video
- the target image is also the cover of the short video.
- the target video is a live video
- the target image is also the cover of the live video.
- the association of the target image and the target video with the target page means that the content of the target image and the content of the target video are associated with the content displayed on the target page. If the target page is a page with a specific theme, then the content of the target image and the content of the target video belong to the specific theme. For example, if the specific theme is a page with a food theme, then the target image is an image of food, and the target video For food videos.
- FIG. 2 is a flow chart of a video playing method provided according to an embodiment of the present application. As shown in FIG. 2 , taking the video playing method applied to an electronic device as an example, the following steps are included.
- the electronic device displays a target page, and a target image is displayed in a preset area of the target page.
- the target page may be a webpage, or an interface of an application program, which is not limited in this embodiment of the present application.
- the electronic device In response to the display of the target image meeting the preset condition, switches the target image displayed in the preset area to the target video, and both the target video and the target image are associated with the target page.
- the target image is an image produced by technicians, and in some embodiments, the target image is a publicity image live broadcasted by the target. Alternatively, the target image is an image corresponding to the target video.
- the electronic device plays the target video in a preset area.
- the above-mentioned 201-203 is a brief description of the video playback method provided by the embodiment of the present application.
- the video playback method provided by the embodiment of the present application will be described in detail below in conjunction with some examples. Taking the application of the video playback method to electronic equipment as an example, see Fig. 3.
- the method comprises the following steps:
- the electronic device displays a target page, and a target image is displayed in a preset area of the target page.
- the electronic device In response to the display of the target image meeting the preset condition, switches the target image displayed in the preset area to the target video, and both the target video and the target image are associated with the target page.
- the electronic device plays the target video in a preset area.
- the electronic device In response to the completion of playing the target video, the electronic device resumes displaying the target image in a preset area.
- step 301 the electronic device displays a target page, and a target image is displayed in a preset area of the target page.
- the target page is a page used to reserve the target live broadcast
- the target image is an image made by technicians
- the target image displays the live broadcast information of the target live broadcast
- the target image is used to promote the target live broadcast.
- the live broadcast information includes at least one of the following: the live broadcast time of the target live broadcast, the name of the target live broadcast, the name of the organizer of the target live broadcast, and the live broadcast profile of the target live broadcast.
- the live broadcast information includes the live broadcast time of the target live broadcast
- the live broadcast time of the target live broadcast is also displayed in the target image, and the user can determine the live broadcast time of the target live broadcast by viewing the target image;
- the live broadcast information includes the name of the target live broadcast
- the name of the target live broadcast will be displayed in the target image, and the user can determine the name of the target live broadcast by viewing the target image;
- the live broadcast information includes the name of the organizer of the target live broadcast, the target live broadcast will also be displayed in the target image
- the name of the organizer of the target live broadcast the user can know the organizer of the target live broadcast by viewing the target image, and the target live broadcast organizer can also gain exposure through the target image.
- the live broadcast introduction of the target live broadcast is also displayed in the target image, and the user can quickly understand the live broadcast content of the target live broadcast by viewing the live broadcast introduction of the target live broadcast, which is more efficient.
- the live broadcast information can include the participants of the target live broadcast, such as the target The live anchor information and venue information, etc., are not limited in this embodiment of the present application.
- the preset area is an area set by the technician according to the actual situation, for example, the preset area is located at the center of the target page, or the preset area is located at the edge of the target page.
- the target page is the display page of the short video or live broadcast
- the target image is the cover of the short video or live broadcast.
- there are multiple preset areas on the target page and the multiple preset areas are used to display multiple target images.
- multiple areas are distributed in the target page in the form of double columns, and one target image is displayed in a preset area, and multiple target images are also distributed in the target page in the form of double columns, so Users can view richer information on the target page.
- the electronic device can implement the foregoing step 301 through the following implementation manners.
- the electronic device in response to a click operation on the live promotion page, displays a target page, and a target image is displayed in a preset area of the target page.
- the live broadcast publicity page carries a hyperlink, and the hyperlink points to a target page.
- the live broadcast promotional page can be displayed on a web page, or displayed on an application interface, such as displayed on an application startup interface, where displaying on the application startup interface includes any of the following methods
- the electronic device starts the application program, and displays the start interface during the process of loading background resources of the application program, and the live broadcast promotion page is displayed on the start interface.
- the electronic device In response to the click operation on the live broadcast promotional page, the electronic device displays the target page, or the electronic device starts the application, and after the background resources of the application are loaded, a startup interface is displayed, and the startup interface is the home page of the application.
- the target page is displayed on the startup interface.
- the electronic device In response to a click operation on the live broadcast promotion page, the electronic device displays the target page.
- the user can control the electronic device to display the target page by directly clicking on the live promotion page, and can quickly view the target image through the target page, and the efficiency of human-computer interaction is high.
- a live broadcast reservation control is displayed on the target page, and the live broadcast reservation control is used to reserve the target live broadcast, and the user can reserve the target live broadcast by clicking the live broadcast reservation control.
- the electronic device displays a target page 401 on which a live broadcast reservation control 402 is displayed. That is, in response to the click operation on the live broadcast reservation control, the electronic device obtains the reservation information of the target live broadcast, the reservation information includes the live broadcast time of the target live broadcast and the name of the target live broadcast, and the electronic device stores the reservation information of the target live broadcast.
- the electronic device In response to the time reaching the live broadcast time of the target live broadcast, or a certain point in time before the time reaches the live broadcast time of the target live broadcast, the electronic device displays the reservation information, and the user can learn about the relevant information of the target live broadcast by viewing the reservation information, and click on the target live broadcast. Go to the live broadcast room of the target live broadcast before the start time of the live broadcast to avoid missing the target live broadcast.
- the electronic device creates a target event in the operating system.
- the target event is an event that reminds the user to watch the target live broadcast.
- the trigger time of the target event is the live broadcast time of the target live broadcast, or is before the live broadcast time of the target live broadcast. some point in time.
- the electronic device In response to the time reaching the trigger time of the target event, the electronic device triggers the target event and displays reservation information of the target live broadcast.
- the electronic device can directly obtain the reservation information of the target live broadcast after detecting the click operation on the live broadcast reservation control, and automatically remind the user to watch the target live broadcast before the start of the target live broadcast, which improves the efficiency of human-computer interaction .
- the reservation information of the target live broadcast carries the address of the live broadcast room of the target live broadcast, and in response to the time reaching the live broadcast time of the target live broadcast, or a certain point in time before the time reaches the live broadcast time of the target live broadcast, the electronic device displays the address of the live broadcast room of the target live broadcast. Appointment information. In response to a click operation on the address of the live broadcast room of the target, the electronic device performs a jump based on the address of the live broadcast room, and displays the live room of the target live broadcast, and the user can watch the live broadcast of the target in the live broadcast room, wherein the live room of the target live broadcast is displayed That is, the live broadcast page corresponding to the live broadcast room of the target live broadcast is displayed.
- the electronic device can display the address of the live broadcast room of the target live broadcast, and the user can directly enter the live broadcast room of the target live broadcast by clicking on the address of the live broadcast room of the target live broadcast. There is no need to manually search for the address of the live broadcast room of the target live broadcast. high.
- the reservation information of the target live broadcast carries the address of the live broadcast room of the target live broadcast
- the electronic device can display the reservation information of the target live broadcast in the form of a pop-up window.
- the electronic device displays a reservation pop-up window in which the reservation information is displayed.
- the electronic device jumps based on the address of the live broadcast room of the target live broadcast, and displays the live broadcast room of the target live broadcast, and the user can watch the live broadcast of the target in the live broadcast room.
- the electronic device can display the reservation information of the target live broadcast in the form of a pop-up window, which is more eye-catching, and the user can view the reservation information of the target live broadcast more clearly.
- the user can reserve the target live broadcast through any of the above methods, which is not limited in this embodiment of the present application.
- the electronic device in response to a click operation on the live sharing icon displayed in the social application program, displays a target page, wherein the live sharing icon carries a link of the target page.
- the live sharing icon is shared between users. For example, user A sends it to user B through a social application program. In response to detecting that user B clicks on the live sharing icon, the electronic device shares The link carried by the icon shows the target page.
- an image sharing control is displayed on the target image, and in response to a trigger operation on the image sharing control, the electronic device displays an image sharing page, and the image sharing page is used to share the target image, wherein the image sharing control
- the trigger operation refers to the click operation on the image sharing control.
- the click operation includes the click operation of the finger on the touch screen, and also includes the click operation of the image sharing control through an external device. This embodiment of the application does not limit this.
- the triggering operations of other types of controls described above belong to the same inventive concept as the triggering operations of the image sharing controls, and will not be described in detail hereafter. For example, referring to FIG. 4 , a target image 403 is displayed on the target page 401 , and an image sharing control 4031 is displayed on the target image 403 .
- the electronic device displays an image sharing page, and multiple user avatars are displayed on the image sharing page.
- the electronic device sends the target image to an account corresponding to the target user's avatar.
- multiple application program icons are displayed on the image sharing page, and in response to a click operation on a target application program icon among the multiple application program icons, the electronic device displays a sharing target selection page, and the sharing target selection page It is a sharing target selection page of the target application corresponding to the target application icon, and multiple user avatars of the target application are displayed on the sharing target selection page.
- the electronic device sends the target image to an account corresponding to the target user's avatar.
- step 301 the electronic device can implement step 301 through the following implementation manners.
- the electronic device displays a target page, and the target page includes multiple preset areas, and a target image is displayed in each preset area.
- the preset area is the area set by technicians according to the actual situation.
- the setting of the preset area is also referred to as typesetting.
- the target page is the display page of the short video
- the target image is the cover of the corresponding short video.
- the target page is the display page of the live broadcast
- the target image is the cover of the corresponding live broadcast.
- step 302 in response to the display of the target image meeting the preset condition, the electronic device switches the target image displayed in the preset area to the target video, and both the target video and the target image are associated with the target page.
- associating the target video and the target image with the target page means that the content of the target image and the content of the target video are associated with the content displayed on the target page.
- the target page is a page for booking a target live broadcast
- the target image displays relevant information about the target live broadcast
- the target video is a preview video corresponding to the target live broadcast, that is, the target video is a promotional video of the target live broadcast.
- the target video is a preview video corresponding to the target live broadcast, which means that the target video is used to introduce the content of the target live broadcast.
- the target video is a video produced by the organizer of the target live broadcast.
- the target video is also the short video.
- the target video is also a live video.
- the displaying of the target image meeting the preset condition includes: the display duration of the target image reaches a reference duration; or receiving a trigger operation on the target image before the display duration of the target image reaches the reference duration.
- the reference duration is set by a technician according to actual needs, for example, it is set to 3s or 5s, which is not limited in this embodiment of the present application.
- the electronic device in response to the display duration of the target image reaching a reference duration, plays the target video in a preset area.
- the electronic device in response to the display duration of the target image reaching the reference duration, switches the target image displayed in the preset area to the target video.
- the electronic device can directly play the target video on the display area of the target image, and the playing of the target video will not occupy other positions of the target page, thereby improving the screen effect.
- the playback of the target video will ensure that the target image can be displayed on the target page for a certain period of time after the display duration of the target image reaches the reference duration, so that the target image can be fully exposed.
- the electronic device displays the target video in a preset area with a first transparency, where displaying the target video with the first transparency refers to displaying the first transparency of the target video with the first transparency. one frame.
- the electronic device controls the target video to change from the first transparency to the second transparency, and the first transparency is lower than the second transparency.
- CSS3 CSS3
- CSS3 CSS3 (Cascading Style Sheets Level 3, cascading style sheet level 3) technology
- the range of transparency is 0-1, when the transparency is 0, it means completely transparent; when the transparency is 1, it means completely opaque.
- the first transparency corresponds to complete transparency
- the second transparency corresponds to complete opacity. That is to say, when the electronic device displays the target video with the first transparency, since the first transparency is completely transparent, the user cannot see the target video. The target video can be seen, and the target image can be seen; when the electronic device controls the target video to change from the first transparency to the second transparency, since the second transparency is completely opaque, the user can see the target video. If the display position of the video is the same as the target image, the electronic device can display the target video overlaid on the target image.
- the target video is stored on the server, and in response to the display duration of the target image reaching a reference duration, the electronic device sends a video acquisition request to the server, and the video acquisition request carries an identifier of the target video.
- the server acquires the identifier of the target video from the video acquisition request.
- the server acquires the target video from a correspondingly maintained video database, and sends the target video to the electronic device.
- the electronic device receives the target video.
- the electronic device sends a video acquisition request to the server, and the video acquisition request carries an identifier of the target video.
- the server In response to receiving the video acquisition request, acquires the identifier of the target video from the video acquisition request. Based on the identifier of the target video, the server acquires the target video from a correspondingly maintained video database, and sends the target video to the electronic device. The electronic device receives the target video, which can ensure that the target video stores the target video in advance, and calls it in time when the display duration of the target image reaches the reference duration.
- a change time can also be combined, that is, the electronic device controls the target video within a preset time interval, and controls the target video Change from the first transparency to the second transparency, wherein the preset time interval is set by technicians according to actual needs, such as 0.5S, 1S or 1.5S, etc., which is not limited in this embodiment of the present application.
- this way of displaying the target video is also called fade-in (fadeIn), and the code for fade-in is as follows:
- keyframes are also key frames, such as the first frame of the target video, opacity is transparency, animate is animation, and in some embodiments, animate is fadeIn (fade in).
- the electronic device in response to the display duration of the target image reaching the reference duration, displays the playback window on the target page.
- the electronic device plays the target video in the play window, wherein the play instruction is automatically triggered after the play window is displayed, or is triggered by the user's play operation on the target video, and the user's action on the target video
- the playback operation refers to the user's click operation on the video playback control in the playback window, or the user's click operation on the target button on the electronic device, and the target button is a button for controlling the playback of the target video.
- the play window is a play window of a player embedded in the target page.
- the electronic device when the display duration of the target image reaches the reference duration, the electronic device can display a playback window on the target page, and the user can control the playback of the target video by himself, thereby improving user autonomy.
- a video sharing control is displayed on the target video, and in response to a trigger operation on the video sharing control, the electronic device displays a video sharing page, and the video sharing page is used to share the target video.
- the target video is shared with the target user selected on the video sharing page. For example, referring to FIG. 5 , the electronic device plays a target video 502 on a target page 501 , and a video sharing control 5021 is displayed on the target video 502 .
- the electronic device displays a video sharing page, and multiple user avatars are displayed on the video sharing page.
- the electronic device sends the target video to an account corresponding to the target user's avatar.
- multiple application program icons are displayed on the video sharing page, and in response to a click operation on a target application program icon among the multiple application program icons, the electronic device displays a sharing target selection page, and the sharing target selection page It is a sharing target selection page of the target application corresponding to the target application icon, and multiple user avatars of the target application are displayed on the sharing target selection page.
- the electronic device sends the target video to an account corresponding to the target user's avatar.
- step 303 For the relevant description of the target video, refer to the description of step 303 below.
- the user wants to directly reserve the target video, it can also be realized by clicking the playback control displayed on the target image, and the efficiency of human-computer interaction is high.
- the target page 401 also includes a reward display area 405, which displays the rewards that can be obtained by participating in the activity. The rewards are automatically triggered when the user meets certain conditions, or are triggered uniformly at the target time.
- the reward display area 405 also displays the corresponding acquisition conditions for each reward, and the user can determine whether he can obtain the reward by checking the acquisition conditions, or the user can execute the corresponding instruction by checking the acquisition conditions to achieve Corresponding conditions to get rewards.
- the target page 401 also includes a voting area 406 in which the avatars of the anchors to be voted are displayed, as well as the name, profile and current number of votes of each anchor.
- a voting control is displayed behind the avatar of each anchor, and the user can vote for the corresponding anchor by clicking on the voting control.
- the organizer of the target live broadcast will set rules, and the N anchors with the highest number of votes can be included in the target live broadcast to attract users to vote for the anchor, where N is a positive integer.
- a focus control is displayed behind the anchor's avatar, and the focus control is used to follow the anchor.
- the target page 401 also includes a votes display area 407, in which are displayed the user's number of votes 4071 and a votes increase control 4072.
- the electronic device displays a votes increase page. There are multiple tasks to increase the number of votes displayed on the increase page, and the user can obtain the number of votes available by completing the tasks to increase the number of votes.
- step 303 the electronic device plays the target video in a preset area.
- each frame image of the target video is played in a preset area, and the playback volume of the target video is adjusted to zero.
- a mute control is displayed on the target video, and in response to a trigger operation on the mute control, the electronic device adjusts the playback volume of the target video to zero.
- the electronic device in response to triggering the mute control again, restores the playback volume of the target video.
- the electronic device can also perform the following step 304.
- step 304 in response to the completion of playing the target video, the electronic device resumes displaying the target image in the preset area.
- the electronic device in response to the completion of playing the target video, controls the target video to change from the second transparency to the first transparency, and the first transparency is lower than the second transparency.
- the electronic device resumes displaying the target image.
- the first transparency corresponds to full transparency and the second transparency corresponds to full opacity.
- the electronic device can first control the transparency of the target video to change, and then resume the display of the target image, that is, the target video can be canceled in a fade-out manner. After the video is canceled, the display of the target image is resumed without manual operation by the user, and the efficiency of human-computer interaction is high.
- a transition time can also be limited, that is, the electronic device controls the target video within a preset time interval, and the control target video changes from the second transparency to the first transparency.
- the second transparency changes to the first transparency, wherein the preset time interval is set by technicians according to actual needs, such as 0.5S, 1S or 1.5S, etc., which is not limited in this embodiment of the present application.
- this way of displaying the target video is also called fade-out (fadeOut), and the code for fade-out is as follows:
- a playback control is displayed on the target image, and in response to a trigger operation on the playback control, the electronic device replays the target video on the target page.
- the display of the target image and the playback of the target video can be realized at the same position on the target page, and the user can view the target image associated with the target page on the target page, or watch The target video does not need to switch pages, which improves the efficiency of human-computer interaction.
- the display of the target image will be kept until the display of the target image meets the preset condition, so as to ensure the exposure effect of the target image.
- the embodiment of the present application also provides another video playback method, taking the application of the video playback method to electronic equipment as an example, see Figure 6, the method includes:
- the electronic device displays a target pop-up window on the target page, and the target pop-up window is used to receive virtual resources.
- the display method of the target page and the above step 301 belong to the same inventive concept, and the implementation process refers to the relevant description of the above step 301, and will not be described again.
- the virtual resource is a carrier with economic value or a combined carrier, such as one or more of electronic red envelopes, coupons, membership cards, and gift packages, which is not limited in this embodiment of the present application.
- the target pop-up window is also called a red envelope pop-up window.
- the electronic device can execute both the following step 602 and the following step 603, which is not limited in this embodiment of the present application.
- the electronic device switches the target image displayed in the preset area to the target video.
- the electronic device when the target pop-up window is closed, in response to the display of the target image meeting the preset condition, switches the target image displayed in the preset area to the target video after a target duration.
- the target duration is set by technicians according to actual conditions, such as 1s, 2s, or 3s, which is not limited in this embodiment of the present application.
- the electronic device will not play the target video immediately, but will play the target video after the target duration to ensure that the user has sufficient time Check the target image to ensure the exposure effect of the target image.
- the method for closing the target pop-up window includes any of the following: the display duration of the target pop-up window reaches a duration threshold, wherein the duration threshold is set by the technician according to the actual situation, such as 5 seconds or 10 seconds etc.; detect the click operation on the close control on the target pop-up window; detect the click operation on the resource claim control displayed on the target pop-up window.
- a resource claim control is displayed on the target pop-up window, and in response to a trigger operation on the resource claim control, the electronic device displays a resource claim page in the target pop-up window, and the resource claim page displays the virtual account received by the account.
- the type and quantity of resources A close control is displayed in the target pop-up window, and in response to a trigger operation on the close control, the electronic device cancels the display of the target pop-up window, and canceling the display means closing the target pop-up window.
- the electronic device switches the target image displayed in the preset area to the target video after a target duration.
- the target pop-up window can also be closed by closing the control, and the efficiency of human-computer interaction is high.
- a close control is displayed in the target pop-up window, and in response to a trigger operation on the close control, the electronic device cancels the display of the target pop-up window, and canceling the display means closing the target pop-up window.
- the electronic device switches the target image displayed in the preset area to the target video after a target duration.
- the electronic device in response to the display time of the target pop-up window reaching a reference duration, cancels displaying the target pop-up window, and canceling display means closing the target pop-up window.
- the electronic device switches the target image displayed in the preset area to the target video after a target duration.
- the target pop-up window can be automatically closed after being displayed for a period of time without manual operation by the user, and the efficiency of human-computer interaction is high.
- the electronic device In response to the display of the target image meeting the preset condition, the electronic device does not switch the target image displayed in the preset area to the target video.
- the electronic device When the electronic device displays the target pop-up window on the target page, even if the display of the target image meets the preset conditions, the electronic device will not display the target video on the target page, because the target pop-up window will attract the user's attention , even if the target video is played, the user will not pay attention to the content of the target video.
- the electronic device plays the target video in a preset area.
- the method for the electronic device to play the target video after the target duration belongs to the same inventive concept as the above step 303.
- the method for the electronic device to play the target video after the target duration belongs to the same inventive concept as the above step 303.
- the implementation process refer to the relevant description of the above step 303, which will not be repeated here.
- the display of the target image and the playback of the target video can be realized at the same position on the target page, and the user can view the live broadcast information of the target live broadcast on the target page, and can also watch the target video without page switching operation, improving the efficiency of human-computer interaction.
- the target video will not be played during the display of the target pop-up window.
- the target pop-up window is canceled, the target video will not be played directly, but the target image will be kept displayed before the target video is played to ensure the exposure effect of the target image.
- Fig. 7 is a block diagram of a video playback device provided according to an embodiment of the present application.
- the device includes: a target page display unit 701 , a video display unit 702 and a video playback unit 703 .
- the target page display unit 701 is configured to display a target page, and a target image is displayed in a preset area of the target page.
- the video display unit 702 is configured to switch the target image displayed in the preset area to the target video in response to the display of the target image meeting the preset condition, and the target video and the target image are both associated with the target page.
- the video playing unit 703 is configured to play the target video in a preset area.
- the display of the target image meeting the preset conditions includes:
- the display duration of the target image reaches the reference duration
- a trigger operation on the target image is received.
- a playback control is displayed on the target image, and before the display duration of the target image reaches a reference duration, receiving a trigger operation on the target image includes:
- the device also includes:
- the transparency adjustment unit is configured to display the target video with the first transparency in the preset area.
- the video playing unit 703 is further configured to control the change of the target video from the first transparency to the second transparency, where the first transparency is lower than the second transparency.
- the video display unit 702 is further configured to resume displaying the target image in the preset area in response to the completion of the target video.
- the device also includes:
- the transparency adjustment unit is configured to control the change of the target video from the second transparency to the first transparency, and the first transparency is lower than the second transparency.
- the transparency adjustment unit is configured to control the target video to change from the first transparency to the second transparency, or control the target video to change from the second transparency to the first transparency within a preset time interval.
- the target page display unit 701 is configured to display a target pop-up window on the target page, and the target pop-up window is used to claim virtual resources.
- the video display unit 702 is further configured to switch the target image displayed in the preset area to the target video in response to the display of the target image meeting a preset condition when the target pop-up window is closed.
- the video playing unit 703 is configured to play each frame image of the target video in a preset area, and adjust the playback volume of the target video to zero.
- a mute control is displayed on the target video, and the video playing unit 703 is configured to adjust the playback volume of the target video to zero in response to a trigger operation on the mute control.
- the video playing unit 703 is further configured to restore the playback volume of the target video in response to the trigger operation on the mute control again.
- the display of the target image and the playback of the target video can be realized at the same position on the target page, and the user can view the target image associated with the target page on the target page, or watch The target video does not need to switch pages, which improves the efficiency of human-computer interaction.
- the display of the target image will be kept until the display of the target image meets the preset condition, so as to ensure the exposure effect of the target image.
- an electronic device including:
- memory for storing processor-executable instructions
- processor configured to execute instructions to implement the following steps:
- a target page is displayed, and a target image is displayed in a preset area of the target page.
- the target image displayed in the preset area is switched to the target video, and both the target video and the target image are associated with the target page.
- the display of the target image meeting the preset conditions includes:
- the display duration of the target image reaches the reference duration.
- a trigger operation on the target image is received.
- a playback control is displayed on the target image, and before the display duration of the target image reaches a reference duration, receiving a trigger operation on the target image includes:
- the processor is also configured to execute instructions to implement the following steps:
- the target video is displayed in a preset area with a first transparency.
- Playing the target video in the preset area includes:
- the control target video is changed from the first transparency to the second transparency, and the first transparency is lower than the second transparency.
- the processor is also configured to execute instructions to implement the following steps:
- the processor is also configured to execute instructions to implement the following steps:
- the control target video is changed from the second transparency to the first transparency, and the first transparency is lower than the second transparency.
- control target video is changed from the first transparency to the second transparency or the processor is also configured to execute instructions to implement the following steps:
- control target video changes from the first transparency to the second transparency, or the control target video changes from the second transparency to the first transparency.
- the processor is also configured to execute instructions to implement the following steps:
- a target pop-up window is displayed on the target page, and the target pop-up window is used to claim virtual resources.
- the processor is also configured to execute instructions to implement the following steps:
- the target pop-up window is closed, in response to the display of the target image meeting the preset condition, the target image displayed in the preset area is switched to the target video.
- the processor is also configured to execute instructions to implement the following steps:
- a mute control is displayed on the target video, and the processor is further configured to execute instructions to implement the following steps:
- the processor is also configured to execute instructions to implement the following steps:
- the electronic device can be implemented as a terminal, and the structure of the terminal is described below:
- FIG. 8 is a block diagram of a terminal provided according to an embodiment of the present application, and the terminal 800 may be a terminal used by a user.
- the terminal 800 may be at least one of devices such as a smart phone, a smart watch, a desktop computer, a laptop computer, and a laptop computer.
- the terminal 800 may also be called user equipment, portable terminal, laptop terminal, desktop terminal and other names.
- the terminal 800 includes: a processor 801 and a memory 802 .
- the processor 801 may be integrated with a GPU (Graphics Processing Unit, image processor), and the GPU is used for rendering and drawing the content that needs to be displayed on the display screen.
- GPU Graphics Processing Unit
- Memory 802 may include one or more storage media, which may be non-transitory.
- the memory 802 may also include high-speed random access memory, and non-volatile memory, such as one or more magnetic disk storage devices and flash memory storage devices.
- the terminal 800 may optionally further include: a peripheral device interface 803 and at least one peripheral device.
- the processor 801, the memory 802, and the peripheral device interface 803 may be connected through buses or signal lines.
- Each peripheral device can be connected to the peripheral device interface 803 through a bus, a signal line or a circuit board.
- the peripheral device includes: at least one of a radio frequency circuit 804 , a display screen 805 , a camera component 806 , an audio circuit 807 , a positioning component 808 and a power supply 809 .
- the peripheral device interface 803 may be used to connect at least one peripheral device related to I/O (Input/Output, input/output) to the processor 801 and the memory 802 .
- I/O Input/Output, input/output
- the radio frequency circuit 804 is used to receive and transmit RF (Radio Frequency, radio frequency) signals, also called electromagnetic signals.
- the radio frequency circuit 804 communicates with the communication network and other communication devices through electromagnetic signals.
- the display screen 805 is used to display a UI (User Interface, user interface).
- the UI may include images, text, icons, video, and any combination thereof.
- the display screen 805 also has the ability to collect touch signals on or above the surface of the display screen 805 .
- the touch signal can be input to the processor 801 as a control signal for processing.
- the display screen 805 can also be used to provide virtual buttons and/or virtual keyboards, also called soft buttons and/or soft keyboards.
- the camera assembly 806 is used to capture images or videos.
- the camera component 806 includes a front camera and a rear camera.
- the front camera is set on the front panel of the terminal, and the rear camera is set on the back of the terminal.
- Audio circuitry 807 may include a microphone and speakers.
- the microphone is used to collect the sound waves of the user and the environment, and convert the sound waves into electrical signals and input them to the processor 801 for processing, or input them to the radio frequency circuit 804 to realize voice communication.
- the positioning component 808 is used to locate the current geographic location of the terminal 800 to implement navigation or LBS (Location Based Service, location-based service).
- the power supply 809 is used to supply power to various components in the terminal 800 .
- the power source 809 can be alternating current, direct current, disposable batteries or rechargeable batteries.
- the rechargeable battery can support wired charging or wireless charging.
- the rechargeable battery can also be used to support fast charging technology.
- the terminal 800 further includes one or more sensors 810 .
- the one or more sensors 810 include, but are not limited to: a pressure sensor 811 , a fingerprint sensor 812 and an optical sensor 813 .
- the pressure sensor 811 may be disposed on a side frame of the terminal 800 and/or a lower layer of the display screen 805 .
- the pressure sensor 811 When the pressure sensor 811 is installed on the side frame of the terminal 800 , it can detect the user's grip signal on the terminal 800 , and the processor 801 performs left and right hand recognition or shortcut operation according to the grip signal collected by the pressure sensor 811 .
- the processor 801 controls the operable controls on the UI interface according to the user's pressure operation on the display screen 805.
- the operable controls include at least one of button controls, scroll bar controls, icon controls, and menu controls.
- the fingerprint sensor 812 is used to collect the user's fingerprint, and the processor 801 recognizes the identity of the user according to the fingerprint collected by the fingerprint sensor 812, or the fingerprint sensor 812 recognizes the user's identity according to the collected fingerprint.
- the optical sensor 813 is used to collect ambient light intensity.
- the processor 801 may control the display brightness of the display screen 805 according to the ambient light intensity collected by the optical sensor 813 .
- FIG. 8 does not constitute a limitation on the terminal 800, and may include more or less components than shown in the figure, or combine certain components, or adopt different component arrangements.
- a computer-readable storage medium including instructions, such as a memory including instructions, and the above instructions can be executed by the processor 801 of the terminal 800 to complete the above video playing method.
- the storage medium may be a non-transitory storage medium, for example, the non-transitory storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device and the like.
- a computer program product including a computer program that can be executed by a processor of an electronic device, so as to implement the above video playing method.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Human Computer Interaction (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
一种视频播放方法以及电子设备,属于多媒体技术领域。方法包括:显示目标页面,所述目标页面的预设区域显示有目标图像(201);响应于所述目标图像的显示满足预设条件,将所述预设区域显示的所述目标图像切换为目标视频,所述目标视频和所述目标图像均与所述目标页面相关联(202);在所述预设区域播放所述目标视频(203)。
Description
本申请要求于2021年6月8日提交、申请号为202110638434.4的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
本申请涉及多媒体技术领域,尤其涉及一种视频播放方法以及电子设备。
随着网络技术的发展,越来越多用户会通过观看直播来进行娱乐和放松,对于厂商来说,在一些节日到来时,会为节日准备直播。为了宣传该直播,厂商往往会制作该直播对应的宣传视频,以期望起到吸引用户观看该直播的效果。另外,对于厂商来说,也希望通过该次直播来对自身进行宣传。
发明内容
本申请提供一种视频播放方法以及电子设备,技术方案如下:
一方面,提供一种视频播放方法,包括:
显示目标页面,所述目标页面的预设区域显示有目标图像;
响应于所述目标图像的显示满足预设条件,将所述预设区域显示的所述目标图像切换为目标视频,所述目标视频和所述目标图像均与所述目标页面相关联;
在所述预设区域播放所述目标视频。
一方面,提供一种视频播放装置,包括:
目标页面显示单元,被配置为执行显示目标页面,所述目标页面的预设区域显示有目标图像;
视频显示单元,被配置为执行响应于所述目标图像的显示满足预设条件,将所述预设区域显示的所述目标图像切换为目标视频,所述目标视频和所述目标图像均与所述目标页面相关联;
视频播放单元,被配置为执行在所述预设区域播放所述目标视频。
一方面,提供一种电子设备,该电子设备包括:
一个或多个处理器;
用于存储所述处理器可执行指令的存储器;
其中,所述处理器被配置为执行所述指令,实现以下步骤:
显示目标页面,所述目标页面的预设区域显示有目标图像;
响应于所述目标图像的显示满足预设条件,将所述预设区域显示的所述目标图像切换为目标视频,所述目标视频和所述目标图像均与所述目标页面相关联;
在所述预设区域播放所述目标视频。
一方面,提供一种计算机可读存储介质,该计算机可读存储介质包括指令。当该计算机可读存储介质中的指令由电子设备的处理器执行时,使得电子设备能够执行以下步骤:
显示目标页面,所述目标页面的预设区域显示有目标图像;
响应于所述目标图像的显示满足预设条件,将所述预设区域显示的所述目标图像切换为目标视频,所述目标视频和所述目标图像均与所述目标页面相关联;
在所述预设区域播放所述目标视频。
一方面,提供一种计算机程序产品,包括计算机程序,该计算机程序被处理器执行时实现以下步骤:
显示目标页面,所述目标页面的预设区域显示有目标图像;
响应于所述目标图像的显示满足预设条件,将所述预设区域显示的所述目标图像切换为目标视频,所述目标视频和所述目标图像均与所述目标页面相关联;
在所述预设区域播放所述目标视频。
图1是本申请实施例提供的一种视频播放方法的实施环境示意图。
图2是本申请实施例提供的一种视频播放方法的流程图。
图3是本申请实施例提供的一种视频播放方法的流程图。
图4是本申请实施例提供的一种界面示意图。
图5是本申请实施例提供的一种界面示意图。
图6是本申请实施例提供的一种视频播放方法的流程图。
图7是本申请实施例提供的一种视频播放装置的框图。
图8是本申请实施例提供的一种终端的框图。
本申请所涉及的用户信息可以为经用户授权或者经过各方充分授权的信息。
相关技术中,为了同时对自身和该直播进行宣传,厂商往往会制作该直播的宣传海报和宣传视频,宣传海报中显示有自身的相关信息。在进行宣传的过程中,宣传海报和宣传视频往往会设置在不同的页面下,比如,将宣传海报设置在直播应用的启动页面上,将宣传视频设置在直播应用的主页面中。在这种情况下,用户需要进行页面切换操作才能查看宣传视频和宣传海报,导致人机交互的效率较低。
在一些实施例中,本申请实施例提供的电子设备实现为终端,下面对由终端和服务器构成的实施环境进行介绍。
图1是本申请实施例提供的一种视频播放方法的实施环境示意图,参见图1,该实施环境中可以包括终端101和服务器102。
终端101可以为智能手机、智能手表、台式电脑、手提电脑和膝上型便携计算机等设备中的至少一种。终端101上可以安装并运行有支持观看视频的应用程序,用户可以通过终端101登录该应用程序,通过该应用程序来观看视频。
终端101可以泛指多个终端中的一个,本实施例仅以终端101来举例说明。本领域技术人员可以知晓,上述终端的数量可以更多或更少。比如上述终端101可以仅为几个,或者上述终端101为几十个或几百个,或者更多数量,本申请实施例对终端101的数量和设备类型均不加以限定。终端101可以通过无线网络或有线网络与服务器102相连。
服务器102可以为一台服务器、多台服务器、云计算平台和虚拟化中心中的至少一种。服务器102可以用于对直播视频流进行转码以及对直播视频流进行转送。
在一些实施例中,上述服务器102的数量可以更多或更少,本申请实施例对此不加以 限定。当然,服务器102还可以包括其他功能服务器,以便提供更全面且多样化的服务。
在介绍完本申请实施例提供的应用场景之后,下面将结合上述实施场景,对本申请实施例的技术方案进行介绍,需要说明的是,下述说明过程中的终端也即是上述实施环境中的终端101,服务器也即是上述实施环境中的服务器102。
本申请实施例提供的视频播放方法能够应用在预约目标直播的场景下,比如应用在预约晚会直播的场景下,也能够应用在预约体育赛事直播的场景下,或者应用在预约发布会直播的场景下。
在预约晚会直播的场景下,厂商能够制作该晚会直播的目标视频以及目标图像,其中,目标视频也即是该晚会直播的宣传视频,目标图像也即是该晚会的宣传海报,在一些实施例中,目标图像也被称为头图或者主图。厂商能够采用本申请实施例提供的视频播放方法,在目标页面中同时实现目标图像和目标视频的显示,其中,目标页面也即是该晚会直播的宣传页面,该页面在检测到目标操作后显示,或者在应用启动后自动显示,本申请实施例对此不做限定。在一些实施例中,终端在显示目标页面时,能够先在目标页面中先显示目标图像,目标图像中显示有该晚会直播的组织方的标识,用户能够通过查看目标图像来获知该晚会组织方的相关信息。为了保证用户具有充足的时间对目标图像进行查看,也即是保证该晚会直播的组织方被充分曝光,终端将目标图像在目标页面上显示一段固定的时间,随后再播放目标视频。在一些实施例中,在到达晚会直播时间的情况下,终端在该目标页面上播放该晚会,用户也能够通过目标页面来观看晚会直播。在这种情况下,同样为了保证该晚会直播的组织方被充分曝光,终端也能够在播放目标直播之前,先保持目标图像的显示。
在预约体育赛事直播的场景下,厂商能够制作该体育赛事直播的目标视频以及目标图像,其中,目标视频也即是该体育赛事直播的宣传视频,目标图像也即是该体育赛事直播的宣传海报。厂商能够采用本申请实施例提供的视频播放方法,在目标页面中同时实现目标图像和目标视频的显示,其中,目标页面也即是该体育赛事直播的宣传页面,该页面在检测到目标操作后显示,或者在应用启动后自动显示,本申请实施例对此不做限定。在一些实施例中,终端在显示目标页面时,能够先在目标页面中先显示目标图像,目标图像中显示有该体育赛事直播的组织方的标识,用户能够通过查看目标图像来获知该体育赛事直播的组织方的相关信息,在一些实施例中,目标图像中还显示有体育赛事的参赛人员姓名以及体育赛事的开始时间。为了保证用户具有充足的时间对目标图像进行查看,也即是保证该体育赛事直播的组织方被充分曝光,终端将目标图像在目标页面上显示一段固定的时间,随后再播放目标视频。在一些实施例中,在到达体育赛事直播时间的情况下,终端在该目标页面上播放该体育赛事,用户也能够通过目标页面来观看体育赛事直播。在这种情况下,同样为了保证该体育赛事直播的组织方被充分曝光,终端也能够在播放目标直播之前,先保持目标图像的显示。
在预约发布会直播的场景下,厂商能够制作该发布会直播的目标视频以及目标图像,其中,目标视频也即是该发布会直播的宣传视频,目标图像也即是该发布会的宣传海报。厂商能够采用本申请实施例提供的视频播放方法,在目标页面中同时实现目标图像和目标视频的显示,其中,目标页面也即是该发布会直播的宣传页面,该页面在检测到目标操作后显示,或者在应用启动后自动显示,本申请实施例对此不做限定。在一些实施例中,终端在显示目标页面时,能够先在目标页面中先显示目标图像,目标图像中显示有该发布会直播的组织方的标识,用户能够通过查看目标图像来获知该发布会直播的组织方的相关信息。为了保证用户具有充足的时间对目标图像进行查看,也即是保证该发布会直播的组织方被充分曝光,终端将目标图像在目标页面上显示一段固定的时间,随后再播放目标视频。 在一些实施例中,当到达发布会直播的时间时,终端在该目标页面上播放该发布会,用户也能够通过目标页面来观看发布会直播。在这种情况下,同样为了保证该发布会直播的组织方被充分曝光,终端也能够在播放目标直播之前,先保持目标图像的显示。
另外,本申请实施例提供的视频播放方法除了能够应用在预约直播的场景下,还能够应用在观看短视频或者观看其他类型直播的场景下。
比如,目标页面上显示有多个目标图像,多个目标图像以单列或者双列的形式展示在目标页面上。响应于在目标页面上的拖动操作,终端在目标页面上显示不同的目标图像,也即是,在目标图像的数量为多个的情况下,终端能够随着拖动操作来调整在目标页面上显示的目标图像,比如,终端当前在目标页面上显示目标图像A,响应于向上拖动操作,终端将目标图像A向上移动,在目标页面上显示目标图像B。在这种场景下,目标图像为目标视频的封面,相应地,在目标视频为短视频的情况下,目标图像也就为短视频的封面。在目标视频为直播视频的情况下,目标图像也就为直播视频的封面。目标图像和目标视频与目标页面相关联是指,目标图像的内容和目标视频的内容与目标页面上显示的内容相关联。在目标页面为特定主题的页面的情况下,那么目标图像的内容和目标视频的内容均属于该特定主题,比如该特定主题为美食类主题的页面,那么目标图像为美食类的图像,目标视频为美食类的视频。
介绍完本申请实施例的实施环境和应用场景之后,下面对本申请实施例提供的视频播放方法进行说明。
图2是根据本申请实施例提供的一种视频播放方法的流程图,如图2所示,以视频播放方法应用于电子设备为例,包括以下步骤。
201、电子设备显示目标页面,目标页面的预设区域显示有目标图像。
其中,目标页面可以为网页,也可以为应用程序的一个界面,本申请实施例对此不做限定。
202、响应于目标图像的显示满足预设条件,电子设备将预设区域显示的目标图像切换为目标视频,目标视频和目标图像均与目标页面相关联。
其中,目标图像为技术人员制作的图像,在一些实施例中,目标图像为目标直播的宣传图像。或者,目标图像为目标视频对应的图像。
203、电子设备在预设区域播放目标视频。
上述201-203是本申请实施例提供的视频播放方法的简单说明,下面将结合一些例子,对本申请实施例提供的视频播放方法进行详细说明,以视频播放方法应用于电子设备为例,参见图3,方法包括下述步骤:
301、电子设备显示目标页面,目标页面的预设区域显示有目标图像。
302、响应于目标图像的显示满足预设条件,电子设备将预设区域显示的目标图像切换为目标视频,目标视频和目标图像均与目标页面相关联。
303、电子设备在预设区域播放目标视频。
304、响应于目标视频播放完毕,电子设备在预设区域恢复显示目标图像。
下面将分别对上述四个步骤进行介绍,参见图3,在步骤301,电子设备显示目标页面,目标页面的预设区域显示有目标图像。
其中,在预约直播场景中,目标页面为用于对目标直播进行预约的页面,目标图像为技术人员制作的图像,目标图像中显示有目标直播的直播信息,目标图像用于宣传目标直播。
在一些实施例中,直播信息包括下述至少一项:目标直播的直播时间、目标直播的名称、目标直播的组织方名称以及目标直播的直播简介。在直播信息包括目标直播的直播时间的情况下,目标图像中也就显示有目标直播的直播时间,用户能够通过查看目标图像来 确定目标直播的直播时间;在直播信息包括目标直播的名称的情况下,目标图像中也就显示有目标直播的名称,用户能够通过查看目标图像来确定目标直播的名称;在直播信息包括目标直播的组织方名称的情况下,目标图像中也就显示有目标直播的组织方名称,用户能够通过查看目标图像来得知目标直播的组织方,对于目标直播的组织方来说,也通过目标图像获得曝光。在直播信息包括目标直播的直播简介的情况下,目标图像中也就显示有目标直播的直播简介,用户能够通过查看目标直播的直播简介来快速了解目标直播的直播内容,效率较高。
在一些实施例中,直播信息除了包括上述列举的标直播的直播时间、目标直播的名称、目标直播的组织方名称以及目标直播的直播简介之外,还能够包括目标直播的参与方,比如目标直播的主播信息以及场地信息等,本申请实施例对此不做限定。
预设区域为技术人员根据实际情况设置的区域,比如,该预设区域位于该目标页面的中央,或者,该预设区域位于该目标页面的边缘等。在预约短视频或预约直播的场景下,目标页面为短视频或直播的展示页面,目标图像为短视频或直播的封面。在一些实施例中,目标页面中存在多个预设区域,多个预设区域用于展示多个目标图像。在一些实施例中,多个区域是双列的形式分布在目标页面中,一个预设区域中显示有一个目标图像,多个目标图像也即是按照双列的形式分布在目标页面中,这样用户能够在目标页面中查看到更加丰富的信息。
在视频播放方法的应用场景为预约直播的情况下,电子设备能够通过下述实施方式来实现上述步骤301。
在一些实施例中,响应于对直播宣传页面的点击操作,电子设备显示目标页面,目标页面的预设区域显示有目标图像。其中,直播宣传页面携带有超链接,该超链接指向目标页面。在一些实施例中,直播宣传页面可以显示在网页中,或者显示在应用程序的界面中,比如显示在应用程序的启动界面中,其中,显示在应用程序的启动界面包括下述任一种方式,电子设备启动应用程序,在加载该应用程序的后台资源的过程中,显示该启动界面,该启动界面中显示有该直播宣传页面。响应于对该直播宣传页面的点击操作,电子设备显示该目标页面,或者,电子设备启动应用程序,在应用程序的后台资源加载完毕之后,显示启动界面,该启动界面为该应用程序的首页,该启动界面中显示有该目标页面。响应于对该直播宣传页面的点击操作,电子设备显示该目标页面。
在这种实施方式下,用户直接点击直播宣传页面就能够控制电子设备显示目标页面,通过目标页面也就能够快速查看目标图像,人机交互的效率较高。
为了对本申请实施例提供的视频播放方法进行更加清楚地说明,下面对上述实施例中描述的通过目标页面来预约目标直播的方法进行说明。
在一些实施例中,目标页面上显示有直播预约控件,直播预约控件用于对目标直播进行预约,用户能够通过点击直播预约控件来预约目标直播。参见图4,电子设备显示目标页面401,目标页面401上显示有直播预约控件402。也即是,响应于对直播预约控件的点击操作,电子设备获取目标直播的预约信息,预约信息包括目标直播的直播时间以及目标直播的名称,电子设备存储目标直播的预约信息。响应于时间达到目标直播的直播时间,或者时间达到目标直播的直播时间之前的某个时间点,电子设备显示该预约信息,用户能够通过查看该预约信息来了解目标直播的相关信息,并在目标直播的开始时间之前前往目标直播的直播间,避免错过该目标直播。在一些实施例中,电子设备在操作系统中创建目标事件,该目标事件也即是提醒用户观看目标直播的事件,目标事件的触发时间为目标直播的直播时间,或者为目标直播的直播时间之前的某个时间点。响应于时间到达目标事件的触发时间,电子设备触发目标事件,显示目标直播的预约信息。
在这种实施方式下,电子设备能够在检测到对直播预约控件的点击操作之后,直接获 取目标直播的预约信息,并在目标直播开始之前自动提醒用户观看目标直播,提高了人机交互的效率。
在一些实施例中,目标直播的预约信息中携带有目标直播的直播间地址,响应于时间达到目标直播的直播时间,或者时间达到目标直播的直播时间之前的某个时间点,电子设备显示该预约信息。响应于对目标直播的直播间地址的点击操作,电子设备基于该直播间地址进行跳转,显示目标直播的直播间,用户能够在该直播间中观看目标直播,其中,显示目标直播的直播间也即是显示目标直播的直播间对应的直播页面。
在这种实施方式下,电子设备能够显示目标直播的直播间地址,用户点击该直播间地址就能够直接进入目标直播的直播间,无需手动查找目标直播的直播间地址,人机交互的效率较高。
在一些实施例中,在用户设置允许弹窗显示的情况下,目标直播的预约信息中携带有目标直播的直播间地址,电子设备能够以弹窗的形式来显示目标直播的预约信息。响应于时间达到目标直播的直播时间,或者时间达到目标直播的直播时间之前的某个时间点,电子设备显示预约弹窗,该预约弹窗中显示有该预约信息。响应于对该预约弹窗的点击操作,电子设备基于目标直播的直播间地址进行跳转,显示目标直播的直播间,用户能够在该直播间中观看目标直播。
在这种实施方式下,电子设备能够以弹窗的形式来显示目标直播的预约信息,弹窗的形式更加醒目,用户能够更加清楚地查看目标直播的预约信息。
需要说明的是,用户能够通过上述任一种方式来对目标直播进行预约,本申请实施例对此不做限定。
在一些实施例中,响应于对社交类应用程序中显示的直播分享图标的点击操作,电子设备显示目标页面,其中,直播分享图标携带有目标页面的链接。在一些实施例中,直播分享图标由用户之间进行分享,比如由A用户通过社交类应用程序发送给B用户,响应于检测到B用户对该直播分享图标点击操作,电子设备基于该直播分享图标携带的链接显示目标页面。
在介绍完通过目标页面来预约目标直播的方法之后,下面对目标图像上显示的功能控件进行说明。
在一些实施例中,目标图像上显示有图像分享控件,响应于对图像分享控件的触发操作,电子设备显示图像分享页面,图像分享页面用于对目标图像进行分享,其中,对图像分享控件的触发操作是指,对图像分享控件的点击操作,点击操作包括手指在触控屏幕的点击操作,也包括通过外接设备对图像分享控件的点击操作,本申请实施例对此不做限定,对于下述其他类型控件的触发操作,与对图像分享控件的触发操作属于同一发明构思,之后不再赘述。比如,参见图4,目标页面401上显示有目标图像403,目标图像403上显示有图像分享控件4031。
在这种实施方式下,当用户想要对目标图像进行分享时,只需点击图像分享控件即可,无需对目标图像进行截图或存储之后再进行分享,人机交互的效率较高。
举例来说,响应于对图像分享控件的点击操作,电子设备显示图像分享页面,图像分享页面中显示有多个用户头像。响应于对多个用户头像中的目标用户头像的点击操作,电子设备向目标用户头像对应的账号发送该目标图像。在一些实施例中,图像分享页面中还显示有多个应用程序图标,响应于对多个应用程序图标中的目标应用程序图标的点击操作,电子设备显示分享目标选择页面,该分享目标选择页面为该目标应用程序图标对应的目标应用程序的分享目标选择页面,该分享目标选择页面中显示有目标应用的多个用户头像。响应于对多个用户头像中的目标用户头像的点击操作,电子设备向目标用户头像对应的账号发送该目标图像。
若视频播放方法的应用场景为观看短视频或者观看直播,那么电子设备能够通过下述实施方式来实现步骤301。
在一些实施例中,电子设备显示目标页面,目标页面上包括多个预设区域,每个预设区域中显示有一个目标图像。
其中,预设区域也即是技术人员根据实际情况进行设置的区域,在一些实施例中,预设区域的设置也被称为排版。在观看短视频的场景下,目标页面为短视频的展示页面,目标图像为对应短视频的封面。在观看直播的场景下,目标页面为直播的展示页面,目标图像为对应直播的封面。
当然,在不同应用场景中,各种实施方式可以任意结合,本申请实施例对此不做限定。
返回参见图3,在步骤302,响应于目标图像的显示满足预设条件,电子设备将预设区域显示的目标图像切换为目标视频,目标视频和目标图像均与目标页面相关联。
在一些实施例中,目标视频和目标图像与目标页面相关联是指,目标图像的内容和目标视频的内容与目标页面上显示的内容相关联。在目标页面为用于预约目标直播的页面的情况下,目标图像中显示有目标直播的相关信息,目标视频为目标直播对应的预告视频,也即是目标视频为目标直播的宣传视频。目标视频为目标直播对应的预告视频是指,目标视频为用于介绍目标直播的内容,在一些实施例中,目标视频为目标直播的组织方制作的视频。在本申请实施例提供的视频播放方法的应用场景为观看短视频的情况下,目标视频也即是短视频。在本申请实施例提供的视频播放方法的应用场景为观看直播的情况下,目标视频也即是直播视频。
在一些实施例中,目标图像的显示满足预设条件包括:目标图像的显示时长达到参考时长;或在目标图像的显示时长达到参考时长前,接收到对目标图像的触发操作。
其中,参考时长由技术人员根据实际需要进行设置,比如设置为3s或者5s等,本申请实施例对此不做限定。
在一些实施例中,响应于目标图像的显示时长达到参考时长,电子设备在预设区域播放目标视频。
在一些实施例中,响应于目标图像的显示时长达到参考时长,电子设备将预设区域显示的目标图像切换为目标视频。
在这种实施方式下,电子设备能够在目标图像的显示区域上直接播放目标视频,目标视频的播放不会占用目标页面的其他位置,从而提高了屏效。同时,目标视频的播放会在目标图像的显示时长达到参考时长之后,保证目标图像能够在目标页面上显示一定的时间,使得目标图像能够获得充分的曝光。
举例来说,响应于目标图像的显示时长达到参考时长,电子设备在预设区域以第一透明度显示目标视频,其中,以第一透明度显示目标视频是指,以第一透明度显示目标视频的第一帧。电子设备控制目标视频由第一透明度变化为第二透明度,第一透明度低于第二透明度,其中,透明度越高,视频的清晰度也就越高;透明度越低,视频的清晰度也就越低,比如,在CSS3(Cascading Style Sheets Level 3,层叠样式表3级)技术中,透明度的范围为0-1,当透明度为0时,表示完全透明;当透明度为1时,表示完全不透明。在一些实施例中,第一透明度对应于完全透明,第二透明度对应于完全不透明,也就是说,电子设备以第一透明度显示目标视频时,由于是第一透明度是完全透明,那么用户看不到该目标视频,能够看到目标图像;在电子设备控制目标视频由第一透明度变化为第二透明度的情况下,由于第二透明度是完全不透明,那么用户能够看到该目标视频,在该目标视频的显示位置和该目标图像相同的情况下,电子设备能够将该目标视频覆盖在该目标图像上显示。
在一些实施例中,目标视频存储在服务器上,响应于目标图像的显示时长达到参考时 长,电子设备向服务器发送视频获取请求,视频获取请求中携带有目标视频的标识。响应于接收到视频获取请求,服务器从视频获取请求中获取目标视频的标识。服务器基于目标视频的标识,从对应维护的视频数据库中获取目标视频,将目标视频发送给电子设备。电子设备接收目标视频。或者,在显示该目标页面时,电子设备向服务器发送视频获取请求,视频获取请求中携带有目标视频的标识。响应于接收到视频获取请求,服务器从视频获取请求中获取目标视频的标识。服务器基于目标视频的标识,从对应维护的视频数据库中获取目标视频,将目标视频发送给电子设备。电子设备接收目标视频,这样能够保证目标视频对目标视频进行提前存储,在目标图像的显示时长达到参考时长的情况下及时调用。
在一些实施例中,电子设备控制目标视频由第一透明度变化为第二透明度的过程中,还可以结合一个变换时间,也即是,电子设备控制目标视频在预设时间间隔内,控制目标视频由第一透明度变化为第二透明度,其中,预设时间间隔由技术人员根据实际需要进行设置,比如设置为0.5S、1S或者1.5S等,本申请实施例对此不做限定。在一些实施例中,这种显示目标视频的方式也被称为淡入(fadeIn),淡入的代码如下:
其中,keyframes也即是关键帧,比如为目标视频的第一帧,opacity为透明度,animate为动画,在一些实施例中,animate为fadeIn(淡入)。
在一些实施例中,响应于目标图像的显示时长达到参考时长,电子设备在目标页面上显示播放窗口。响应于对目标视频的播放指令,电子设备在该播放窗口中播放目标视频,其中,播放指令在显示播放窗口之后自动触发,或者由用户的对目标视频的播放操作而触发,用户对目标视频的播放操作是指,用户对播放窗口中的视频播放控件的点击操作,或者用户对电子设备上的目标按键的点击操作,目标按键也即是控制目标视频播放的按键。在一些实施例中,播放窗口为目标页面嵌入的播放器的播放窗口。
在这种实施方式下,电子设备能够在目标图像的显示时长达到参考时长时,在目标页面上显示播放窗口,用户能够自行控制目标视频的播放,从而提高用户的自主性。
在介绍完电子设备在目标页面上播放目标视频的方法之后,下面对电子设备在播放目标视频时的产品表现进行说明。
在一些实施例中,目标视频上显示有视频分享控件,响应于对视频分享控件的触发操 作,电子设备显示视频分享页面,视频分享页面用于对目标视频进行分享。响应于在视频分享页面上的操作,将目标视频分享给在视频分享页面上被选中的目标用户。比如,参见图5,电子设备在目标页面501上播放目标视频502,目标视频502上显示有视频分享控件5021。
在这种实施方式下,当用户想要对目标视频进行分享时,只需点击视频分享控件即可,无需对目标视频进行截图或存储之后再进行分享,人机交互的效率较高。
举例来说,响应于对视频分享控件的点击操作,电子设备显示视频分享页面,视频分享页面中显示有多个用户头像。响应于对多个用户头像中的目标用户头像的点击操作,电子设备向目标用户头像对应的账号发送该目标视频。在一些实施例中,视频分享页面中还显示有多个应用程序图标,响应于对多个应用程序图标中的目标应用程序图标的点击操作,电子设备显示分享目标选择页面,该分享目标选择页面为该目标应用程序图标对应的目标应用程序的分享目标选择页面,该分享目标选择页面中显示有目标应用的多个用户头像。响应于对多个用户头像中的目标用户头像的点击操作,电子设备向目标用户头像对应的账号发送该目标视频。
其中,目标视频的相关说明参见下述步骤303的描述。
在这种实施方式下,若用户想要直接预约目标视频,那么也能够通过点击目标图像上显示的播放控件来实现,人机交互的效率较高。
下面将结合图4,对目标页面401的上提供的其他功能进行介绍。
以本申请实施例提供的视频播放方法应用于预约晚会直播的场景为例,参见图4,目标页面401还包括活动时间指示区域404,活动时间指示区域404上显示有活动的节点以及每个节点的时间,其中,活动是指晚会直播对应的活动,用于吸引用户观看晚会直播,比如,用户参与晚会直播对应的活动能够获得虚拟奖励。目标页面401还包括奖励展示区域405,奖励展示区域405中显示有参与活动能够得到的奖励,奖励在用户达到一定条件是自动触发,或者在目标时刻统一触发。在一些实施例中,奖励展示区域405中还显示有每个奖励对应的获得条件,用户能够通过查看获得条件来确定自己是否能够获得奖励,或者,用户通过查看获得条件来执行对应的指示,达到对应条件以获得奖励。目标页面401还包括投票区域406,投票区域406中显示有待投票的主播的头像,以及每个主播的名称、简介以及当前票数等。在一些实施例中,每个主播的头像的后方显示有投票控件,用户能够通过对投票控件的点击操作来为对应的主播进行投票。在一些实施例中,目标直播的组织方会设定规则,票数最高的N个主播能够参数到目标直播中,以此来吸引用户为主播投票,其中,N为正整数。在一些实施例中,主播的头像的后方显示有关注控件,关注控件用于对主播进行关注。另外,目标页面401还包括票数展示区域407,票数展示区域407中显示有用户的可投票数4071和票数增加控件4072,响应于对票数增加控件4072的点击操作,电子设备显示票数增加页面,票数增加页面中显示有多个票数增加任务,用户通过完成票数增加任务就能够获得可投票数。
返回参见图3,在步骤303,电子设备在预设区域播放目标视频。
在一些实施例中,在预设区域播放目标视频的各帧图像,并将目标视频的播放音量调整为零。
举例来说,目标视频上显示有静音控件,响应于对静音控件的触发操作,电子设备将目标视频的播放音量调整为零。
在这种实施方式下,若用户想要对目标视频进行静音处理,那么只需点击静音控件即可,人机交互的效率较高。
在上述实施例的基础上,响应于对静音控件的再次触发操作,电子设备恢复目标视频的播放音量。
在这种实施方式下,当用户想要恢复目标视频的音量,那么只需再次点击静音控件即可,人机交互的效率较高。
在一些实施例中,在步骤303之后,电子设备还能够执行下述在步骤304。
在步骤304,响应于目标视频播放完毕,电子设备在预设区域恢复显示目标图像。
在一些实施例中,响应于目标视频播放完毕,电子设备控制目标视频由第二透明度变化为第一透明度,第一透明度低于第二透明度。电子设备恢复显示目标图像。在一些实施例中,第一透明度对应于完全透明,第二透明度对应于完全不透明。
在这种实施方式下,电子设备能够在目标视频播放完毕之后,先控制目标视频的透明度进行变化,随后再回复目标图像的显示,也即是使得目标视频能够以淡出的方式被取消显示,目标视频被取消显示之后,再恢复目标图像的显示,无需用户进行手动操作,人机交互的效率较高。
在一些实施例中,电子设备控制目标视频由第二透明度变化为第一透明度时,还可以限定一个变换时间,也即是,电子设备控制目标视频在预设时间间隔内,控制目标视频由第二透明度变化为第一透明度,其中,预设时间间隔由技术人员根据实际需要进行设置,比如设置为0.5S、1S或者1.5S等,本申请实施例对此不做限定。在一些实施例中,这种显示目标视频的方式也被称为淡出(fadeOut),淡出的代码如下:
在一些实施例中,目标图像上显示有播放控件,响应于对播放控件的触发操作,电子设备在目标页面上重新播放目标视频。
在这种实施方式下,在目标视频播放完毕之后,若用户想要再次观看目标视频,直接点击目标图像上的播放控件即可,人机交互的效率较高。
通过本申请实施例提供的视频播放方法,能够在目标页面的同一个位置上实现目标图像的显示和目标视频的播放,用户可以在目标页面中查看与目标页面相关联的目标图像,也可以观看目标视频,无需进行页面切换操作,提高了人机交互的效率。另外,在播放目标视频之前,会保持目标图像的显示,直至目标图像的显示符合预设条件,保证对于目标图像的曝光效果。
除了上述步骤301-304之外,本申请实施例还提供了另一种视频播放方法,以视频播放方法应用于电子设备为例,参见图6,方法包括:
601、电子设备在目标页面上显示目标弹窗,目标弹窗用于领取虚拟资源。
其中,目标页面的显示方法与上述步骤301属于同一发明构思,实现过程参见上述步骤301的相关描述,再次不再赘述。
可选地,虚拟资源为具有经济价值的载体或者组合载体,例如为电子红包、优惠券、会员卡以及礼包中的一项或者多项,本申请实施例对此不作限定。在一些实施例中,目标弹窗也被称为红包弹窗。
在这种实施方式下,能够通过显示目标弹窗的方式来吸引用户登录目标页面,提高目标页面的访问量,从而提高目标直播的预约数量、短视频以及直播的观看量。
在一些实施例中,在步骤601之后,电子设备既能够执行下述步骤602,也能够执行下述步骤603,本申请实施例对此不做限定。
602、在目标弹窗关闭的情况下,响应于目标图像的显示满足预设条件,电子设备将预设区域显示的目标图像切换为目标视频。
在一些实施例中,在目标弹窗关闭的情况下,响应于目标图像的显示满足预设条件,电子设备在目标时长后将预设区域显示的目标图像切换为目标视频。
其中,目标时长由技术人员根据实际情况进行设置,比如设置为1s、2s或者3s等,本申请实施例对此不做限定。
也即是,在目标弹窗被取消显示之后,即使目标图像的显示满足预设条件,电子设备也不会立即播放目标视频,而是在目标时长之后才播放目标视频,保证用户具有充足的时间对目标图像进行查看,保证对于目标图像的曝光效果。
在一些实施例中,目标弹窗的关闭方法包括下述任一项:目标弹窗的显示时长达到时长阈值,其中,时长阈值由技术人员根据实际情况进行设置,比如设置为5秒或者10秒等;检测到对目标弹窗上关闭控件的点击操作;检测对目标弹窗上显示的资源领取控件的点击操作。
在一些实施例中,目标弹窗上显示有资源领取控件,响应于对资源领取控件的触发操作,电子设备在目标弹窗中显示资源领取页面,资源领取页面中显示有该账号领取到的虚拟资源的类型和数量。目标弹窗中显示有关闭控件,响应于对关闭控件的触发操作,电子设备对目标弹窗进行取消显示,取消显示也即是关闭目标弹窗。当目标弹窗关闭后,响应于目标图像的显示满足预设条件,电子设备在目标时长后将预设区域显示的目标图像切换为目标视频。
在这种实施方式下,当用户通过目标弹窗领取虚拟资源之后,还能够通过关闭控件来实现对目标弹窗的关闭,人机交互的效率较高。
在一些实施例中,目标弹窗中显示有关闭控件,响应于对关闭控件的触发操作,电子设备对目标弹窗进行取消显示,取消显示也即是关闭目标弹窗。当目标弹窗关闭后,响应于目标图像的显示满足预设条件,电子设备在目标时长后将预设区域显示的目标图像切换为目标视频。
在这种实施方式下,在用户不想领取虚拟资源的情况下,可以直接点击关闭控件来实现对目标弹窗的关闭,人机交互的效率较高。
在一些实施例中,响应于目标弹窗的显示时间达到参考时长,电子设备取消显示目标弹窗,取消显示也即是关闭目标弹窗。当目标弹窗关闭后,响应于目标图像的显示满足预设条件,电子设备在目标时长后将预设区域显示的目标图像切换为目标视频。
在这种实施方式下,目标弹窗能够在显示一段时间之后自动关闭,无需用户手动操作,人机交互的效率较高。
需要说明的是,在上述描述中,响应于目标图像的显示满足预设条件,将预设区域显示的目标图像切换为目标视频的实现方式与上述步骤302属于同一发明构思,实现过程参见上述步骤302的相关描述,在此不再赘述。
603、响应于目标图像的显示满足预设条件,电子设备不将预设区域显示的目标图像切换为目标视频。
在电子设备在目标页面上显示了目标弹窗的情况下,即使目标图像的显示满足预设条件,电子设备也不会在目标页面上显示目标视频,这是由于目标弹窗会吸引用户的视线,即使播放目标视频,用户也不会关注目标视频的内容。
604、电子设备在预设区域播放目标视频。
需要说明的是,在上述三个实施例中,电子设备在目标时长之后播放目标视频的方法与上述步骤303属于同一发明构思,实现过程参见上述步骤303的相关描述,在此不再赘述。
通过上述步骤601-604,能够在目标页面的同一个位置上实现目标图像的显示和目标视频的播放,用户可以在目标页面中查看目标直播的直播信息,也可以观看目标视频,无需进行页面切换操作,提高了人机交互的效率。另外,若目标页面上显示有用于领取虚拟资源的目标弹窗,在目标弹窗显示期间,不会对目标视频进行播放。当目标弹窗被取消显示后,不会直接对目标视频进行播放,而是会在播放目标视频之前,会保持目标图像的显示,保证对于目标图像的曝光效果。
图7是根据本申请实施例提供的一种视频播放装置的框图。参见图7,该装置包括:目标页面显示单元701、视频显示单元702以及视频播放单元703。
目标页面显示单元701,被配置为显示目标页面,目标页面的预设区域显示有目标图像。
视频显示单元702,被配置为响应于目标图像的显示满足预设条件,将预设区域显示的目标图像切换为目标视频,目标视频和目标图像均与目标页面相关联。
视频播放单元703,被配置为在预设区域播放目标视频。
在一些实施例中,目标图像的显示满足预设条件包括:
目标图像的显示时长达到参考时长;或,
在目标图像的显示时长达到参考时长前,接收到对目标图像的触发操作。
在一些实施例中,目标图像上显示有播放控件,在目标图像的显示时长达到参考时长前,接收到对目标图像的触发操作包括:
在所述目标图像的显示时长达到所述参考时长前,接收到对所述播放控件的触发操作。
在一些实施例中,装置还包括:
透明度调整单元,被配置为在预设区域以第一透明度显示目标视频。
视频播放单元703,还被配置为控制目标视频由第一透明度变化为第二透明度,第一透明度低于第二透明度。
在一些实施例中,视频显示单元702,还被配置为响应于目标视频播放完毕,在预设区域恢复显示目标图像。
在一些实施例中,装置还包括:
透明度调整单元,被配置为控制目标视频由第二透明度变化为第一透明度,第一透明度低于第二透明度。
在一些实施例中,透明度调整单元,被配置为在预设时间间隔内,控制目标视频由第一透明度变化为第二透明度,或控制目标视频由第二透明度变化为第一透明度。
在一些实施例中,目标页面显示单元701,被配置为在目标页面上显示目标弹窗,目标弹窗用于领取虚拟资源。
在一些实施例中,视频显示单元702,还被配置为在目标弹窗关闭的情况下,响应于目标图像的显示满足预设条件,将预设区域显示的目标图像切换为目标视频。
在一些实施例中,视频播放单元703,被配置为在预设区域播放目标视频的各帧图像,并将目标视频的播放音量调整为零。
在一些实施例中,目标视频上显示有静音控件,视频播放单元703,被配置为响应于对静音控件的触发操作,将目标视频的播放音量调整为零。
在一些实施例中,视频播放单元703,还被配置为响应于对静音控件的再次触发操作,恢复目标视频的播放音量。
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。
通过本申请实施例提供的视频播放方法,能够在目标页面的同一个位置上实现目标图像的显示和目标视频的播放,用户可以在目标页面中查看与目标页面相关联的目标图像,也可以观看目标视频,无需进行页面切换操作,提高了人机交互的效率。另外,在播放目标视频之前,会保持目标图像的显示,直至目标图像的显示符合预设条件,保证对于目标图像的曝光效果。
在本申请实施例中,还提供了一种电子设备,包括:
处理器。
用于存储处理器可执行指令的存储器;
其中,处理器被配置为执行指令,实现以下步骤:
显示目标页面,目标页面的预设区域显示有目标图像。
响应于目标图像的显示满足预设条件,将预设区域显示的目标图像切换为目标视频,目标视频和目标图像均与目标页面相关联。
在预设区域播放目标视频。
在一些实施例中,目标图像的显示满足预设条件包括:
目标图像的显示时长达到参考时长。或,
在目标图像的显示时长达到参考时长前,接收到对目标图像的触发操作。
在一些实施例中,目标图像上显示有播放控件,在目标图像的显示时长达到参考时长前,接收到对目标图像的触发操作包括:
在目标图像的显示时长达到参考时长前,接收到对播放控件的触发操作。
在一些实施例中,处理器还被配置为执行指令,实现以下步骤:
在预设区域以第一透明度显示目标视频。
在预设区域播放目标视频包括:
控制目标视频由第一透明度变化为第二透明度,第一透明度低于第二透明度。
在一些实施例中,处理器还被配置为执行指令,实现以下步骤:
响应于目标视频播放完毕,在预设区域恢复显示目标图像。
在一些实施例中,处理器还被配置为执行指令,实现以下步骤:
控制目标视频由第二透明度变化为第一透明度,第一透明度低于第二透明度。
在一些实施例中,控制目标视频由第一透明度变化为第二透明度或控制目标视频由处理器还被配置为执行指令,实现以下步骤:
在预设时间间隔内,控制目标视频由第一透明度变化为第二透明度,或控制目标视频 由第二透明度变化为第一透明度。
在一些实施例中,处理器还被配置为执行指令,实现以下步骤:
在目标页面上显示目标弹窗,目标弹窗用于领取虚拟资源。
在一些实施例中,处理器还被配置为执行指令,实现以下步骤:
在目标弹窗关闭的情况下,响应于目标图像的显示满足预设条件,将预设区域显示的目标图像切换为目标视频。
在一些实施例中,处理器还被配置为执行指令,实现以下步骤:
在预设区域播放目标视频的各帧图像,并将目标视频的播放音量调整为零。
在一些实施例中,目标视频上显示有静音控件,处理器还被配置为执行指令,实现以下步骤:
响应于对静音控件的触发操作,将目标视频的播放音量调整为零。
在一些实施例中,处理器还被配置为执行指令,实现以下步骤:
响应于对静音控件的再次触发操作,恢复目标视频的播放音量。
关于上述实施例中的电子设备,其处理执行的各个步骤已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。
在一些实施例中,电子设备可以实现为终端,下面对终端的结构进行说明:
图8是根据本申请实施例提供的一种终端的框图,该终端800可以为用户所使用的终端。该终端800可以是:智能手机、智能手表、台式电脑、手提电脑和膝上型便携计算机等设备中的至少一种。终端800还可能被称为用户设备、便携式终端、膝上型终端、台式终端等其他名称。
通常,终端800包括有:处理器801和存储器802。在一些实施例中,处理器801可以在集成有GPU(Graphics Processing Unit,图像处理器),GPU用于负责显示屏所需要显示的内容的渲染和绘制。
存储器802可以包括一个或多个存储介质,该存储介质可以是非暂态的。存储器802还可包括高速随机存取存储器,以及非易失性存储器,比如一个或多个磁盘存储设备、闪存存储设备。
在一些实施例中,终端800还可选包括有:外围设备接口803和至少一个外围设备。处理器801、存储器802和外围设备接口803之间可以通过总线或信号线相连。各个外围设备可以通过总线、信号线或电路板与外围设备接口803相连。在一些实施例中,外围设备包括:射频电路804、显示屏805、摄像头组件806、音频电路807、定位组件808和电源809中的至少一种。
外围设备接口803可被用于将I/O(Input/Output,输入/输出)相关的至少一个外围设备连接到处理器801和存储器802。
射频电路804用于接收和发射RF(Radio Frequency,射频)信号,也称电磁信号。射频电路804通过电磁信号与通信网络以及其他通信设备进行通信。
显示屏805用于显示UI(User Interface,用户界面)。该UI可以包括图像、文本、图标、视频及其它们的任意组合。当显示屏805是触摸显示屏时,显示屏805还具有采集在显示屏805的表面或表面上方的触摸信号的能力。该触摸信号可以作为控制信号输入至处理器801进行处理。此时,显示屏805还可以用于提供虚拟按钮和/或虚拟键盘,也称软按钮和/或软键盘。
摄像头组件806用于采集图像或视频。可选的,摄像头组件806包括前置摄像头和后置摄像头。通常,前置摄像头设置在终端的前面板,后置摄像头设置在终端的背面。
音频电路807可以包括麦克风和扬声器。麦克风用于采集用户及环境的声波,并将声 波转换为电信号输入至处理器801进行处理,或者输入至射频电路804以实现语音通信。定位组件808用于定位终端800的当前地理位置,以实现导航或LBS(Location Based Service,基于位置的服务)。
电源809用于为终端800中的各个组件进行供电。电源809可以是交流电、直流电、一次性电池或可充电电池。当电源809包括可充电电池时,该可充电电池可以支持有线充电或无线充电。该可充电电池还可以用于支持快充技术。
在一些实施例中,终端800还包括有一个或多个传感器810。该一个或多个传感器810包括但不限于:压力传感器811、指纹传感器812以及光学传感器813。
压力传感器811可以设置在终端800的侧边框和/或显示屏805的下层。当压力传感器811设置在终端800的侧边框时,可以检测用户对终端800的握持信号,由处理器801根据压力传感器811采集的握持信号进行左右手识别或快捷操作。当压力传感器811设置在显示屏805的下层时,由处理器801根据用户对显示屏805的压力操作,实现对UI界面上的可操作性控件进行控制。可操作性控件包括按钮控件、滚动条控件、图标控件、菜单控件中的至少一种。
指纹传感器812用于采集用户的指纹,由处理器801根据指纹传感器812采集到的指纹识别用户的身份,或者,由指纹传感器812根据采集到的指纹识别用户的身份。
光学传感器813用于采集环境光强度。在一个实施例中,处理器801可以根据光学传感器813采集的环境光强度,控制显示屏805的显示亮度。
本领域技术人员可以理解,图8中示出的结构并不构成对终端800的限定,可以包括比图示更多或更少的组件,或者组合某些组件,或者采用不同的组件布置。
在示例性实施例中,还提供了一种包括指令的计算机可读存储介质,例如包括指令的存储器,上述指令可由终端800的处理器801执行以完成上述视频播放方法。可选的,存储介质可以是非临时性存储介质,例如,所述非临时性存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。
在示例性实施例中,还提供了一种计算机程序产品,包括计算机程序,该计算机程序可以由电子设备的处理器执行,以实现上述视频播放方法。
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本申请的其他实施方案。本申请旨在涵盖本申请的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本申请的一般性原理并包括本申请未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本申请的真正范围和精神由下面的权利要求指出。
应当理解的是,本申请并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本申请的范围仅由所附的权利要求来限制。
Claims (38)
- 一种视频播放方法,包括:显示目标页面,所述目标页面的预设区域显示有目标图像;响应于所述目标图像的显示满足预设条件,将所述预设区域显示的所述目标图像切换为目标视频,所述目标视频和所述目标图像均与所述目标页面相关联;在所述预设区域播放所述目标视频。
- 根据权利要求1所述的视频播放方法,其中,所述目标图像的显示满足所述预设条件包括:所述目标图像的显示时长达到参考时长;或,在所述目标图像的显示时长达到所述参考时长前,接收到对所述目标图像的触发操作。
- 根据权利要求2所述的视频播放方法,其中,所述目标图像上显示有播放控件,所述在所述目标图像的显示时长达到所述参考时长前,接收到对所述目标图像的触发操作包括:在所述目标图像的显示时长达到所述参考时长前,接收到对所述播放控件的触发操作。
- 根据权利要求1所述的视频播放方法,其中,所述方法还包括:在所述预设区域以第一透明度显示所述目标视频;所述在所述预设区域播放所述目标视频包括:控制所述目标视频由所述第一透明度变化为第二透明度,所述第一透明度低于所述第二透明度。
- 根据权利要求1所述的视频播放方法,其中,所述方法还包括:响应于所述目标视频播放完毕,在所述预设区域恢复显示所述目标图像。
- 根据权利要求5所述的视频播放方法,其中,所述方法还包括:控制所述目标视频由第二透明度变化为第一透明度,所述第一透明度低于所述第二透明度。
- 根据权利要求4或6所述的视频播放方法,其中,所述控制所述目标视频由所述第一透明度变化为第二透明度或所述控制所述目标视频由第二透明度变化为第一透明度,包括:在预设时间间隔内,控制所述目标视频由所述第一透明度变化为所述第二透明度,或控制所述目标视频由所述第二透明度变化为所述第一透明度。
- 根据权利要求1所述的视频播放方法,其中,所述方法还包括:在所述目标页面上显示目标弹窗,所述目标弹窗用于领取虚拟资源。
- 根据权利要求8所述的视频播放方法,其中,所述响应于所述目标图像的显示满足预设条件,将所述预设区域显示的目标图像切换为目标视频,包括:在所述目标弹窗关闭的情况下,响应于所述目标图像的显示满足所述预设条件,将所述预设区域显示的所述目标图像切换为所述目标视频。
- 根据权利要求1所述的视频播放方法,其中,所述在所述预设区域播放所述目标视频,包括:在所述预设区域播放所述目标视频的各帧图像,并将所述目标视频的播放音量调整为零。
- 根据权利要求10所述的视频播放方法,其中,所述目标视频上显示有静音控件,所述将所述目标视频的播放音量调整为零,包括:响应于对所述静音控件的触发操作,将所述目标视频的播放音量调整为零。
- 根据权利要求11所述的视频播放方法,其中,所述方法还包括:响应于对所述静音控件的再次触发操作,恢复所述目标视频的播放音量。
- 一种视频播放装置,包括:目标页面显示单元,被配置为显示目标页面,所述目标页面的预设区域显示有目标图像;视频显示单元,被配置为响应于所述目标图像的显示满足预设条件,将所述预设区域显示的所述目标图像切换为目标视频,所述目标视频和所述目标图像均与所述目标页面相关联;视频播放单元,被配置为在所述预设区域播放所述目标视频。
- 根据权利要求13所述的视频播放装置,其中,所述目标图像的显示满足所述预设条件包括:所述目标图像的显示时长达到参考时长;或,在所述目标图像的显示时长达到所述参考时长前,接收到对所述目标图像的触发操作。
- 根据权利要求14所述的视频播放装置,其中,所述目标图像上显示有播放控件,所述在所述目标图像的显示时长达到所述参考时长前,接收到对所述目标图像的触发操作包括:在所述目标图像的显示时长达到所述参考时长前,接收到对所述播放控件的触发操作。
- 根据权利要求13所述的视频播放装置,其中,所述装置还包括:透明度调整单元,被配置为在所述预设区域以第一透明度显示所述目标视频;所述视频播放单元,被配置为控制所述目标视频由所述第一透明度变化为第二透明度,所述第一透明度低于所述第二透明度。
- 根据权利要求13所述的视频播放装置,其中,所述视频显示单元,还被配置为响应于所述目标视频播放完毕,在所述预设区域恢复显示所述目标图像。
- 根据权利要求17所述的视频播放装置,其中,所述装置还包括:透明度调整单元,被配置为控制所述目标视频由第二透明度变化为第一透明度,所述 第一透明度低于所述第二透明度。
- 根据权利要求16或18所述的视频播放装置,其中,所述透明度调整单元,被配置为在预设时间间隔内,控制所述目标视频由所述第一透明度变化为所述第二透明度,或控制所述目标视频由所述第二透明度变化为所述第一透明度。
- 根据权利要求13所述的视频播放装置,其中,所述目标页面显示单元,被配置为在所述目标页面上显示目标弹窗,所述目标弹窗用于领取虚拟资源。
- 根据权利要求20所述的视频播放装置,其中,所述视频显示单元,还被配置为在所述目标弹窗关闭的情况下,响应于所述目标图像的显示满足所述预设条件,将所述预设区域显示的所述目标图像切换为所述目标视频。
- 根据权利要求13所述的视频播放装置,其中,所述视频播放单元,被配置为在所述预设区域播放所述目标视频的各帧图像,并将所述目标视频的播放音量调整为零。
- 根据权利要求22所述的视频播放装置,其中,所述目标视频上显示有静音控件,所述视频播放单元,被配置为响应于对所述静音控件的触发操作,将所述目标视频的播放音量调整为零。
- 根据权利要求23所述的视频播放装置,其中,所述视频播放单元,还被配置为响应于对所述静音控件的再次触发操作,恢复所述目标视频的播放音量。
- 一种电子设备,包括:处理器;用于存储所述处理器可执行指令的存储器;其中,所述处理器被配置为执行所述指令,实现以下步骤:显示目标页面,所述目标页面的预设区域显示有目标图像;响应于所述目标图像的显示满足预设条件,将所述预设区域显示的所述目标图像切换为目标视频,所述目标视频和所述目标图像均与所述目标页面相关联;在所述预设区域播放所述目标视频。
- 根据权利要求25所述的电子设备,其中,所述目标图像的显示满足所述预设条件包括:所述目标图像的显示时长达到参考时长;或,在所述目标图像的显示时长达到所述参考时长前,接收到对所述目标图像的触发操作。
- 根据权利要求26所述的电子设备,其中,所述目标图像上显示有播放控件,所述在所述目标图像的显示时长达到所述参考时长前,接收到对所述目标图像的触发操作包括:在所述目标图像的显示时长达到所述参考时长前,接收到对所述播放控件的触发操作。
- 根据权利要求25所述的电子设备,其中,所述处理器还被配置为执行所述指令, 实现以下步骤:在所述预设区域以第一透明度显示所述目标视频;所述在所述预设区域播放所述目标视频包括:控制所述目标视频由所述第一透明度变化为第二透明度,所述第一透明度低于所述第二透明度。
- 根据权利要求25所述的电子设备,其中,所述处理器还被配置为执行所述指令,实现以下步骤:响应于所述目标视频播放完毕,在所述预设区域恢复显示所述目标图像。
- 根据权利要求29所述的电子设备,其中,所述处理器还被配置为执行所述指令,实现以下步骤:控制所述目标视频由第二透明度变化为第一透明度,所述第一透明度低于所述第二透明度。
- 根据权利要求28或30所述的电子设备,其中,所述控制所述目标视频由所述第一透明度变化为第二透明度或所述控制所述目标视频由所述处理器还被配置为执行所述指令,实现以下步骤:在预设时间间隔内,控制所述目标视频由所述第一透明度变化为所述第二透明度,或控制所述目标视频由所述第二透明度变化为所述第一透明度。
- 根据权利要求25所述的电子设备,其中,所述处理器还被配置为执行所述指令,实现以下步骤:在所述目标页面上显示目标弹窗,所述目标弹窗用于领取虚拟资源。
- 根据权利要求32所述的电子设备,其中,所述处理器还被配置为执行所述指令,实现以下步骤:在所述目标弹窗关闭的情况下,响应于所述目标图像的显示满足所述预设条件,将所述预设区域显示的所述目标图像切换为所述目标视频。
- 根据权利要求25所述的电子设备,其中,所述处理器还被配置为执行所述指令,实现以下步骤:在所述预设区域播放所述目标视频的各帧图像,并将所述目标视频的播放音量调整为零。
- 根据权利要求34所述的电子设备,其中,所述目标视频上显示有静音控件,所述处理器还被配置为执行所述指令,实现以下步骤:响应于对所述静音控件的触发操作,将所述目标视频的播放音量调整为零。
- 根据权利要求35所述的电子设备,其中,所述处理器还被配置为执行所述指令,实现以下步骤:响应于对所述静音控件的再次触发操作,恢复所述目标视频的播放音量。
- 一种计算机可读存储介质,当所述计算机可读存储介质中的指令由电子设备的处理器执行时,使得电子设备能够执行以下步骤:显示目标页面,所述目标页面的预设区域显示有目标图像;响应于所述目标图像的显示满足预设条件,将所述预设区域显示的所述目标图像切换为目标视频,所述目标视频和所述目标图像均与所述目标页面相关联;在所述预设区域播放所述目标视频。
- 一种计算机程序产品,包括指令,所述指令被处理器执行时实现以下步骤:显示目标页面,所述目标页面的预设区域显示有目标图像;响应于所述目标图像的显示满足预设条件,将所述预设区域显示的所述目标图像切换为目标视频,所述目标视频和所述目标图像均与所述目标页面相关联;在所述预设区域播放所述目标视频。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110638434.4A CN113395566B (zh) | 2021-06-08 | 2021-06-08 | 视频播放方法、装置、电子设备及计算机可读存储介质 |
| CN202110638434.4 | 2021-06-08 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2022257367A1 true WO2022257367A1 (zh) | 2022-12-15 |
Family
ID=77618542
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2021/133016 Ceased WO2022257367A1 (zh) | 2021-06-08 | 2021-11-25 | 视频播放方法以及电子设备 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN113395566B (zh) |
| WO (1) | WO2022257367A1 (zh) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115914723A (zh) * | 2022-12-26 | 2023-04-04 | 广州方硅信息技术有限公司 | 直播间业务弹窗展示方法、装置、系统、介质以及设备 |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113395566B (zh) * | 2021-06-08 | 2023-02-21 | 北京达佳互联信息技术有限公司 | 视频播放方法、装置、电子设备及计算机可读存储介质 |
| CN113949697B (zh) * | 2021-09-24 | 2023-05-09 | 北京达佳互联信息技术有限公司 | 数据分发方法、装置、电子设备及存储介质 |
| CN113946246A (zh) * | 2021-10-08 | 2022-01-18 | 北京达佳互联信息技术有限公司 | 页面处理方法、装置、电子设备及计算机可读存储介质 |
Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103634686A (zh) * | 2013-12-19 | 2014-03-12 | 北京奇艺世纪科技有限公司 | 一种用于预览视频的方法及装置 |
| CN105872812A (zh) * | 2016-04-19 | 2016-08-17 | 乐视控股(北京)有限公司 | 一种动态节目单生成方法及系统 |
| US20160342319A1 (en) * | 2015-05-19 | 2016-11-24 | Lemobile Information Technology (Beijing) Co., Ltd. | Method and device for previewing and displaying multimedia streaming data |
| CN106231437A (zh) * | 2016-07-25 | 2016-12-14 | 深圳Tcl新技术有限公司 | 视频节目预览方法及装置 |
| CN106375826A (zh) * | 2016-08-25 | 2017-02-01 | 合网络技术(北京)有限公司 | 视频播放方法及装置 |
| US20200401281A1 (en) * | 2018-03-01 | 2020-12-24 | Huawei Technologies Co., Ltd. | Information Display Method, Graphical User Interface, and Terminal |
| CN113395566A (zh) * | 2021-06-08 | 2021-09-14 | 北京达佳互联信息技术有限公司 | 视频播放方法、装置、电子设备及计算机可读存储介质 |
Family Cites Families (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105338368B (zh) * | 2015-11-02 | 2019-03-15 | 腾讯科技(北京)有限公司 | 一种视频的直播流转点播数据的方法、装置及系统 |
| CN106998477A (zh) * | 2017-04-05 | 2017-08-01 | 腾讯科技(深圳)有限公司 | 直播视频的封面显示方法和装置 |
| CN108900918A (zh) * | 2018-08-17 | 2018-11-27 | 深圳市茁壮网络股份有限公司 | 一种视频点播方法、客户端及电子设备 |
| CN110324696B (zh) * | 2019-07-12 | 2022-06-10 | 广州方硅信息技术有限公司 | 直播业务的导流方法、装置、计算机设备和存储介质 |
| CN110688527A (zh) * | 2019-09-27 | 2020-01-14 | 北京达佳互联信息技术有限公司 | 视频推荐方法、装置、存储介质及电子设备 |
| CN112272302A (zh) * | 2020-09-17 | 2021-01-26 | 北京达佳互联信息技术有限公司 | 多媒体资源的展示方法、装置、系统及存储介质 |
-
2021
- 2021-06-08 CN CN202110638434.4A patent/CN113395566B/zh active Active
- 2021-11-25 WO PCT/CN2021/133016 patent/WO2022257367A1/zh not_active Ceased
Patent Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103634686A (zh) * | 2013-12-19 | 2014-03-12 | 北京奇艺世纪科技有限公司 | 一种用于预览视频的方法及装置 |
| US20160342319A1 (en) * | 2015-05-19 | 2016-11-24 | Lemobile Information Technology (Beijing) Co., Ltd. | Method and device for previewing and displaying multimedia streaming data |
| CN105872812A (zh) * | 2016-04-19 | 2016-08-17 | 乐视控股(北京)有限公司 | 一种动态节目单生成方法及系统 |
| CN106231437A (zh) * | 2016-07-25 | 2016-12-14 | 深圳Tcl新技术有限公司 | 视频节目预览方法及装置 |
| CN106375826A (zh) * | 2016-08-25 | 2017-02-01 | 合网络技术(北京)有限公司 | 视频播放方法及装置 |
| US20200401281A1 (en) * | 2018-03-01 | 2020-12-24 | Huawei Technologies Co., Ltd. | Information Display Method, Graphical User Interface, and Terminal |
| CN113395566A (zh) * | 2021-06-08 | 2021-09-14 | 北京达佳互联信息技术有限公司 | 视频播放方法、装置、电子设备及计算机可读存储介质 |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115914723A (zh) * | 2022-12-26 | 2023-04-04 | 广州方硅信息技术有限公司 | 直播间业务弹窗展示方法、装置、系统、介质以及设备 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN113395566B (zh) | 2023-02-21 |
| CN113395566A (zh) | 2021-09-14 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN114245221B (zh) | 基于直播间的互动方法、装置、电子设备及存储介质 | |
| WO2022257367A1 (zh) | 视频播放方法以及电子设备 | |
| CN113204656A (zh) | 多媒体资源的展示方法、装置、设备及存储介质 | |
| CN111901658B (zh) | 评论信息显示方法、装置、终端及存储介质 | |
| CN112261481B (zh) | 互动视频的创建方法、装置、设备及可读存储介质 | |
| CN114302160B (zh) | 信息显示方法、装置、计算机设备及介质 | |
| CN111327916B (zh) | 基于地理对象的直播管理方法、装置、设备及存储介质 | |
| CN118660197B (zh) | 页面显示方法、装置、设备及存储介质 | |
| CN118035472A (zh) | 基于多媒体资源的标签显示方法、装置、设备及存储介质 | |
| CN117880547B (zh) | 直播互动方法、装置、电子设备及存储介质 | |
| CN118921519A (zh) | 页面显示方法、装置、电子设备及存储介质 | |
| CN114082197A (zh) | 线下游戏的互动直播方法、装置、计算机设备及存储介质 | |
| CN112019890B (zh) | 直播分发方法、装置、服务器及介质 | |
| CN118870144B (zh) | 视频生成方法、装置、电子设备及存储介质 | |
| CN119415207A (zh) | 会话界面的显示方法、装置、设备以及存储介质 | |
| CN118509664A (zh) | 信息显示方法、装置、电子设备及存储介质 | |
| CN115113845B (zh) | 音量调节方法、装置、电子设备和可读存储介质 | |
| US20210377454A1 (en) | Capturing method and device | |
| CN119893153B (zh) | 信息显示方法、装置、设备及存储介质 | |
| CN119946314B (zh) | 直播交互方法、装置、计算机设备及计算机可读存储介质 | |
| CN117579854B (zh) | 直播方法、装置、计算机设备及计算机可读存储介质 | |
| CN119520938B (zh) | 直播间视频播放方法、装置、直播系统、电子设备及介质 | |
| CN116366908B (zh) | 直播间的互动方法、装置、电子设备及存储介质 | |
| CN120812359A (zh) | 信息显示方法、装置、电子设备及存储介质 | |
| CN119325011A (zh) | 直播间信息展示方法、装置、电子设备及存储介质 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 21944863 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 21944863 Country of ref document: EP Kind code of ref document: A1 |

