CN117294888A - Video playing method and terminal - Google Patents

Video playing method and terminal Download PDF

Info

Publication number
CN117294888A
CN117294888A CN202311243978.6A CN202311243978A CN117294888A CN 117294888 A CN117294888 A CN 117294888A CN 202311243978 A CN202311243978 A CN 202311243978A CN 117294888 A CN117294888 A CN 117294888A
Authority
CN
China
Prior art keywords
video
screen
input
barrage
displaying
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.)
Pending
Application number
CN202311243978.6A
Other languages
Chinese (zh)
Inventor
崔伟玮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xi'an Weiwo Software Technology Co ltd
Original Assignee
Xi'an Weiwo Software Technology Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Xi'an Weiwo Software Technology Co ltd filed Critical Xi'an Weiwo Software Technology Co ltd
Priority to CN202311243978.6A priority Critical patent/CN117294888A/en
Publication of CN117294888A publication Critical patent/CN117294888A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47202End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for requesting content on demand, e.g. video on demand
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4788Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/16Details of telephonic subscriber devices including more than one display unit

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a video playing method and a terminal, and belongs to the technical field of images. Wherein the method comprises the following steps: displaying a video playing picture of the first video on a first screen, and displaying a barrage corresponding to the first video on a second screen; receiving a first input of a user to a first barrage displayed in a second screen; and responding to the first input, and playing a first video clip which is a video clip corresponding to the first barrage.

Description

Video playing method and terminal
Technical Field
The application belongs to the technical field of images, and particularly relates to a video playing method and a terminal.
Background
Currently, in order to enhance the interest of video playing, various video applications provide a barrage function, and a user can send a barrage in the video viewing process, and the sent barrage can be played together with a video source.
However, in the current video playing mode, while the video is played, the bullet screen inevitably shields the video content, and if the user wants to watch the video clip of interest, the user needs to repeatedly click the progress bar for multiple times to watch the video content of interest.
Disclosure of Invention
The embodiment of the application aims to provide a video playing method and a terminal, which can realize the positioning of video content on the premise of not influencing the watching of video by a user.
In a first aspect, embodiments of the present application provide a video playing method performed by an electronic device having a foldable screen, the foldable screen including a first screen and a second screen, the method including:
displaying a video playing picture of the first video on a first screen, and displaying a barrage corresponding to the first video on a second screen;
receiving a first input of a user to a first barrage displayed in a second screen;
and responding to the first input, and playing a first video clip which is a video clip corresponding to the first barrage.
In a second aspect, an embodiment of the present application provides a terminal having a foldable screen, the foldable screen including a first screen and a second screen, the terminal further including:
the display module is used for displaying a video playing picture of the first video on the first screen and displaying a barrage corresponding to the first video on the second screen;
the receiving module is used for receiving a first input of a first barrage displayed in the second screen by a user;
and the playing module is used for responding to the first input and playing a first video clip, wherein the first video clip is a video clip corresponding to the first barrage.
In a third aspect, embodiments of the present application provide an electronic device comprising a processor and a memory storing a program or instructions executable on the processor, which when executed by the processor, implement the steps of the method as described in the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium having stored thereon a program or instructions which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, embodiments of the present application provide a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and where the processor is configured to execute a program or instructions to implement a method according to the first aspect.
In a sixth aspect, embodiments of the present application provide a computer program product stored in a storage medium, the program product being executable by at least one processor to implement the method according to the first aspect.
In the embodiment of the application, a video playing picture of a first video is displayed on a first screen, and a barrage corresponding to the first video is displayed on a second screen; on one hand, the split screen display of the barrage and the video playing picture can facilitate the user to watch the video playing picture of the first video displayed on the first screen, so that the video playing picture of the first video is prevented from being blocked by the barrage, and on the other hand, the user can conveniently watch the barrage corresponding to the first video displayed on the second screen, so that the barrage message is communicated with other users, and the video watching requirement and the barrage watching requirement of the user can be considered. Then, in response to the first input of the user to the first barrage displayed in the second screen, the first video segment corresponding to the first barrage is played, so that the video segment corresponding to the first barrage can be accurately positioned, and the user can conveniently view the video segment corresponding to the barrage of interest. Therefore, the video content can be positioned by simply operating the barrage on the premise that the video watching of the user is not influenced, and the video watching experience is improved.
Drawings
Fig. 1 is a flowchart of a video playing method provided in an embodiment of the present application;
fig. 2 is a schematic diagram of a first video and a barrage corresponding to the first video according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a first control provided by an embodiment of the present application;
FIG. 4 is a schematic diagram of a pause operation performed on a first video provided in an embodiment of the present application;
FIG. 5 is a schematic diagram of a pause operation performed on a bullet screen corresponding to a first video according to an embodiment of the present application;
FIG. 6 is a schematic diagram of a second control provided by an embodiment of the present application;
FIG. 7 is a schematic diagram of a third control provided by an embodiment of the present application;
FIG. 8 is a schematic diagram of a bullet screen setup option provided by an embodiment of the present application;
FIG. 9 is a schematic view of a first barrage provided in an embodiment of the present application;
fig. 10 is a block diagram of a terminal according to an embodiment of the present application;
FIG. 11 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application;
fig. 12 is a second schematic diagram of a hardware structure of the electronic device according to the embodiment of the present application.
Detailed Description
Technical solutions of embodiments of the present application will be clearly described below with reference to the accompanying drawings of embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present application are within the scope of the protection of the present application.
The terms "first," "second," and the like in the description of the present application, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged, as appropriate, such that embodiments of the present application may be implemented in sequences other than those illustrated or described herein, and that the objects identified by "first," "second," etc. are generally of a type and not limited to the number of objects, e.g., the first object may be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
Aiming at the problems of the related art, the embodiment of the application provides a video playing method and a terminal, which can solve the problem that the video watching requirement and barrage watching requirement of a user cannot be met in the related art.
The video playing method provided by the embodiment of the application is described in detail below through specific embodiments and application scenes thereof with reference to the accompanying drawings.
Fig. 1 is a flowchart of a video playing method according to an embodiment of the present application.
As shown in fig. 1, the video playing method may include steps 110 to 130, which are performed by an electronic device having a foldable screen including a first screen and a second screen, and the method is applied to a terminal, as follows:
step 110, displaying a video playing frame of the first video on the first screen, and displaying a barrage corresponding to the first video on the second screen.
The duration of the first video is consistent with the duration of the barrage corresponding to the first video; under the condition that the adjustment operation of the playing progress of the user is not received, the playing progress of the first video is consistent with the playing progress of the barrage corresponding to the first video.
The video playing picture of the first video is a video with a barrage display state being a closed state; and the barrage corresponding to the first video is the barrage which is displayed by the first video when the barrage display state is the opening state.
As shown in fig. 2, a video playing screen 210 of a first video is displayed on a first screen 200, and a barrage 310 corresponding to the first video is displayed on a second screen 300.
The playing progress of the first video is 04:05, the playing progress of the barrage corresponding to the first video is 04:05, and the playing progress of the first video is consistent with the playing progress of the barrage corresponding to the first video.
Therefore, on one hand, the user can watch the video playing picture of the first video displayed on the first screen, the video playing picture of the first video is prevented from being blocked by the barrage, and on the other hand, the user can watch the barrage corresponding to the first video displayed on the second screen. In the process of watching the barrage corresponding to the first video, the user can communicate with other users through barrage messages, and video watching requirements and barrage watching requirements of the user can be considered.
In a possible embodiment, before step 110, the following steps may be further included:
receiving a second input of a user to a first control in the first interface under the condition that the electronic equipment displays the first interface; the first interface comprises a video playing picture of the first video which is displayed in a superposition mode and a barrage corresponding to the first video;
in step 110, the method specifically includes the following steps:
and responding to the second input, displaying a video playing picture of the first video on the first screen, and displaying a barrage corresponding to the first video on the second screen.
As shown in fig. 3, in a case where the electronic device is in a landscape screen scenario and a first interface 400 is displayed, receiving a second input to a first control 320 in the first interface; the first interface 400 includes a video playing screen of the first video and a barrage corresponding to the first video.
The first interface is displayed in a screen area formed by the first screen and the second screen.
In response to the second input, a video play screen 210 of the first video is displayed on the first screen 200, and a bullet screen 310 corresponding to the first video is displayed on the second screen 300.
Therefore, the video playing picture of the first video and the barrage corresponding to the first video which are displayed in a superimposed mode are split and displayed, on one hand, a user can watch the video playing picture of the first video displayed on the first screen, the situation that the video playing picture of the first video is blocked by the barrage is avoided, on the other hand, the user can watch the barrage corresponding to the first video displayed on the second screen, the user can watch the barrage in the process of watching the barrage corresponding to the first video, and the user can communicate with other users through barrage information, and therefore video watching requirements and barrage watching requirements of the user can be considered.
In a possible embodiment, after step 110, the following steps may be further included:
receiving a sixth input of a user to the first control;
the first interface is displayed in response to the sixth input.
And under the condition that the video playing picture of the first video is displayed on the first screen and the barrage corresponding to the first video is displayed on the second screen, receiving a sixth input to the first control, responding to the sixth input, combining and displaying the video playing picture of the first video and the barrage corresponding to the first video, and displaying the video playing picture of the first video and the barrage corresponding to the first video which are overlapped and displayed, namely displaying the first interface.
In the embodiment of the application, the combination and separation of the video picture and the barrage can be realized by operating the first control, and the operation is simple.
In a possible embodiment, after step 110, the following steps may be further included:
receiving a third input of a user to a video playing picture of the first video; the third input is for indicating: a pause operation, a forward operation, or a reverse operation;
and responding to the third input, and controlling the video playing picture of the first video and the barrage corresponding to the first video to execute the operation corresponding to the third input.
As shown in fig. 4, a third input to the video play screen 210 of the first video is received, and in response to the third input, operations corresponding to the third input, that is, the pause of the video play screen 210 of the first video and the pause of the bullet screen 310 corresponding to the first video, are simultaneously performed to the video play screen 210 of the first video and the bullet screen 310 corresponding to the first video.
Specifically, in response to a pause operation of a video play screen of a first video, simultaneously executing the pause operation of the video play screen of the first video and a bullet screen corresponding to the first video; responding to the forward operation of the video playing picture of the first video, and simultaneously executing the forward operation on the first video and the barrage corresponding to the first video; and in response to the backward operation of the video playing picture of the first video, executing the backward operation on the first video and the barrage corresponding to the first video simultaneously.
Therefore, in response to the third input of the video playing picture of the first video, the video playing picture of the first video and the barrage corresponding to the first video can be synchronously controlled through one operation, so that the consistency of the playing progress of the first video and the barrage corresponding to the first video can be ensured, and the user operation can be simplified.
In a possible embodiment, after step 110, the following steps may be further included:
receiving a fourth input of a user to the second screen; the fourth input is for indicating: a pause operation, a forward operation, or a reverse operation;
and responding to the fourth input, and controlling the barrage corresponding to the first video to execute the operation corresponding to the fourth input.
As shown in fig. 5, in response to the fourth input to the barrage 310 corresponding to the first video, an operation corresponding to the fourth input is performed to the barrage 310 corresponding to the first video, that is, the barrage 310 corresponding to the first video is paused, without affecting the playing progress of the video playing screen 210 of the first video.
Therefore, in response to the fourth input of the barrage corresponding to the first video, the barrage corresponding to the first video is operated, so that a user can flexibly check the barrage corresponding to the current playing progress before and after the current playing progress and the playing progress of the first video, and meanwhile, the video watching requirement and the barrage watching requirement of the user can be met without affecting the playing progress of the first video.
In a possible embodiment, after step 110, the following steps may be further included:
receiving a fifth input of a user to the second control;
and responding to the fifth input, and adjusting the playing progress of the first video so that the playing progress of the first video is the same as the playing progress of the barrage corresponding to the first video.
The second control is used for indicating and adjusting the playing progress of the first video.
In the playing process of the first video and the barrage corresponding to the first video, the playing progress of the first video and the playing progress of the barrage corresponding to the first video may be different due to the operation of a user.
As shown in fig. 6, at this time, the playing progress of the first video may be adjusted in response to the fifth input to the second control 330, so that the playing progress of the first video is the same as the playing progress of the barrage corresponding to the first video, and the adjusted playing progress of the first video and the playing progress of the barrage corresponding to the first video are both 04:08.
Wherein after the step of performing an operation corresponding to the fourth input on the bullet screen corresponding to the first video in response to the fourth input, the method may further include the steps of:
and responding to the fifth input of the second control, and adjusting the playing progress of the first video so that the playing progress of the first video is the same as the playing progress of the barrage corresponding to the first video.
Under the condition that a fourth input for indicating a pause operation, a forward operation or a backward operation is received for receiving the barrage corresponding to the first video, after the operation corresponding to the fourth input is executed for the barrage corresponding to the first video, the playing progress of the first video and the playing progress of the barrage corresponding to the first video are different, and the playing progress of the first video is adjusted in response to the fifth input for the second control, so that the playing progress of the first video and the playing progress of the barrage corresponding to the first video are automatically adjusted to be the same playing progress.
In addition, after the step of performing an operation corresponding to the fourth input on the bullet screen corresponding to the first video in response to the fourth input, the method may further include the steps of:
and under the condition that the preset time length after the input time passes, the playing progress of the first video is adjusted so that the playing progress of the first video is the same as the playing progress of the barrage corresponding to the first video. The input time is the time when the fourth input is received.
That is, in the case of receiving the fourth input for instructing the pause operation, the forward operation, or the backward operation to the bullet screen corresponding to the first video, after the operation corresponding to the fourth input is performed to the bullet screen corresponding to the first video, a difference may occur between the play progress of the first video and the play progress of the bullet screen corresponding to the first video, and after a preset period of time after the input time passes, the play progress of the first video is automatically adjusted so that the play progress of the first video and the play progress of the bullet screen corresponding to the first video are automatically adjusted to the same play progress.
In the embodiment of the application, the video playing progress and the barrage playing progress can be aligned by inputting the second control once, so that the user operation can be simplified.
In a possible embodiment, after step 110, the following steps may be further included:
receiving input of a third control, wherein the third control is used for controlling the display state of the barrage;
and in response to the input of the third control, canceling displaying the barrage corresponding to the first video.
The third control is used for controlling the display state of the barrage;
when the display state of the barrage is in a closed state, responding to the input of the third control, and adjusting the display state of the barrage to an open state; when the display state of the barrage is in an open state, responding to the input of the third control, and adjusting the display state of the barrage to be in a closed state;
displaying a first video on a first screen, displaying a barrage corresponding to the first video on a second screen, and indicating that the display state of the barrage is an on state at the moment, and adjusting the display state of the barrage to an off state in response to input of a third control at the moment, and accordingly, canceling to display the barrage corresponding to the first video.
As shown in fig. 7, in response to the input to the third control 340, the display of the bullet screen corresponding to the first video is canceled, and only the first video is displayed at this time. If the video picture and the barrage are displayed in a split screen mode, after the barrage is canceled, the video picture can be automatically switched to be displayed in a full screen mode.
In a possible embodiment, before step 110, the following steps may be further included:
receiving a seventh input of the user to the first control;
in response to the seventh input, a video frame of the first video is set as a background picture of the barrage.
The seventh input may be a long-press input to the first control, and in response to the seventh input, the video frame of the first video is set as a background picture of the barrage, so that the second screen may display the video frame of the first video and the barrage corresponding to the first video at the same time.
The step of setting the video frame of the first video as the background picture of the barrage in response to the seventh input includes:
in response to the seventh input, the video frames of the first video that are played in real time are set as background pictures of the barrage.
The video frame played in real time by the first video is set as a background picture of the barrage, which is equivalent to the first video when the display state of the barrage displayed by the second screen is in an on state.
Therefore, the first video of the bullet screen in the closed state and the first video of the bullet screen in the open state are displayed simultaneously, on one hand, a user can watch the first video displayed on the first screen to avoid the first video being blocked by the bullet screen, on the other hand, the user can watch the bullet screen corresponding to the first video displayed on the second screen, the background picture of the bullet screen is a video frame of the first video, the user can watch the bullet screen in the bullet screen corresponding to the first video, and the user can communicate with other users through bullet screen information, so that the video watching requirement and the bullet screen watching requirement of the user can be considered.
In one possible embodiment, the seventh input includes a first sub-input and a second sub-input, and in response to the seventh input, the above-mentioned step of setting the video frame of the first video as the background picture of the barrage may specifically include the following steps:
displaying at least one barrage setting option in response to the first sub-input;
in response to a user's second sub-input of the at least one bullet screen setting option following the video option, the video frames of the first video are set as background pictures of the bullet screen.
As shown in fig. 8, at least one barrage setting option is displayed in response to a first sub-input to the first control 320; the bullet screen setting options include: presetting a picture option, a custom picture option and a follow video option.
The preset picture option may be used to indicate that the preset picture associated with the first video is set as a background picture of the barrage, such as a promotional poster of the first video.
The custom picture option is used for indicating that the picture selected by the user is set as the background picture of the barrage.
The follow video option is used to indicate that the video frame of the first video is set to be the background picture of the bullet screen.
Therefore, the preset picture option, the user-defined picture option and the follow-up video option can be provided for the user, the user can conveniently select from at least one barrage setting option, and in response to the second sub-input of the follow-up video option in the at least one barrage setting option by the user, the video frame of the first video is set as the background picture of the barrage, so that the user can set the barrage background of the barrage in a personalized manner.
In a possible embodiment, after step 110, the following steps may be further included:
receiving an eighth input of a user to a second barrage displayed in a second screen;
and responding to the eighth input, and storing a second video clip which is a video clip corresponding to the second barrage.
Each barrage has preset display time in the barrage corresponding to the first video. The second barrage corresponds to a second time period, and the second time period is used for indicating the starting display time of the second barrage in the barrage corresponding to the first video to the ending display time of the second barrage in the barrage corresponding to the first video.
Receiving an eighth input of a second barrage in the barrages corresponding to the first video, and determining the display time of the second barrage to be a second time period, for example, the second time period is 04:00-04:05; and responding to the eighth input, and saving a second video clip corresponding to the second barrage.
Therefore, in response to the eighth input of the second barrage in the barrages corresponding to the first video, the second video segments corresponding to the second barrage are stored, and users can conveniently view and share the barrage segments corresponding to the first video in the future.
In a possible embodiment, after step 110, the following steps may be further included:
Receiving a ninth input of a third barrage displayed in the second screen by the user;
and responding to the ninth input, sending first link information to the first contact person, wherein the first link information is used for jumping to display a third video segment, and the third video segment is a video segment corresponding to a third barrage.
The third video segment corresponds to a third time period, and the third time period is used for indicating the starting display time of the third barrage in the barrage corresponding to the first video to the ending display time of the third barrage in the barrage corresponding to the first video.
The third video segment is a video segment corresponding to a third time period in the first video.
Receiving a ninth input of a third barrage in the barrages corresponding to the first videos, and determining that the display time of the third barrage in the barrages corresponding to the first videos is a third time period, for example, the third time period is 04:00-04:05; and responding to the ninth input, determining a video clip corresponding to the third barrage, and sending first link information to the first contact person. For example, after the first contact receives the first link information, the first contact may click on the first link information to skip to display the third video clip.
Therefore, in response to the ninth input of the third barrage in the barrage corresponding to the first video, the first link information for jumping and displaying the third video segment is sent to the first contact person, and the user can share the video segment corresponding to the third barrage with the first contact person conveniently.
Step 120, a first input from a user to a first barrage displayed in a second screen is received.
As shown in fig. 9, a first input of a first bullet screen 350"hhhhhh" in the bullet screens 310 corresponding to the first video is received, and a first input of a first bullet screen in the bullet screens corresponding to the first video by a user indicates that the user is interested in the first bullet screen and wants to view a video clip corresponding to the first bullet screen.
In step 130, in response to the first input, a first video clip is played, where the first video clip is a video clip corresponding to the first barrage.
The first video clip may be a video clip of the first video displayed in the first screen, or may be a barrage clip of a barrage corresponding to the first video displayed in the second screen.
As shown in fig. 9, for example, the display time of the first barrage in the barrage corresponding to the first video is 04:00-04:05, that is, the initial display time of the first barrage in the barrage corresponding to the first video is 04:00; the ending display time of the first barrage in the barrage corresponding to the first video is 04:05, and the first time period is 04:00-04:05; the display time period corresponding to the first video clip is a first time period.
Therefore, the user inputs the first barrage of the barrages corresponding to the first video, the user is interested in the first barrage, the video clips corresponding to the first barrage are played in response to the first input, namely, the playing progress of the barrage corresponding to the first video is adjusted to the initial display time corresponding to the first barrage, or the playing progress of the video playing picture of the first video is adjusted to the initial display time corresponding to the first barrage and is played, the user can conveniently and accurately position the first video clips corresponding to the first barrage, and the user can conveniently view the first video clips corresponding to the first barrage.
In the embodiment of the application, a video playing picture of a first video is displayed on a first screen, and a barrage corresponding to the first video is displayed on a second screen; on the one hand, the user can conveniently watch the video playing picture of the first video displayed on the first screen, the video playing picture of the first video is prevented from being blocked by the barrage, on the other hand, the user can conveniently watch the barrage corresponding to the first video displayed on the second screen, so that communication with other users is carried out through barrage information, and the video watching requirement and barrage watching requirement of the user can be considered. Then, in response to a first input of a user to a first barrage displayed in a second screen, a first video clip is played, wherein the first video clip is a video clip corresponding to the first barrage, so that the video clip corresponding to the first barrage can be accurately positioned, the user can conveniently view the video clip corresponding to the first barrage interested by the user, and the video viewing requirement and barrage viewing requirement of the user can be met.
According to the video playing method provided by the embodiment of the application, the execution subject can be a terminal. In the embodiment of the present application, a method for executing video playing by a terminal is taken as an example, and the terminal provided in the embodiment of the present application is described.
Fig. 10 is a block diagram of a terminal provided in an embodiment of the present application, applied to an electronic device having a foldable screen including a first screen and a second screen, the terminal 1000 including:
the display module 1010 is configured to display a video playing picture of the first video on the first screen, and display a bullet screen corresponding to the first video on the second screen;
a receiving module 1020 for receiving a first input from a user to a first bullet screen displayed in a second screen;
the playing module 1030 is configured to respond to the first input, and play a first video clip, where the first video clip is a video clip corresponding to the first barrage.
In a possible embodiment, the receiving module 1020 is further configured to, in a case where the electronic device displays the first interface, receive a second input from the user to the first control in the first interface; the first interface comprises a video playing picture of the first video which is displayed in a superposition mode and a barrage corresponding to the first video;
the display module 1010 is specifically configured to:
and responding to the second input, displaying a video playing picture of the first video on the first screen, and displaying a barrage corresponding to the first video on the second screen.
In a possible embodiment, the receiving module 1020 is further configured to receive a third input from the user on the video playing frame of the first video; the third input is for indicating: a pause operation, a forward operation, or a reverse operation;
The terminal 1000 can further include:
and the first control module is used for responding to the third input and controlling the video playing picture of the first video and the barrage corresponding to the first video to execute the operation corresponding to the third input.
In one possible embodiment, the receiving module 1020 is further configured to receive a fourth input from the user to the second screen; the fourth input is for indicating: a pause operation, a forward operation, or a reverse operation;
the terminal 1000 can further include:
and the second control module is used for responding to the fourth input and controlling the barrage corresponding to the first video to execute the operation corresponding to the fourth input.
In one possible embodiment, the receiving module 1020 is further configured to receive a fifth input from the user to the second control;
the terminal 1000 can further include:
and the adjusting module is used for responding to the fifth input and adjusting the playing progress of the first video so that the playing progress of the first video is the same as the playing progress of the barrage corresponding to the first video.
In one possible embodiment, the receiving module 1020 is further configured to receive a sixth input from the user to the first control;
the display module 1010 is further configured to display the first interface in response to a sixth input.
In one possible embodiment, the receiving module 1020 is further configured to receive a seventh input from the user to the first control;
The terminal 1000 can further include:
and the setting module is used for responding to the seventh input and setting the video frame of the first video as the background picture of the barrage.
In a possible embodiment, the seventh input comprises a first sub-input and a second sub-input, the setting module being specifically configured to:
displaying at least one barrage setting option in response to the first sub-input;
in response to a user's second sub-input of the at least one bullet screen setting option following the video option, the video frames of the first video are set as background pictures of the bullet screen.
In a possible embodiment, the receiving module 1020 is further configured to receive an eighth input from the user to the second barrage displayed in the second screen;
the terminal 1000 can further include:
and the storage module is used for responding to the eighth input and storing a second video segment, wherein the second video segment is a video segment corresponding to the second barrage.
In a possible embodiment, the receiving module 1020 is further configured to receive a ninth input from the user to the third bullet screen displayed in the second screen;
the terminal 1000 can further include:
and the sending module is used for responding to the ninth input and sending first link information to the first contact person, wherein the first link information is used for jumping to display a third video segment, and the third video segment is a video segment corresponding to the third barrage.
In the embodiment of the application, a video playing picture of a first video is displayed on a first screen, and a barrage corresponding to the first video is displayed on a second screen; on the one hand, the user can conveniently watch the video playing picture of the first video displayed on the first screen, the video playing picture of the first video is prevented from being blocked by the barrage, on the other hand, the user can conveniently watch the barrage corresponding to the first video displayed on the second screen, so that communication with other users is carried out through barrage information, and the video watching requirement and barrage watching requirement of the user can be considered. Then, in response to a first input of a user to a first barrage displayed in a second screen, a first video clip is played, wherein the first video clip is a video clip corresponding to the first barrage, so that the video clip corresponding to the first barrage can be accurately positioned, the user can conveniently view the video clip corresponding to the first barrage interested by the user, and the video viewing requirement and barrage viewing requirement of the user can be met.
The terminal in the embodiment of the application may be an electronic device, or may be a component in an electronic device, for example, an integrated circuit or a chip. The electronic device may be a terminal, or may be other devices than a terminal. By way of example, the electronic device may be a mobile phone, tablet computer, notebook computer, palm computer, vehicle-mounted electronic device, mobile internet appliance (Mobile Internet Device, MID), augmented reality (augmented reality, AR)/Virtual Reality (VR) device, robot, wearable device, ultra-mobile personal computer, UMPC, netbook or personal digital assistant (personal digital assistant, PDA), etc., but may also be a server, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (TV), teller machine or self-service machine, etc., and the embodiments of the present application are not limited in particular.
The terminal in the embodiment of the application may be a device with an action system. The action system may be an Android (Android) action system, an iOS action system, or other possible action systems, and the embodiment of the application is not specifically limited.
The terminal provided by the embodiment of the application can realize each process realized by the embodiment of the method, so as to achieve the same technical effect, and in order to avoid repetition, the description is omitted here.
Optionally, as shown in fig. 11, the embodiment of the present application further provides an electronic device 1110, including a processor 1111, a memory 1112, and a program or an instruction stored in the memory 1112 and capable of running on the processor 1111, where the program or the instruction implements the steps of any one of the embodiments of the video playing method when executed by the processor 1111, and the steps achieve the same technical effects, and are not repeated herein.
The electronic device of the embodiment of the application includes the mobile electronic device and the non-mobile electronic device.
Fig. 12 is a schematic hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 1200 includes, but is not limited to: radio frequency unit 1201, network module 1202, audio output unit 1203, input unit 1204, sensor 1205, display unit 1206, user input unit 1207, interface unit 1208, memory 1209, and processor 1210.
Those skilled in the art will appreciate that the electronic device 1200 may also include a power source (e.g., a battery) for powering the various components, which may be logically connected to the processor 1210 by a power management system, such as to perform functions such as managing charging, discharging, and power consumption by the power management system. The electronic device structure shown in fig. 12 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than illustrated, or may combine certain components, or may be arranged in different components, which are not described in detail herein.
The display unit 1206 is configured to display a video playing frame of the first video on the first screen, and display a bullet screen corresponding to the first video on the second screen;
a user input unit 1207 for receiving a first input of a first bullet screen displayed in the second screen by a user;
the display unit 1206 is further configured to play a first video clip in response to the first input, where the first video clip is a video clip corresponding to the first bullet screen.
In some embodiments, the user input unit 1207 is further configured to, in a case where the electronic device displays the first interface, receive a second input of the user to the first control in the first interface; the first interface comprises a video playing picture of the first video which is displayed in a superposition mode and a barrage corresponding to the first video;
The display unit 1206 is further configured to display a video playing frame of the first video on the first screen and display a bullet screen corresponding to the first video on the second screen in response to the second input.
In some embodiments, the user input unit 1207 is further configured to receive a third input of the user to the video playing frame of the first video; the third input is for indicating: a pause operation, a forward operation, or a reverse operation;
the processor 1210 is configured to control, in response to the third input, the video playing frame of the first video and the barrage corresponding to the first video to perform an operation corresponding to the third input.
In some embodiments, the user input unit 1207 is further configured to receive a fourth input from the user to the second screen; the fourth input is for indicating: a pause operation, a forward operation, or a reverse operation;
the processor 1210 is further configured to control, in response to the fourth input, the barrage corresponding to the first video to perform an operation corresponding to the fourth input.
In some embodiments, the user input unit 1207 is further configured to receive a fifth input of the second control by the user;
the processor 1210 is further configured to adjust, in response to the fifth input, a playing progress of the first video, so that the playing progress of the first video is the same as a playing progress of a bullet screen corresponding to the first video.
In some embodiments, the user input unit 1207 is further configured to receive a sixth input of the first control by the user;
the display unit 1206 is further configured to display the first interface in response to a sixth input.
In some embodiments, the user input unit 1207 is further configured to receive a seventh input of the first control by the user;
the processor 1210 is further configured to set a video frame of the first video as a background picture of the barrage in response to the seventh input.
In some embodiments, the display unit 1206 is further configured to display at least one barrage setting option in response to the first sub-input; the seventh input includes a first sub-input and a second sub-input;
the processor 1210 is further configured to set a video frame of the first video as a background picture of the bullet screen in response to a second sub-input by the user of the at least one bullet screen setting option that follows the video option.
In some embodiments, the user input unit 1207 is further configured to receive an eighth input of the second bullet screen displayed in the second screen from the user;
the memory 1209 is configured to store a second video clip in response to the eighth input, where the second video clip is a video clip corresponding to the second bullet screen.
In some embodiments, the user input unit 1207 is further configured to receive a ninth input of the third bullet screen displayed in the second screen by the user;
And the radio frequency unit 1201 is configured to respond to a ninth input, send first link information to the first contact person, where the first link information is used to skip and display a third video segment, and the third video segment is a video segment corresponding to the third barrage.
In the embodiment of the application, a video playing picture of a first video is displayed on a first screen, and a barrage corresponding to the first video is displayed on a second screen; on the one hand, the user can conveniently watch the video playing picture of the first video displayed on the first screen, the video playing picture of the first video is prevented from being blocked by the barrage, on the other hand, the user can conveniently watch the barrage corresponding to the first video displayed on the second screen, so that communication with other users is carried out through barrage information, and the video watching requirement and barrage watching requirement of the user can be considered. Then, in response to a first input of a user to a first barrage displayed in a second screen, a first video clip is played, wherein the first video clip is a video clip corresponding to the first barrage, so that the video clip corresponding to the first barrage can be accurately positioned, the user can conveniently view the video clip corresponding to the first barrage interested by the user, and the video viewing requirement and barrage viewing requirement of the user can be met.
It should be understood that in the embodiment of the present application, the input unit 1204 may include a graphics processor (Graphics Processing Unit, GPU) 12041 and a microphone 12042, and the graphics processor 12041 processes image data of a still picture or a video image obtained by an image capturing device (such as a camera) in a video image capturing mode or an image capturing mode. The display unit 1206 may include a display panel 12061, and the display panel 12061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1207 includes at least one of a touch panel 12071 and other input devices 12072. The touch panel 12071 is also referred to as a touch screen. The touch panel 12071 may include two parts, a touch detection device and a touch controller. Other input devices 12072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. Memory 1209 may be used to store software programs as well as various data including, but not limited to, application programs and an action system. Processor 1210 may integrate an application processor that primarily processes action systems, user pages, applications, etc., with a modem processor that primarily processes wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 1210.
Memory 1209 may be used to store software programs as well as various data. The memory 1209 may mainly include a first memory area storing programs or instructions and a second memory area storing data, wherein the first memory area may store an operating system, application programs or instructions (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like. Further, the memory 1209 may include volatile memory or nonvolatile memory, or the memory x09 may include both volatile and nonvolatile memory. The nonvolatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable EPROM (EEPROM), or a flash Memory. The volatile memory may be random access memory (Random Access Memory, RAM), static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (ddr SDRAM), enhanced SDRAM (Enhanced SDRAM), synchronous DRAM (SLDRAM), and Direct RAM (DRRAM). Memory 1209 in embodiments of the present application includes, but is not limited to, these and any other suitable types of memory.
Processor 1210 may include one or more processing units; optionally, processor 1210 integrates an application processor that primarily processes operations involving an operating system, user interface, application programs, and the like, and a modem processor that primarily processes wireless communication signals, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into processor 1210.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction realizes each process of the embodiment of the video playing method, and the same technical effects can be achieved, so that repetition is avoided, and no description is repeated here.
Wherein the processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes computer readable storage medium such as computer readable memory ROM, random access memory RAM, magnetic or optical disk, etc.
The embodiment of the application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled with the processor, the processor is used for running a program or instructions, implementing each process of the video playing method embodiment, and achieving the same technical effect, so as to avoid repetition, and no redundant description is provided herein.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, etc.
The embodiments of the present application provide a computer program product stored in a storage medium, where the program product is executed by at least one processor to implement the respective processes of the embodiments of the video playing method described above, and achieve the same technical effects, and are not repeated herein.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solutions of the present application may be embodied essentially or in a part contributing to the prior art in the form of a computer software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), comprising several instructions for causing a terminal (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the methods described in the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those of ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are also within the protection of the present application.

Claims (11)

1. A video playback method performed by an electronic device having a foldable screen, the foldable screen comprising a first screen and a second screen, the method comprising:
displaying a video playing picture of a first video on the first screen, and displaying a barrage corresponding to the first video on the second screen;
receiving a first input of a user to a first barrage displayed in the second screen;
and responding to the first input, and playing a first video clip, wherein the first video clip is a video clip corresponding to the first barrage.
2. The method of claim 1, wherein the displaying the video play of the first video on the first screen and the displaying the bullet screen corresponding to the first video on the second screen is preceded by:
receiving a second input of a user to a first control in a first interface under the condition that the electronic equipment displays the first interface; the first interface comprises a video playing picture of a first video which is displayed in a superposition mode and a barrage corresponding to the first video;
the displaying the video playing picture of the first video on the first screen, and displaying the barrage corresponding to the first video on the second screen includes:
And responding to the second input, displaying a video playing picture of the first video on the first screen, and displaying a barrage corresponding to the first video on the second screen.
3. The method of claim 1, wherein the displaying the video play of the first video on the first screen and the displaying the bullet screen corresponding to the first video on the second screen further comprises:
receiving a third input of a user to a video playing picture of the first video; the third input is for indicating: a pause operation, a forward operation, or a reverse operation;
and responding to the third input, and controlling a video playing picture of the first video and a barrage corresponding to the first video to execute an operation corresponding to the third input.
4. The method of claim 1, wherein the displaying the video play of the first video on the first screen and the displaying the bullet screen corresponding to the first video on the second screen further comprises:
receiving a fourth input of a user to the second screen; the fourth input is for indicating: a pause operation, a forward operation, or a reverse operation;
And responding to the fourth input, and controlling the barrage corresponding to the first video to execute an operation corresponding to the fourth input.
5. The method of claim 4, wherein, in response to the fourth input, after controlling the bullet screen corresponding to the first video to perform an operation corresponding to the fourth input, the method further comprises:
receiving a fifth input of a user to the second control;
and responding to the fifth input, and adjusting the playing progress of the first video so that the playing progress of the first video is the same as the playing progress of the barrage corresponding to the first video.
6. The method of claim 2, wherein the displaying the video play of the first video on the first screen and the displaying the bullet screen corresponding to the first video on the second screen further comprises:
receiving a sixth input of a user to the first control;
the first interface is displayed in response to the sixth input.
7. The method of claim 1, wherein the displaying the video play of the first video on the first screen and before the displaying the bullet screen corresponding to the first video on the second screen further comprises:
Receiving a seventh input of the user to the first control;
in response to the seventh input, a video frame of the first video is set as a background picture of the barrage.
8. The method of claim 7, wherein the seventh input comprises a first sub-input and a second sub-input, and wherein the setting the video frame of the first video as the background picture of the bullet screen in response to the seventh input comprises:
displaying at least one barrage setting option in response to the first sub-input;
and setting the video frame of the first video as a background picture of the barrage in response to a second sub-input of the at least one barrage setting option by a user that follows the video option.
9. The method of claim 1, wherein the displaying the video play of the first video on the first screen and the displaying the bullet screen corresponding to the first video on the second screen further comprises:
receiving an eighth input of a user to a second barrage displayed in the second screen;
and responding to the eighth input, and storing a second video clip, wherein the second video clip is a video clip corresponding to the second barrage.
10. The method of claim 1, wherein the displaying the video play of the first video on the first screen and the displaying the bullet screen corresponding to the first video on the second screen further comprises:
receiving a ninth input of a third barrage displayed in the second screen by a user;
and responding to the ninth input, sending first link information to the first contact person, wherein the first link information is used for jumping to display a third video segment, and the third video segment is a video segment corresponding to the third barrage.
11. A terminal having a foldable screen, the foldable screen comprising a first screen and a second screen, the terminal further comprising:
the display module is used for displaying a video playing picture of a first video on the first screen and displaying a barrage corresponding to the first video on the second screen;
the receiving module is used for receiving a first input of a user to a first barrage displayed in the second screen;
and the playing module is used for responding to the first input and playing a first video clip, wherein the first video clip is a video clip corresponding to the first barrage.
CN202311243978.6A 2023-09-25 2023-09-25 Video playing method and terminal Pending CN117294888A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311243978.6A CN117294888A (en) 2023-09-25 2023-09-25 Video playing method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311243978.6A CN117294888A (en) 2023-09-25 2023-09-25 Video playing method and terminal

Publications (1)

Publication Number Publication Date
CN117294888A true CN117294888A (en) 2023-12-26

Family

ID=89256681

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311243978.6A Pending CN117294888A (en) 2023-09-25 2023-09-25 Video playing method and terminal

Country Status (1)

Country Link
CN (1) CN117294888A (en)

Similar Documents

Publication Publication Date Title
US20240031317A1 (en) Image Sharing Method and Electronic Device
CN112911147B (en) Display control method, display control device and electronic equipment
CN114598823B (en) Special effect video generation method and device, electronic equipment and storage medium
CN112148167A (en) Control setting method and device and electronic equipment
US20240184434A1 (en) Display method and apparatus
CN113794831B (en) Video shooting method, device, electronic equipment and medium
CN115202524B (en) Display method and device
WO2023030292A1 (en) Multimedia file playback method and apparatus
CN115718581A (en) Information display method and device, electronic equipment and storage medium
CN115866314A (en) Video playing method and device
CN115543137A (en) Video playing method and device
CN117294888A (en) Video playing method and terminal
CN115002551A (en) Video playing method and device, electronic equipment and medium
CN114866835A (en) Bullet screen display method, bullet screen display device and electronic equipment
CN114827737A (en) Image generation method and device and electronic equipment
CN114302209A (en) Video processing method, video processing device, electronic equipment and medium
CN112399238A (en) Video playing method and device and electronic equipment
CN114390205B (en) Shooting method and device and electronic equipment
CN117676256A (en) Video playing method and device, electronic equipment and readable storage medium
CN117729382A (en) Video playing method and device, electronic equipment and storage medium
CN114866844B (en) Video playing method and device
CN114911393B (en) Screen capturing method, device, electronic equipment and readable storage medium
CN111949357B (en) Content display method and device
CN115052107B (en) Shooting method, shooting device, electronic equipment and medium
EP4398558A1 (en) Display method and apparatus

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination