WO2022001655A1 - 视频播放的控制方法、装置、电子设备和存储介质 - Google Patents

视频播放的控制方法、装置、电子设备和存储介质 Download PDF

Info

Publication number
WO2022001655A1
WO2022001655A1 PCT/CN2021/100196 CN2021100196W WO2022001655A1 WO 2022001655 A1 WO2022001655 A1 WO 2022001655A1 CN 2021100196 W CN2021100196 W CN 2021100196W WO 2022001655 A1 WO2022001655 A1 WO 2022001655A1
Authority
WO
WIPO (PCT)
Prior art keywords
target
music
display area
video
target display
Prior art date
Application number
PCT/CN2021/100196
Other languages
English (en)
French (fr)
Inventor
张天宇
莫唯书
Original Assignee
北京字节跳动网络技术有限公司
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 北京字节跳动网络技术有限公司 filed Critical 北京字节跳动网络技术有限公司
Priority to EP21834026.3A priority Critical patent/EP4161082A4/en
Publication of WO2022001655A1 publication Critical patent/WO2022001655A1/zh
Priority to US18/089,287 priority patent/US20230132567A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/8106Monomedia components thereof involving special audio data, e.g. different tracks for different languages
    • H04N21/8113Monomedia components thereof involving special audio data, e.g. different tracks for different languages comprising music, e.g. song in MP3 format
    • 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/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/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • 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/47217End-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 controlling playback functions for recorded or on-demand content, e.g. using progress bars, mode or play-point indicators or bookmarks
    • 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/482End-user interface for program selection

Definitions

  • the embodiments of the present disclosure relate to computer technology, and in particular, to a video playback control method, apparatus, electronic device, and storage medium.
  • Embodiments of the present disclosure provide a video playback control method, apparatus, electronic device, and storage medium, so as to realize the function of enriching the music list by playing the video with the music in the music list as the background music through the music list.
  • an embodiment of the present disclosure provides a method for controlling video playback, including:
  • the first target music corresponding to a target music item is used as background music.
  • an embodiment of the present disclosure also provides a video playback control device, including:
  • a first instruction receiving module configured to receive a first video playback instruction, the first video playback instruction is triggered to be generated when the user clicks the video playback control in the first target display area in the music list display interface;
  • the first video playback module is used to play the first target video in the first target display area, and expand the height of the first target display area to a set height value, and the first target video is based on the first target video.
  • the first target music corresponding to the first target music item displayed in a target display area is used as the background music.
  • an embodiment of the present disclosure also provides an electronic device, including:
  • processors one or more processors
  • memory for storing one or more programs
  • the one or more processors When the one or more programs are executed by the one or more processors, the one or more processors implement the video playback control method according to the embodiment of the present disclosure.
  • an embodiment of the present disclosure further provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, implements the video playback control method according to the embodiment of the present disclosure.
  • an embodiment of the present disclosure further provides a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and when the computer program is executed by a processor, causes the processor to implement the implementation of the present disclosure.
  • a computer program product which includes a computer program carried on a non-transitory computer-readable medium, and when the computer program is executed by a processor, causes the processor to implement the implementation of the present disclosure.
  • an embodiment of the present disclosure further provides a computer program, which, when running on an electronic device, enables the electronic device to implement the video playback control method according to the embodiment of the present disclosure.
  • the video playback control method, device, electronic device, and storage medium receive a first video generated when a user clicks a video playback control in a first target display area of a first target music item in a music list display interface
  • the play instruction is to play the first target video with the first target music corresponding to the first target music item as the background music in the first target display area, and expand the height of the first target display area to the set height.
  • FIG. 1 is a schematic flowchart of a method for controlling video playback according to an embodiment of the present disclosure
  • FIG. 2 is a schematic diagram of a music list display interface provided by an embodiment of the present disclosure
  • FIG. 3 is a schematic diagram of a video playback interface provided by an embodiment of the present disclosure.
  • FIG. 4 is a schematic diagram of a music details interface provided by an embodiment of the present disclosure.
  • FIG. 5 is a schematic diagram of another music list display interface provided by an embodiment of the present disclosure.
  • FIG. 6 is a schematic diagram of a current video frame provided by an embodiment of the present disclosure.
  • FIG. 7 is a schematic diagram of a display manner of a current video frame according to an embodiment of the present disclosure.
  • FIG. 8 is a schematic diagram of another display manner of a current video frame provided by an embodiment of the present disclosure.
  • FIG. 9 is a schematic flowchart of another method for controlling video playback provided by an embodiment of the present disclosure.
  • FIG. 10 is a schematic diagram of a third music list display interface provided by an embodiment of the present disclosure.
  • FIG. 11 is a structural block diagram of a control device for video playback provided by an embodiment of the present disclosure.
  • FIG. 12 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
  • the term “including” and variations thereof are open-ended inclusions, ie, "including but not limited to”.
  • the term “based on” is “based at least in part on.”
  • the term “one embodiment” means “at least one embodiment”; the term “another embodiment” means “at least one additional embodiment”; the term “some embodiments” means “at least some embodiments”. Relevant definitions of other terms will be given in the description below.
  • FIG. 1 is a schematic flowchart of a method for controlling video playback according to an embodiment of the present disclosure.
  • the method may be performed by a video playback control apparatus, wherein the apparatus may be implemented by software and/or hardware, and may be configured in an electronic device, typically, a smart phone or a tablet computer.
  • the video playback control method provided by the embodiment of the present disclosure is applicable to the scene of watching videos through the music playlist, and is especially applicable to the scene of watching the short videos shot by other users with the music in the music list as the background music through the music list. .
  • control method for video playback provided by the embodiment of the present disclosure may include:
  • S101 Receive a first video playback instruction, where the generation of the first video playback instruction is triggered when a user clicks a video playback control in a first target display area in a music list display interface.
  • the first video playing instruction may be used to instruct the electronic device to play a video with the first target music corresponding to the first target music item as the background music.
  • the music list display interface is used to display the corresponding music list to the user.
  • the music list may include one or more music items.
  • a music item in the music list can be understood as the music related to a certain piece of music that needs to be displayed in the music list.
  • a music item of a certain music may include at least one of the music name, performer information and music length information of the music; each music item in the music list may have a corresponding display area, and each music item may display in its corresponding display area; correspondingly, the first target display area can be understood as the display area clicked by the user in the music list display interface, and the first target music item can be understood as the music item displayed in the first target display area .
  • the music list displayed in the music list display interface may be a similar music list of a certain piece of music or a music list created and collected by the user himself. It should be noted that, at this time, the music list display interface displayed by the electronic device may be a similar music list display interface of the original music.
  • the electronic device can display a music list to the user in the music list display interface, and the music list display interface includes at least one display area 21 ( FIG. 2 includes three display areas as an example), each The heights of the two display areas can be the same and are the original height.
  • Each display area can display a music item of a piece of music in the music list and a video playback control 211 for the user to trigger the electronic device to play a video with the music corresponding to the music item in the display area as the background music; it can also display There is a favorite button 212 for the user to favorite/unfavorite the music corresponding to the music item in the display area, so that the user can favorite or cancel the favorite music item displayed in the display area by clicking the favorite button 212 in the display area.
  • each display area can also display the music icon 213 of the music corresponding to the displayed music item, and the audio playback control for the user to play/stop playing the music corresponding to the music item in the display area (Fig. not given in ), so that the user can control the electronic device to play/pause the corresponding music by clicking on the audio playback control.
  • the electronic device displays the music list display interface on the screen, when the user wants to watch a video with a certain piece of music as the background music, click on the music item (that is, the first target The video playback control displayed in the display area (that is, the first target display area) of the music item); correspondingly, the electronic device confirms that the first video is received after monitoring that the user clicks the video playback control displayed in the first target display area. Play command.
  • the similar music list display interface of the original music can be switched into from the music details interface of the original music.
  • the method may further include: when the music details interface of the original music is displayed, receiving a similar music display instruction, the similar music display instruction is when the user clicks on the similar music in the details interface.
  • the generation is triggered when the music control is performed; the current display interface is switched from the music details interface to the similar music list display interface of the original music, and the similar music list display interface includes at least one display area, and the height of the display area is the original The height value, the music items similar to the original music are displayed in the display area.
  • the original music may be the music being played by the electronic device or the background music of the video being displayed by the electronic device before the similar music list display interface is displayed.
  • the electronic device displays the video playback interface based on the user's trigger operation, and plays the video in the video playback interface, as shown in Figure 3 , where the background music of the video is the original music, that is, the background music added to the video being played by the electronic device is determined as the original music; when the user wants to view the music details of the background music (that is, the original music) added in the video, Click the music icon in the video playback interface or the display area for background music information; correspondingly, when the electronic device detects that the user clicks the music icon, it confirms that it has received the music details display instruction, and displays the music details interface, as shown in Figure 4.
  • the music details interface there are display music controls for users to view similar music lists of the original music.
  • the music details interface can also display audio playback controls for users to play/stop playing the original music and for users to favorite/unfavorite the original music.
  • Music collection button thus, when the user wants to view the similar music list of the original music, he clicks the display music control in the music details interface; correspondingly, when the electronic device detects that the user clicks the similar music control, it confirms that similar music is received
  • the display instruction displays the similar music list display interface of the original music, as shown in Figure 2.
  • the video displayed in a certain display area may be understood as the video to which the video frame currently displayed in the display area belongs.
  • the first target video uses the first target music as the background music
  • the background music added in the first target video is the first target music
  • the first target video may or may not have the added background music.
  • Audio data; the set height value can be a preset fixed height value or a preferred height value to which the first target display area can currently be expanded, that is, when the position and/or height expansion methods of the first target display area are different , the set height value it extends to can be the same or different, and the set height value can be smaller than the height value of the music list display interface.
  • the electronic device acquires the first target video with the first target music as the background music, and plays the first target video in the first target display area; and moves up the music list
  • the upper boundary line of the first target display area displayed in the display interface and/or the lower boundary line of the first target display area displayed in the music list display interface is moved downward to expand the height of the first target display area to the set height value.
  • the upper boundary line/lower boundary line of the first target display area displayed in the music list can be understood as that the upper boundary line/lower boundary line of the first target display area needs to be within the display range of the screen of the electronic device when the height expansion is performed.
  • the electronic device can first move the position of the first target display area to place it in the display area of the electronic device screen
  • the upper boundary line/lower boundary line outside the range is moved to the upper interface boundary/lower interface boundary of the music list display interface, and then the height of the first target display area is extended to the set height value.
  • only the upper boundary line of the first target display area displayed in the list display interface may be moved, or only the upper boundary line displayed in the list display interface may be moved.
  • the lower boundary line of the first target display area; the upper boundary line and the lower boundary line of the first target display area displayed in the list display interface can also be moved simultaneously.
  • the extending the height of the first target display area to a set height value includes: moving the upper boundary line of the first target display area on the music list display interface upward until The height of the first target display area reaches the set height value.
  • the set height value may be the height value of the first target display area when the upper boundary line of the first target display area moves to overlap with the interface boundary of the music list interface or a preset fixed height value.
  • the electronic device moves the upper boundary line of the first target display area upward until the upper boundary line of the first target display area overlaps with the upper interface boundary of the music list display interface.
  • the electronic device moves the upper boundary line of the first target display area upward until the height of the first target display area reaches a preset fixed height value.
  • the electronic device moves the upper boundary line of the first target display area upward until the upper boundary line of the first target display area overlaps with the upper interface boundary of the music list display interface or the height of the first target display area reaches a preset fixed height.
  • the electronic device moves the upper boundary line of the first target display area upward, and periodically determines whether the ordinate of the upper boundary line of the first target area is equal to the ordinate of the interface boundary on the music list display interface during the moving process And whether the distance between the upper and lower boundary lines of the first target display area reaches a preset fixed height value, if the ordinate of the upper boundary line of the first target display area is equal to the ordinate of the interface boundary on the music list display interface or the first target When the distance between the upper and lower boundary lines of the display area reaches the preset fixed height value, stop moving the upper boundary line of the first target display area upward; otherwise, continue to move the upper boundary line of the first target display area upward until the first The ordinate of the upper boundary line of the target display area is equal to the ordinate of the upper boundary of the music list display interface or the distance between the upper and lower boundary lines of the first target display area reaches a preset fixed height value.
  • the electronic device when the electronic device moves the upper boundary of the first target display area upwards, the electronic device may also move upwardly the display areas of other music items located above the first target display area synchronously, so as to avoid being located above the first target display area The other music items are blocked by the expanded first target display area.
  • extending the height of the first target display area to a set height value further includes: controlling other display areas located above the first target display area in the music list display interface to follow The upper boundary line moves upward synchronously.
  • the extending the height of the first target display area to a set height value includes: moving the lower boundary line of the target display area in the music list display interface downward until all the The height of the first target display area reaches the set height value.
  • the set height value may be the height value of the first target display area when the lower boundary line of the first target display area moves down to overlap with the interface boundary of the music list interface or a preset fixed height value.
  • the electronic device moves the lower boundary line of the first target display area downward until the lower boundary line of the first target display area overlaps with the lower interface boundary of the music list display interface.
  • the electronic device moves the lower boundary line of the first target display area downward until the height of the first target display area reaches a preset fixed height value.
  • the electronic device moves the lower boundary line of the first target display area downward until the lower boundary line of the first target display area overlaps with the lower interface boundary of the music list display interface or the height of the first target display area reaches a preset fixed height value.
  • the electronic device moves the lower boundary line of the first target display area downward, and periodically determines whether the ordinate of the lower boundary line of the first target area is equal to the ordinate of the lower interface boundary of the music list display interface and the ordinate during the movement process. Whether the distance between the upper and lower boundary lines of a target display area reaches a preset fixed height value, if the ordinate of the lower boundary line of the first target display area is equal to the ordinate of the lower interface boundary of the music list display interface or the upper and lower boundaries of the first target display area When the distance between the boundary lines reaches the preset fixed height value, stop moving the lower boundary line of the first target display area downward; otherwise, continue to move the lower boundary line of the first target display area downward until the first target display area
  • the vertical coordinate of the lower boundary line of the music list display interface is equal to the vertical coordinate of the lower interface boundary of the music list display interface or the distance between the upper and lower boundary lines of the first target display area reaches a preset fixed height value.
  • expanding the height of the first target display area to a set height value further includes: controlling other display areas located below the first target display area in the music list display interface to follow The upper and lower boundary lines move downward synchronously.
  • the expanding the height of the first target display area to a set height value includes: moving upward an upper boundary line of the first target display area in the music list display interface , until the upper boundary line overlaps with the interface boundary of the music list display interface or the height of the first target display area reaches the set height value; and, moving the target display area downwards in the music list display The lower boundary line in the interface, until the lower boundary line overlaps with the interface boundary of the music list display interface or the height of the first target display area reaches the set height value.
  • the set height value may be a preset fixed height value.
  • the electronic device can move the upper boundary line and the lower boundary line of the first target display area at the same time, and periodically determine whether the ordinate of the upper boundary line of the first target display area is smaller than the upper boundary line of the music list display interface during the movement process.
  • the vertical coordinate of the boundary, the vertical coordinate of the lower boundary line of the first target display area is greater than the vertical coordinate of the lower interface boundary of the music list display interface, and whether the distance between the upper and lower boundary lines of the first target display area reaches the set height value, if the The vertical coordinate of the upper boundary line of a target display area is equal to the vertical coordinate of the upper interface boundary of the music list display interface and the distance between the upper boundary line and the lower boundary of the first target display area does not reach the set height value, then stop moving up the first an upper boundary line of the target display area, and continue to move the lower boundary line of the first target display area downward until the distance between the upper boundary line and the lower boundary line of the first target display area reaches the set height value; if the first target display area The vertical coordinate of the lower boundary line of the music list display interface is equal to the vertical coordinate of the lower interface boundary of the music list display interface and the distance between the upper boundary line and the lower boundary of the first target display area does not reach the set height value, then stop moving the first target display area downward
  • the electronic device may also not move the upper boundary line and the lower boundary line of the first target display area at the same time.
  • the electronic device preferentially moves the upper boundary line of the first target display area upward until the upper boundary line of the first target display area overlaps with the upper interface boundary of the music list display interface or the height of the first target display area reaches the set height value , and only when the upper boundary line of the first target display area overlaps with the upper interface boundary of the music list display interface and the height of the first target display area has not reached the set height value, move the lower edge of the first target display area downwards The boundary line, until the height of the first target display area reaches the set height value; or, the electronic device preferentially moves the lower boundary line of the first target display area downward until the lower boundary line of the first target display area and the lower interface of the music list display interface The boundary overlaps or the height of the first target display area reaches the set height value, and only when the lower boundary line of the first target display area overlaps with the lower interface boundary of the music list
  • extending the height of the first target display area to a set height value further includes: controlling other display areas located above the first target display area in the music list display interface to follow The upper boundary line moves upward synchronously; and other display areas located below the first target display area in the music list display interface are controlled to move downward synchronously with the lower boundary line.
  • the music list display interface is shown in FIG. 5 .
  • FIG. 5 takes the first target music item as music item 1 in the music list display interface shown in FIG. 2 as an example.
  • the first target music items, music icons, video playback controls and favorite buttons displayed in the first target display area can move synchronously with the upper boundary line of the first target display area.
  • the video frame of the first target video can be completely or incompletely displayed in the first target display area, such as , assuming that the current video frame that needs to be displayed at the current moment of the first target display area is shown in FIG. 6 , when the height to which the first target display area is currently extended is lower than the height of the current video frame, the electronic device can only display the current video frame in the first target display area.
  • the video playback control method provided by this embodiment receives the first video playback instruction generated when the user clicks the video playback control in the first target display area of the first target music item in the music list display interface, and displays the first video playback instruction in the first target display area. Play the first target video with the first target music corresponding to the first target music item as the background music, and expand the height of the first target display area to the set height.
  • the function of playing a video with the music in the music list as the background music can be realized through the music list. Yes, the user does not need to perform a video search operation based on the music items in the music list, thereby improving the convenience for the user to watch the video and saving the time spent by the user searching for the video.
  • FIG. 9 is a schematic flowchart of another video playback control method provided by an embodiment of the present disclosure.
  • the solution in this embodiment may be combined with one or more optional solutions in the foregoing embodiments.
  • the method further includes: receiving a video switching instruction, and the video switching instruction is displayed when the user displays on the first target The generation is triggered when the area slides left and right; the first target video is switched to another target video with the first target music as the background music.
  • the method further includes: receiving a list return instruction, and the list return instruction is displayed when the user clicks on a non-control in the first target display area.
  • the generation is triggered when the sub-area is generated; the height of the first target display area is shrunk to the original height value, and the display of the first target video in the first target display area is stopped.
  • the method further includes: receiving a music usage instruction, the music usage instruction is when the user clicks a usage control in the first target display area.
  • Trigger generation switch the current display interface from the music list display interface to the video recording interface, and turn on the camera to record the self-made video with the first target music as the background music.
  • control method for video playback provided in this embodiment may include:
  • S201 Receive a first video playback instruction, where the generation of the first video playback instruction is triggered when a user clicks a video playback control in a first target display area of a first target music item in a music list display interface.
  • S203 Receive a video switching instruction, where the video switching instruction is triggered to be generated when the user slides left and right in the first target display area.
  • the video switching instruction may be used to switch the video displayed in the first target display area.
  • the electronic device displays the first target video with the first target music as the background music to the user through the first target display area.
  • the finger and the like slide left and right in the first target display area; correspondingly, when the electronic device detects the user's sliding gesture in the first target display area, it confirms that the video switching instruction is received, and obtains a video with the first target music as the background music.
  • other video and display the other video in the first target display area, for example, when the other video is not loaded, display a certain video frame of the other video in the first target display area; when the other video is loaded, The other video is played in the first target display area.
  • the video switching instruction may be a video forward switching instruction or a video backward switching instruction.
  • a video backward switching instruction may be generated when the user swipes to the left in the first target display area.
  • the electronic device can perform video switching in a certain order, for example, it can sort the videos with the first target music as the background music according to preset rules, and select a certain number (such as 3, 5 or 10, etc.) based on the sorting result.
  • the music use instruction may be used for the user to trigger an operation of using the first target music as background music to record a video.
  • the control can be used to pop up from one side (such as the right side) of the first target display area when the electronic device receives the first video playback instruction, and move synchronously with the upper boundary line of the first target display area during or after the pop-up ;
  • the electronic device receives the second video playback instruction or the list return instruction, it can be retracted to one side of the target display area according to its pop-up route, and in the retracting process, it can follow the upper boundary of the first target display area. Lines move synchronously.
  • the use control pops up or retracts from the display side of the favorite button (eg, the right side of the first target display area)
  • the favorite button displayed in the first display area can also move synchronously with the use control to avoid being blocked by the use control.
  • the electronic device displays the first target video with the first target music as the background music to the user through the first target display area.
  • the user wants to use the first target music as the background music to record a video
  • the electronic device detects that the user clicks the use control in the first target display area, it confirms that it has received the music usage instruction, displays the video recording interface, and turns on the camera (such as the front camera or the rear camera, etc. ), so that the user can control the camera to record video in the video recording interface, and after the video recording is completed, a self-made video with the first target music as the background music can be obtained.
  • the list return instruction can be used to return to the state that each display area of the music list display interface is neither highly expanded nor showing video;
  • the non-control display sub-area can be understood as a sub-area where no controls are displayed in the first target display area ;
  • Stop displaying the first target video in the first target display area can be understood as stopping displaying any video frame of the first target video in the first target display area, that is, no more video frames are displayed in the first target display area.
  • the electronic device displays the target video with the first target music as the background music to the user through the first target display area.
  • click the non-control display sub-area in the first target display area correspondingly, when the electronic device detects that the user clicks the non-control display sub-area of the first target display area, it confirms that the list return instruction is received, and the first target display area is displayed.
  • the height shrinks to the original height value, and stops displaying the video in the first target display area.
  • the list display interface after the shrinkage of the first target display area is completed may be as shown in FIG. 2 .
  • the shrinking method used when shrinking the height of the first target display area to the original height value can be selected as required. For example, only the lower boundary line of the first target display area can be moved upward, and The upper boundary line of the target display area, or, the lower boundary line of the first target display area is moved upward and the upper boundary line of the first target display area is moved downward at the same time.
  • the music item displayed in the post-music list presentation interface has the same display position as each music item displayed in the pre-expansion music list.
  • the above-mentioned control method for video playback may further include: receiving a second video playback instruction, where the second video playback instruction is triggered to be generated when the user clicks the video playback control in the second target display area in the music list interface ; shrink the height of the first target display area to the original height value, and stop displaying the first target video in the first target display area; and play the second target video in the second target display area , and expand the height of the second target display area to a set height value, and the second target video takes the second target music corresponding to the second target music item displayed in the second target area as the background music .
  • the second video playing instruction may be used to instruct the electronic device to play a video in which the second target music corresponding to the second target music item is background music in the second target display area.
  • the user when the electronic device plays the first target video in the first target display area, the user can slide up and down to check that the display area in the music list is all or partially located outside the screen display area of the electronic device music item (as shown in the music item 3 in Figure 5), and when you want to watch the video with the music (ie the second target music) corresponding to the other music items (ie the second target music item) as the background music, click to display The video playback control in the second target display area of the music item; correspondingly, when the electronic device detects that the user clicks the video playback control in the second target display area, it confirms that the second video playback instruction is received, and stops at the first video playback control.
  • the target display area displays the first target video, shrinks the height of the first target display area to the original height value, and plays the second target video with the second target music as the background music in the second target display area.
  • the height of the first target display area is expanded to the set height value
  • the height of the first target display area is shrunk to the original height value
  • the height of the second target display area is expanded to the set height value.
  • the music list display interface can be shown in Figure 10, Figure 10 Take the second target music item as the music item 3 in FIG. 5 as an example.
  • the electronic device can, based on the received different instructions, switch the video displayed in the music list display interface, record the video with the background music of the currently displayed video as the background music, and return the original state of the music list to record for the user.
  • Video provides more reference videos to reduce the difficulty for users to record videos.
  • FIG. 11 is a structural block diagram of a video playback control apparatus provided by an embodiment of the present disclosure.
  • the device can be implemented by software and/or hardware, and can be configured in an electronic device, typically, a smart phone or a tablet computer, and the electronic device can be controlled to play the video in the music list display interface through the control device for executing video playback .
  • the device includes a first instruction receiving module 1101 and a first video playing module 1102, wherein,
  • the first instruction receiving module 1101 is configured to receive a first video playback instruction, the first video playback instruction is triggered and generated when the user clicks the video playback control in the first target display area in the music list display interface;
  • the first video playback module 1102 is configured to play the first target video in the first target display area, and expand the height of the first target display area to a set height value, and the first target video uses the The first target music corresponding to the first target music item displayed in the first target display area is used as the background music.
  • the video playback control device receives, through the first instruction receiving module, a first video playback instruction generated when the user clicks on the video playback control in the first target display area of the first target music item in the music list display interface,
  • the first target video with the first target music corresponding to the first target music item as the background music is played in the first target display area by the first video playing module, and the height of the first target display area is extended to the set height.
  • the function of playing a video with the music in the music list as the background music can be realized through the music list. Yes, the user does not need to perform a video search operation based on the music items in the music list, thereby improving the convenience for the user to watch the video and saving the time spent by the user searching for the video.
  • the extending the height of the first target display area to a set height value includes: moving the upper boundary line of the first target display area in the music list display interface upward until the The upper boundary line overlaps with the interface boundary of the music list display interface or the height of the first target display area reaches a set height value; and, moving down the lower edge of the target display area in the music list display interface until the lower boundary line overlaps with the interface boundary of the music list display interface or the height of the first target display area reaches a set height value.
  • extending the height of the first target display area to a set height value further includes: controlling other display areas located above the first target display area in the music list display interface to follow the music list display interface.
  • the upper boundary line moves upward synchronously; and, controlling other display areas located below the first target display area in the music list display interface to move downward synchronously with the lower boundary line.
  • the video playback control device may further include: a second instruction receiving module, configured to receive a second video playback instruction after the first target video is played in the first target display area, The second video playback instruction is triggered and generated when the user clicks the video playback control in the second target display area in the music list interface; the second video playback module is used to shrink the height of the first target display area to the original height value, and stop displaying the first target video in the first target display area; and, play the second target video in the second target display area, and expand the height of the second target display area to set
  • the second target video uses the second target music corresponding to the second target music item displayed in the second target area as the background music.
  • the video playback control device may further include: a switching instruction receiving module, configured to receive a video switching instruction after the first target video is played in the first target display area, the video The switching instruction is triggered and generated when the user slides left and right on the first target display area; a video switching module is used to switch the first target video to another target video with the first target music as background music.
  • a switching instruction receiving module configured to receive a video switching instruction after the first target video is played in the first target display area, the video The switching instruction is triggered and generated when the user slides left and right on the first target display area
  • a video switching module is used to switch the first target video to another target video with the first target music as background music.
  • the video playback control device may further include: a return instruction receiving module, configured to receive a list return instruction after the first target video is played in the first target display area, the list The return instruction is triggered and generated when the user clicks on the non-control display sub-area in the first target display area; the height shrinking module is used to shrink the height of the first target display area to the original height value, and stop at the The first target display area displays the first target video.
  • a return instruction receiving module configured to receive a list return instruction after the first target video is played in the first target display area, the list The return instruction is triggered and generated when the user clicks on the non-control display sub-area in the first target display area
  • the height shrinking module is used to shrink the height of the first target display area to the original height value, and stop at the The first target display area displays the first target video.
  • the video playback control device may further include: a usage instruction receiving module, configured to receive a music usage instruction after the first target video is played in the first target display area, the music The usage instruction triggers the generation when the user clicks the usage control in the first target display area; the video recording module is used to switch the current display interface from the music list display interface to the video recording interface, and turn on the camera to record the
  • the first target music is a self-made video of background music.
  • the music list display interface is a similar music list display interface of the original music
  • the video playback control device provided in this embodiment may further include: a display instruction receiving module, used for receiving the first video playback instruction before receiving the first video playback instruction.
  • a display instruction receiving module used for receiving the first video playback instruction before receiving the first video playback instruction.
  • the music list display module is used to display the current display interface.
  • the similar music list display interface includes at least one display area, the height of the display area is the original height value, and the display area displays Music items of similar music to the original music.
  • the video playback control apparatus provided by the embodiment of the present disclosure can execute the video playback control method provided by any embodiment of the present disclosure, and has functional modules and beneficial effects corresponding to the video playback control method.
  • the video playback control method provided by any embodiment of the present disclosure can execute the video playback control method provided by any embodiment of the present disclosure, and has functional modules and beneficial effects corresponding to the video playback control method.
  • FIG. 12 it shows a schematic structural diagram of an electronic device (eg, a terminal device) 1200 suitable for implementing an embodiment of the present disclosure.
  • Terminal devices in the embodiments of the present disclosure may include, but are not limited to, such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablets), PMPs (portable multimedia players), vehicle-mounted terminals (eg, mobile terminals such as in-vehicle navigation terminals), etc., and stationary terminals such as digital TVs, desktop computers, and the like.
  • the electronic device shown in FIG. 12 is only an example, and should not impose any limitation on the function and scope of use of the embodiments of the present disclosure.
  • an electronic device 1200 may include a processing device (eg, a central processing unit, a graphics processor, etc.) 1201 that may be loaded into random access according to a program stored in a read only memory (ROM) 1202 or from a storage device 1206 Various appropriate actions and processes are executed by the programs in the memory (RAM) 1203 . In the RAM 1203, various programs and data required for the operation of the electronic device 1200 are also stored.
  • the processing device 1201, the ROM 1202, and the RAM 1203 are connected to each other through a bus 1204.
  • An input/output (I/O) interface 1205 is also connected to bus 1204 .
  • the following devices may be connected to the I/O interface 1205: input devices 1206 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; including, for example, a liquid crystal display (LCD), speakers, vibration An output device 1207 of a computer, etc.; a storage device 1206 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1209. Communication means 1209 may allow electronic device 1200 to communicate wirelessly or by wire with other devices to exchange data.
  • FIG. 12 shows an electronic device 1200 having various means, it should be understood that not all of the illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
  • embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated in the flowchart.
  • the computer program may be downloaded and installed from the network through the communication device 1209, or from the storage device 1206, or from the ROM 1202.
  • the processing apparatus 1201 When the computer program is executed by the processing apparatus 1201, the above-mentioned functions defined in the methods of the embodiments of the present disclosure are executed.
  • Embodiments of the present disclosure also include a computer program that, when executed on an electronic device, performs the above-mentioned functions defined in the methods of the embodiments of the present disclosure.
  • the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the above two.
  • the computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or a combination of any of the above. More specific examples of computer readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable Programmable read only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the above.
  • a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
  • a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave with computer-readable program code embodied thereon. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • a computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device .
  • Program code embodied on a computer readable medium may be transmitted using any suitable medium including, but not limited to, electrical wire, optical fiber cable, RF (radio frequency), etc., or any suitable combination of the foregoing.
  • the client and server can use any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol) to communicate, and can communicate with digital data in any form or medium Communication (eg, a communication network) interconnects.
  • HTTP HyperText Transfer Protocol
  • Examples of communication networks include local area networks (“LAN”), wide area networks (“WAN”), the Internet (eg, the Internet), and peer-to-peer networks (eg, ad hoc peer-to-peer networks), as well as any currently known or future development network of.
  • the above-mentioned computer-readable medium may be included in the above-mentioned electronic device; or may exist alone without being assembled into the electronic device.
  • the above-mentioned computer-readable medium carries one or more programs, and when the above-mentioned one or more programs are executed by the electronic device, the electronic device is made to: receive a first video playback instruction, and the first video playback instruction is executed when the user clicks the music.
  • the generation is triggered when the video playback control in the first target display area in the list display interface is played; the first target video is played in the first target display area, and the height of the first target display area is expanded to a set height value,
  • the first target video uses the first target music corresponding to the first target music item displayed in the first target display area as the background music.
  • Computer program code for performing operations of the present disclosure may be written in one or more programming languages, including but not limited to object-oriented programming languages—such as Java, Smalltalk, C++, and This includes conventional procedural programming languages - such as the "C" language or similar programming languages.
  • the program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server.
  • the remote computer may be connected to the user's computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (eg, using an Internet service provider through Internet connection).
  • LAN local area network
  • WAN wide area network
  • each block in the flowchart or block diagrams may represent a module, segment, or portion of code that contains one or more logical functions for implementing the specified functions executable instructions.
  • the functions noted in the blocks may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved.
  • each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations can be implemented in dedicated hardware-based systems that perform the specified functions or operations , or can be implemented in a combination of dedicated hardware and computer instructions.
  • the units involved in the embodiments of the present disclosure may be implemented in a software manner, and may also be implemented in a hardware manner. Among them, the name of the module does not constitute a limitation of the unit itself under certain circumstances.
  • exemplary types of hardware logic components include: Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), Systems on Chips (SOCs), Complex Programmable Logical Devices (CPLDs) and more.
  • FPGAs Field Programmable Gate Arrays
  • ASICs Application Specific Integrated Circuits
  • ASSPs Application Specific Standard Products
  • SOCs Systems on Chips
  • CPLDs Complex Programmable Logical Devices
  • a machine-readable medium may be a tangible medium that may contain or store a program for use by or in connection with the instruction execution system, apparatus or device.
  • the machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium.
  • Machine-readable media may include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or devices, or any suitable combination of the foregoing.
  • machine-readable storage media would include one or more wire-based electrical connections, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), fiber optics, compact disk read only memory (CD-ROM), optical storage, magnetic storage, or any suitable combination of the foregoing.
  • RAM random access memory
  • ROM read only memory
  • EPROM or flash memory erasable programmable read only memory
  • CD-ROM compact disk read only memory
  • magnetic storage or any suitable combination of the foregoing.
  • Example 1 provides a method for controlling video playback, including:
  • the first target music corresponding to a target music item is used as background music.
  • Example 2 According to the method of Example 1, the extending the height of the first target display area to a set height value includes:
  • Example 3 According to the method of Example 2, the extending the height of the first target display area to a set height value further includes:
  • Example 4 According to the method of Example 1, the extending the height of the first target display area to a set height value includes:
  • Example 5 according to the method of any one of Examples 1-4, after the playing the first target video in the first target display area, further includes:
  • the second video playback instruction is triggered to be generated when the user clicks the video playback control in the second target display area in the music list interface;
  • the height of the second target display area is extended to a set height value, and the second target video takes the second target music corresponding to the second target music item displayed in the second target area as the background music.
  • Example 6 according to the method of any one of Examples 1-4, after the playing the first target video in the first target display area, further includes:
  • the video switching instruction is triggered to be generated when the user slides left and right in the first target display area
  • the first target video is switched to another target video with the first target music as background music.
  • Example 7 according to the method of any one of Examples 1-4, after the playing the first target video in the first target display area, further includes:
  • the height of the first target display area is shrunk to the original height value, and the display of the first target video in the first target display area is stopped.
  • Example 8 according to the method of any one of Examples 1-4, after the playing the first target video in the first target display area, further includes:
  • the music usage instruction is triggered to be generated when the user clicks the usage control in the first target display area;
  • the current display interface is switched from the music list display interface to the video recording interface, and the camera is turned on to record the self-made video with the first target music as the background music.
  • the music list display interface is a similar music list display interface of the original music, and before the receiving the first video playback instruction, further comprising: :
  • the similar music list display interface includes at least one display area, the height of the display area is the original height value, and the display Music items similar to the original music are displayed in the area.
  • Example 10 provides a video playback control apparatus, including:
  • a first instruction receiving module configured to receive a first video playback instruction, the first video playback instruction is triggered to be generated when the user clicks the video playback control in the first target display area in the music list display interface;
  • the first video playback module is used to play the first target video in the first target display area, and expand the height of the first target display area to a set height value, and the first target video is based on the first target video.
  • the first target music corresponding to the first target music item displayed in a target display area is used as the background music.
  • Example 11 provides an electronic device, comprising:
  • processors one or more processors
  • memory for storing one or more programs
  • the one or more processors When the one or more programs are executed by the one or more processors, the one or more processors implement the video playback control method as described in any one of Examples 1-9.
  • Example 12 provides a computer-readable storage medium having stored thereon a computer program that, when executed by a processor, implements the video as described in any of Examples 1-9 Playback control method.
  • Example 13 provides a computer program product comprising a computer program carried on a non-transitory computer-readable medium, the computer program, when executed by a processor, causes the processor to implement The control method for video playback as described in any one of Examples 1-9.
  • Example 14 provides a computer program that, when executed on an electronic device, causes the electronic device to implement the video playback control method as described in any of Examples 1-9.

Landscapes

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

Abstract

本公开实施例提供了一种视频播放的控制方法、装置、电子设备和存储介质。该方法包括:接收第一视频播放指令,所述第一视频播放指令在用户点击音乐列表显示界面中第一目标显示区域内的视频播放控件时触发生成;在所述第一目标显示区域播放第一目标视频,并将所述第一目标显示区域的高度扩展为设定高度值,所述第一目标视频以所述第一目标显示区域内显示的第一目标音乐项所对应的第一目标音乐作为背景音乐。本公开实施例通过采用上述技术方案,能够实现通过音乐列表播放以音乐列表中的音乐为背景音乐的视频的功能。

Description

视频播放的控制方法、装置、电子设备和存储介质
相关申请的交叉引用
本申请要求于2020年6月30日提交的申请号为202010617537.8、名称为“视频播放的控制方法、装置、电子设备和存储介质”的中国专利申请的优先权,此申请的内容通过引用并入本文。
技术领域
本公开实施例涉及计算机技术,尤其涉及一种视频播放的控制方法、装置、电子设备和存储介质。
背景技术
随着计算机技术的发展以及电子设备质量的提升,通过电子设备收听音乐已逐渐成为一种深受用户喜爱的休闲方式。
用户在通过电子设备播放音乐时,通常会首先将电子设备的显示界面切换至音乐列表显示界面,然后点击音乐列表的播放按钮播放音乐列表中的歌曲,或者,点击音乐列表中某一首歌曲的播放按钮播放该歌曲。
但是,现有技术中用户通过音乐列表只能收听音乐,音乐列表功能较为单一。
发明内容
本公开实施例提供一种视频播放的控制方法、装置、电子设备和存储介质,以实现通过音乐列表播放以音乐列表中的音乐为背景音乐的视频,丰富音乐列表的功能。
第一方面,本公开实施例提供了一种视频播放的控制方法,包括:
接收第一视频播放指令,所述第一视频播放指令在用户点击音乐列表显示界面中第一目标显示区域内的视频播放控件时触发生成;
在所述第一目标显示区域播放第一目标视频,并将所述第一目标显示区域的高度扩展为设定高度值,所述第一目标视频以所述第一目标显示区域内显示的第一目标音乐项所对应的第一目标音乐作为背景音乐。
第二方面,本公开实施例还提供了一种视频播放的控制装置,包括:
第一指令接收模块,用于接收第一视频播放指令,所述第一视频播放指令在用户点击音乐列表显示界面中第一目标显示区域内的视频播放控件时触发生成;
第一视频播放模块,用于在所述第一目标显示区域播放第一目标视频,并将所述第一目标显示区域的高度扩展为设定高度值,所述第一目标视频以所述第一目标显示区域内显示的第一目标音乐项所对应的第一目标音乐作为背景音乐。
第三方面,本公开实施例还提供了一种电子设备,包括:
一个或多个处理器;
存储器,用于存储一个或多个程序,
当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如本公开实施例所述的视频播放的控制方法。
第四方面,本公开实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现如本公开实施例所述的视频播放的控制方法。
第五方面,本公开实施例还提供了一种计算机程序产品,其包括承载在非暂态计算机可读介质上的计算机程序,该计算机程序被处理器执行时,使得处理器实现如本公开实施例所述的视频播放的控制方法。
第六方面,本公开实施例还提供了一种计算机程序,当其在电子设备上运行时,使得电子设备实现如本公开实施例所述的视频播放的控制方法。
本公开实施例提供的视频播放的控制方法、装置、电子设备和存储介质,接收用户点击音乐列表显示界面中第一目标音乐项的第一目标显示区域内的视频播放控件时生成的第一视频播放指令,在第一目标显示区域播放以第一目标音乐项所对应的第一目标音乐为背景音乐的第一目标视频,并将第一目标显示区域的高度扩展为设定高度。本公开实施例通过采用上述技术方案,能够实现通过音乐列表播放以音乐列表中的音乐为背景音乐的视频的功能,用户在想要收看视频时直接点击音乐列表中相应显示区域中的视频播放控件即可,无需用户再基于音乐列表中的音乐项进行视频搜索操作,进而提高用户收看视频地便利性,节省用户搜索视频所耗费的时间。
附图说明
结合附图并参考以下具体实施方式,本公开各实施例的上述和其他特征、优点及方面将变得更加明显。贯穿附图中,相同或相似的附图标记表示相同或相似的元素。应当理解附图是示意性的,元件和元素不一定按照比例绘制。
图1为本公开实施例提供的一种视频播放的控制方法的流程示意图;
图2为本公开实施例提供的一种音乐列表显示界面示意图;
图3为本公开实施例提供的一种视频播放界面示意图;
图4为本公开实施例提供的一种音乐详情界面示意图;
图5为本公开实施例提供的另一种音乐列表显示界面示意图;
图6为本公开实施例提供的一种当前视频帧示意图;
图7为本公开实施例提供的一种当前视频帧的展示方式示意图;
图8为本公开实施例提供的另一种当前视频帧的展示方式示意图;
图9为本公开实施例提供的另一种视频播放的控制方法的流程示意图;
图10为本公开实施例提供的第三种音乐列表显示界面示意图;
图11为本公开实施例提供的一种视频播放的控制装置的结构框图;
图12为本公开实施例提供的一种电子设备的结构示意图。
具体实施方式
下面将参照附图更详细地描述本公开的实施例。虽然附图中显示了本公开的某些实施例,然而应当理解的是,本公开可以通过各种形式来实现,而且不应该被解释为限于这里阐述的实施例,相反提供这些实施例是为了更加透彻和完整地理解本公开。应当理解的是,本公开的附图及实施例仅用于示例性作用,并非用于限制本公开的保护范围。
应当理解,本公开的方法实施方式中记载的各个步骤可以按照不同的顺序执行,和/或并行执行。此外,方法实施方式可以包括附加的步骤和/或省略执行示出的步骤。本公开的范围在此方面不受限制。
本文使用的术语“包括”及其变形是开放性包括,即“包括但不限于”。术语“基于”是“至少部分地基于”。术语“一个实施例”表示“至少一个实施例”;术语“另一实施例”表示“至少一个另外的实施例”;术语“一些实施例”表示“至少一些实施例”。其他术语的相关定义将在下文描述中给出。
需要注意,本公开中提及的“第一”、“第二”等概念仅用于对不同的装置、模块或单元进行区分,并非用于限定这些装置、模块或单元所执行的功能的顺序或者相互依存关系。
需要注意,本公开中提及的“一个”、“多个”的修饰是示意性而非限制性的,本领域技术人员应当理解,除非在上下文另有明确指出,否则应该理解为“一个或多个”。
本公开实施方式中的多个装置之间所交互的消息或者信息的名称仅用于说明性的目的,而并不是用于对这些消息或信息的范围进行限制。
图1为本公开实施例提供的一种视频播放的控制方法的流程示意图。该方法可以由视频播放的控制装置来执行,其中,该装置可以由软件和/或硬件实现,可配置于电子设备中,典型的,可以配置在智能手机或平板电脑中。可选的,本公开实施例提供的视频播放的控制方法适用于通过音乐播放列表观看视频的场景,尤其适用于通过音乐列表观看其他用户以音乐列表中的音乐为背景音乐拍摄的短视频的场景。
如图1所示,本公开实施例提供的视频播放的控制方法可以包括:
S101、接收第一视频播放指令,所述第一视频播放指令在用户点击音乐列表显示界面中第一目标显示区域内的视频播放控件时触发生成。
其中,第一视频播放指令可以用于指示电子设备播放以第一目标音乐项对应的第一目标音乐为背景音乐的视频。音乐列表展示界面用于向用户展示相应音乐列表,该音乐列表中可以包括一个或多个音乐项,音乐列表中的一个音乐项可以理解为与需要在音乐列表中展示的某一首音乐的音乐信息,如某一音乐的音乐项可以包括该音乐的音乐名称、演唱者信息和音乐长度信息中的至少一项;音乐列表中的每一个音乐项可以对应有一个显示区域,每个音乐项可以在其对应的显示区域中显示;相应的,第一目标显示区域可以理解为用户在音乐列表显示界面中点击的显示区域,第一目标音乐项可以理解为第一目标显示区域中显示的音乐项。
在本实施例中,音乐列表展示界面中所展示的音乐列表可以为某一首音乐的相似音乐列表或用户自己创建、收藏的音乐列表,以下以音乐列表为原始音乐的相似音乐列表为例进行说明,此时,电子设备所展示的音乐列表显示界面可以为原始音乐的相似音乐列表显示界面。
示例性的,请参考图2,电子设备可以在音乐列表显示界面中向用户展示音乐列表,该音乐列表显示界面中包含至少一个显示区域21(图2以包含三个显示区域为例),每个显示区域的高度可以相同且均为原始高度。每个显示区域中可以显示有音乐列表中一首音乐的音乐项 和用于供用户触发电子设备播放以该显示区域中音乐项所对应音乐为背景音乐的视频的视频播放控件211;还可以显示有供用户收藏/取消收藏该显示区域的音乐项所对应音乐的收藏按钮212,从而,用户可以通过点击某一显示区域中的收藏按钮212收藏或取消收藏该显示区域中显示的音乐项所对应的音乐;此外,每个显示区域中还可以显示有其所显示音乐项所对应音乐的音乐图标213,以及,供用户播放/停止播放该显示区域的音乐项所对应音乐的音频播放控件(图中未给出),以供用户通过点击该音频播放控件控制电子设备播放/暂停播放相应的音乐。
具体的,请继续参考图2,电子设备在通过屏幕展示音乐列表显示界面后,用户在欲观看以某一首音乐为背景音乐的视频时,点击显示有该音乐的音乐项(即第一目标音乐项)的显示区域(即第一目标显示区域)中显示的视频播放控件;相应的,电子设备在监测到用户点击第一目标显示区域中显示的视频播放控件后,确认接收到第一视频播放指令。
在一个具体实施方式中,原始音乐的相似音乐列表显示界面可以自原始音乐的音乐详情界面切换进入。此时,在所述接收第一视频播放指令之前,还可以包括:当显示原始音乐的音乐详情界面时,接收相似音乐显示指令,所述相似音乐显示指令在用户点击所述详情界面中的相似音乐控件时触发生成;将当前显示界面由所述音乐详情界面切换为所述原始音乐的相似音乐列表显示界面,所述相似音乐列表显示界面包含至少一个显示区域,所述显示区域的高度为原始高度值,所述显示区域内显示有所述原始音乐的相似音乐的音乐项。其中,原始音乐可以为显示相似音乐列表显示界面之前电子设备正在播放的音乐或电子设备正在展示的视频的背景音乐。
以原始音乐为电子设备显示相似音乐列表显示界面之前正在展示的视频的背景音乐为例,电子设备基于用户的触发操作显示视频播放界面,并在该视频播放界面中播放视频,如图3所示,其中,该视频的背景音乐为原始音乐,即将电子设备正在播放的视频中添加的背景音乐确定为原始音乐;用户在欲查看该视频中添加的背景音乐(即原始音乐)的音乐详情时,点击视频播放界面中的音乐图标或背景音乐信息的显示区域;相应的,电子设备在监测到用户点击音乐图标时,确认接收到音乐详情显示指令,显示音乐详情界面,如图4所示,该音乐详情界面中显示有供用户查看原始音乐的相似音乐列表的显示音乐控件,此外,音乐详情界面中还可以显示有供用户播放/停止播放原始音乐的音频播放控件以及供用户收藏/取消收藏原始音乐的收藏按钮;从而,用户在欲查看该原始音乐的相似音乐列表时,点击音乐详情界面中的显示音乐控件;相应的,电子设备在监测到用户点击相似音乐控件时,确认接收到相似音乐显示指令,显示原始音乐的相似音乐列表显示界面,如图2所示。其中,某一显示区域展示的视频可以理解为该显示区域当前显示的视频帧所属的视频。
S102、在所述第一目标显示区域播放第一目标视频,并将所述第一目标显示区域的高度扩展为设定高度值,所述第一目标视频以所述第一目标显示区域内显示的第一目标音乐项所对应的第一目标音乐作为背景音乐。
其中,第一目标视频以第一目标音乐作为背景音乐可以理解为第一目标视频中添加的背景音乐为第一目标音乐,第一目标视频可以具有或不具有除所添加的背景音乐之外的音频数据;设定高度值可以为预先设置的固定高度值或者第一目标显示区域当前能够扩展至的一个较佳的高度值,即当第一目标显示区域的位置和/或高度扩展方式不同时,其扩展至的设定高度值可以相同或不相同,设定高度值可以小于音乐列表显示界面的高度值。
具体的,电子设备在接收到第一视频播放指令后,获取以第一目标音乐为背景音乐的第一目标视频,并在第一目标显示区域播放该第一目标视频;以及,向上移动音乐列表显示界面中显示的第一目标显示区域的上边界线和/或向下移动音乐列表显示界面中显示的第一目标显示区域的下边界线,以将第一目标显示区域的高度扩展为设定高度值。其中,音乐列表中显示的第一目标显示区域的上边界线/下边界线可以理解为进行高度扩展时第一目标显示区域的上边界线/下边界线需要处于电子设备屏幕的显示范围之内,此时,相应的,若第一目标显示区域的上边界线/下边界线处于电子设备屏幕的显示范围之外,电子设备可以首先移动第一目标显示区域的位置,以将其处于电子设备屏幕的显示范围之外的上边界线/下边界线移动到音乐列表显示界面的上界面边界/下界面边界处,然后再将第一目标显示区域的高度扩展为设定高度值。
在本实施例中,在将第一目标显示区域扩展为设定高度值时,可以仅移动列表显示界面中显示的第一目标显示区域的上边界线,或者,仅移动列表显示界面中显示的第一目标显示区域的下边界线;也可以同时移动列表显示界面中显示的第一目标显示区域的上边界线和下边界线。
在一个实施方式中,所述将所述第一目标显示区域的高度扩展为设定高度值,包括:向上移动所述第一目标显示区域在所述音乐列表显示界面中的上边界线,直至所述第一目标显示区域的高度达到设定高度值。其中,设定高度值可以为第一目标显示区域的上边界线上移至与音乐列表界面的界面边界重叠时第一目标显示区域的高度值或者预先设置的固定高度值。
具体的,电子设备向上移动第一目标显示区域的上边界线,直至第一目标显示区域的上边界线与音乐列表显示界面的上界面边界重叠。或者,电子设备向上移动第一目标显示区域的上边界线,直至第一目标显示区域的高度达到预先设置的固定高度值。或者,电子设备向上移动第一目标显示区域的上边界线,直至第一目标显示区域的上边界线与音乐列表显示界面的上界面边界重叠或者第一目标显示区域的高度达到预先设置的固定高度值,例如,电子设备向上移动第一目标显示区域的上边界线,并在移动过程中周期性地判断第一目标区域的上边界线的纵坐标是否等于音乐列表显示界面上界面边界的纵坐标以及第一目标显示区域上下边界线之间的距离是否达到预先设置的固定高度值,若第一目标显示区域的上边界线的纵坐标等于音乐列表显示界面上界面边界的纵坐标或者第一目标显示区域上下边界线之间的距离达到预先设置的固定高度值,则停止向上移动第一目标显示区域的上边界线;否则,则继续向上移动第一目标显示区域的上边界线,直至第一目标显示区域的上边界线的纵坐标等于音乐列表显示界面的上界面边界的纵坐标或者第一目标显示区域的上下边界线之间的距离达到预先设置的固定高度值。
在本实施方式中,电子设备在向上移动第一目标显示区域的上边界时,还可以同步向上移动位于第一目标显示区域上方的其他音乐项的显示区域,以避免位于第一目标显示区域上方的其他音乐项被扩展后的第一目标显示区域遮挡。此时,优选的,所述将所述第一目标显示区域的高度扩展为设定高度值,还包括:控制所述音乐列表显示界面中位于所述第一目标显示区域上方的其他显示区域随所述上边界线同步向上移动。
在另一个实施方式中,所述将所述第一目标显示区域的高度扩展为设定高度值,包括:向下移动所述目标显示区域在所述音乐列表显示界面中的下边界线,直至所述第一目标显示 区域的高度达到设定高度值。其中,设定高度值可以为第一目标显示区域的下边界线下移至与音乐列表界面的界面边界重叠时第一目标显示区域的高度值或者预先设置的固定高度值。
具体的,电子设备向下移动第一目标显示区域的下边界线,直至第一目标显示区域的下边界线与音乐列表显示界面的下界面边界重叠。或者,电子设备向下移动第一目标显示区域的下边界线,直至第一目标显示区域的高度达到预先设置的固定高度值。或者,电子设备向下移动第一目标显示区域的下边界线,直至第一目标显示区域的下边界线与音乐列表显示界面的下界面边界重叠或者第一目标显示区域的高度达到预先设置的固定高度值,例如,电子设备向下移动第一目标显示区域的下边界线,并在移动过程中周期性地判断第一目标区域的下边界线的纵坐标是否等于音乐列表显示界面下界面边界的纵坐标以及第一目标显示区域上下边界线之间的距离是否达到预先设置的固定高度值,若第一目标显示区域的下边界线的纵坐标等于音乐列表显示界面下界面边界的纵坐标或者第一目标显示区域上下边界线之间的距离达到预先设置的固定高度值,则停止向下移动第一目标显示区域的下边界线;否则,则继续向下移动第一目标显示区域的下边界线,直至第一目标显示区域的下边界线的纵坐标等于音乐列表显示界面的下界面边界的纵坐标或者第一目标显示区域的上下边界线之间的距离达到预先设置的固定高度值。
在本实施方式中,电子设备在向下移动第一目标显示区域的上边界时,还可以同步向下移动位于第一目标显示区域下方的其他音乐项的显示区域,以避免位于第一目标显示区域下方的其他音乐项被扩展后的第一目标显示区域遮挡。此时,优选的,所述将所述第一目标显示区域的高度扩展为设定高度值,还包括:控制所述音乐列表显示界面中位于所述第一目标显示区域下方的其他显示区域随所述上下边界线同步向下移动。
在第三个实施方式中,所述将所述第一目标显示区域的高度扩展为设定高度值,包括:向上移动所述第一目标显示区域在所述音乐列表显示界面中的上边界线,直至所述上边界线与所述音乐列表显示界面的界面边界重叠或者所述第一目标显示区域的高度达到设定高度值;以及,向下移动所述目标显示区域在所述音乐列表显示界面中的下边界线,直至所述下边界线与所述音乐列表显示界面的界面边界重叠或者所述第一目标显示区域的高度达到设定高度值。其中,设定高度值可以为预先设置的固定高度值。
具体的,电子设备可以同时移动第一目标显示区域的上边界线和下边界线,并在移动过程中周期性地判断第一目标显示区域的上边界线的纵坐标是否小于音乐列表显示界面上界面边界的纵坐标、第一目标显示区域的下边界线的纵坐标是否大于音乐列表显示界面下界面边界的纵坐标以及第一目标显示区域上下边界线之间的距离是否达到设定高度值,若第一目标显示区域的上边界线的纵坐标等于音乐列表显示界面上界面边界的纵坐标且第一目标显示区域上边界线与下边界之间的距离未达到设定高度值,则停止向上移动第一目标显示区域的上边界线,并继续向下移动第一目标显示区域的下边界线,直至第一目标显示上边界线与下边界线之间的距离达到设定高度值;若第一目标显示区域的下边界线的纵坐标等于音乐列表显示界面下界面边界的纵坐标且第一目标显示区域上边界线与下边界之间的距离未达到设定高度值,则停止向下移动第一目标显示区域的下边界线,并继续移动第一目标显示区域的上边界线,直至第一目标显示上边界线与下边界线之间的距离达到设定高度值;否则,则继续同时移动第一目标显示区域的上边界线和下边界线,直至第一目标显示上边界线与下边界线之 间的距离达到设定高度值。其中,第一目标显示区域的上边界线和下边界线移动的速度值可以相等。
可以理解的是,电子设备也可以不同时移动第一目标显示区域的上边界线和下边界线。例如,电子设备优先向上移动第一目标显示区域的上边界线,直至第一目标显示区域的上边界线与音乐列表显示界面的上界面边界重叠或第一目标显示区域的高度达到设定高度值,并仅在第一目标显示区域的上边界线与音乐列表显示界面的上界面边界重叠且第一目标显示区域的高度尚未达到设定高度值时,再向下移动第一目标显示区域的下边界线,直至第一目标显示区域的高度达到设定高度值;或者,电子设备优先向下移动第一目标显示区域的下边界线,直至第一目标显示区域的下边界线与音乐列表显示界面的下界面边界重叠或第一目标显示区域的高度达到设定高度值,并仅在第一目标显示区域的下边界线与音乐列表显示界面的下界面边界重叠且第一目标显示区域的高度尚未达到设定高度值时,再向上移动第一目标显示区域的上边界线,直至第一目标显示区域的高度达到设定高度值,本实施例不对此进行限制。
在本实施例中,电子设备在移动第一目标显示区域的上边界/下边界线时,可以同时移动位于第一目标显示区域上方/下方的其他音乐项的显示区域,以避免其他音乐项被扩展后的第一目标显示区域遮挡。此时,优选的,所述将所述第一目标显示区域的高度扩展为设定高度值,还包括:控制所述音乐列表显示界面中位于所述第一目标显示区域上方的其他显示区域随所述上边界线同步向上移动;以及,控制所述音乐列表显示界面中位于所述第一目标显示区域下方的其他显示区域随所述下边界线同步向下移动。第一目标显示区域的高度扩展至设定高度后音乐列表显示界面如图5所示,图5以第一目标音乐项为图2所示的音乐列表显示界面中的音乐项1为例。
此外,扩展第一目标显示区域的高度时,第一目标显示区域中显示的第一目标音乐项、音乐图标、视频播放控件和收藏按钮可以与第一目标显示区域的上边界线同步移动。
可以理解的是,在第一目标显示区域的高度由原始高度值扩展为设定高度值的过程中,第一目标视频的视频帧可以在第一目标显示区域中进行完全或不完全显示,如,假设第一目标显示区域当前时刻需要展示的当前视频帧如图6所示,当第一目标显示区域当前扩展至的高度低于该当前视频帧的高度时,电子设备可以仅在第一目标显示区域中显示该当前视频帧中高度与第一目标显示区域的当前高度相等的部分画面,如图7所示;也可以将该当前视频帧的高度与宽度等比例缩小至其高度与第一目标显示区域的当前高度相符,并在第一目标视频中展示缩小后的当前视频帧,如图8所示,本实施例不对此进行限制。
本实施例提供的视频播放的控制方法,接收用户点击音乐列表显示界面中第一目标音乐项的第一目标显示区域内的视频播放控件时生成的第一视频播放指令,在第一目标显示区域播放以第一目标音乐项所对应的第一目标音乐为背景音乐的第一目标视频,并将第一目标显示区域的高度扩展为设定高度。本实施例通过采用上述技术方案,能够实现通过音乐列表播放以音乐列表中的音乐为背景音乐的视频的功能,用户在想要收看视频时直接点击音乐列表中相应显示区域中的视频播放控件即可,无需用户再基于音乐列表中的音乐项进行视频搜索操作,进而提高用户收看视频地便利性,节省用户搜索视频所耗费的时间。
图9为本公开实施例提供的另一视频播放的控制方法的流程示意图,本实施例中的方案可以与上述实施例中的一个或者多个可选方案组合。在本实施例中,可选的,在所述在所述第一目标显示区域播放第一目标视频之后,还包括:接收视频切换指令,所述视频切换指令当用户在所述第一目标显示区域左右滑动时触发生成;将所述第一目标视频切换为以所述第一目标音乐作为背景音乐的其他目标视频。
可选的,在所述在所述第一目标显示区域播放第一目标视频之后,还包括:接收列表返回指令,所述列表返回指令在用户点击所述第一目标显示区域内的非控件显示子区域时触发生成;将所述第一目标显示区域的高度收缩为原始高度值,并停止在所述第一目标显示区域展示所述第一目标视频。
可选的,在所述在所述第一目标显示区域播放第一目标视频之后,还包括:接收音乐使用指令,所述音乐使用指令在用户点击所述第一目标显示区域中的使用控件时触发生成;将当前显示界面由所述音乐列表显示界面切换为视频录制界面,并开启摄像头,以录制以所述第一目标音乐作为背景音乐的自制视频。
相应的,如图9所示,本实施例提供的视频播放的控制方法可以包括:
S201、接收第一视频播放指令,所述第一视频播放指令在用户点击音乐列表显示界面中第一目标音乐项的第一目标显示区域内的视频播放控件时触发生成。
S202、在所述第一目标显示区域播放第一目标视频,并将所述第一目标显示区域的高度扩展为设定高度值,执行S203、S205或S207,所述第一目标视频以所述第一目标音乐项所对应的第一目标音乐作为背景音乐。
S203、接收视频切换指令,所述视频切换指令当用户在所述第一目标显示区域左右滑动时触发生成。
S204、将所述第一目标视频切换为以所述第一目标音乐作为背景音乐的其他目标视频,结束操作。
在本实施例中,视频切换指令可以用于切换第一目标显示区域中展示的视频。
具体的,电子设备通过第一目标显示区域向用户展示以第一目标音乐为背景音乐的第一目标视频,用户在欲观看以第一目标音乐为背景音乐的其他视频时,通过触控笔或手指等在第一目标显示区域进行左右滑动;相应的,电子设备在监测到用户在第一目标显示区域中的滑动手势时,确认接收到视频切换指令,获取以第一目标音乐为背景音乐的其他视频,并在第一目标显示区域展示该其他视频,例如,当该其他视频未加载完成时,在第一目标显示区域展示该其他视频的某一视频帧;当该其他视频加载完成后,在第一目标显示区域播放该其他视频。
其中,视频切换指令可以为视频向前切换指令或视频向后切换指令,如可以在用户在第一目标显示区域中向左滑动时生成视频向后切换指令,在用户在第一目标显示区域中向右滑动时生成视频向前切换指令。相应的,电子设备可以按照一定的顺序进行视频切换,如可以按照预先设置的规则对以第一目标音乐为背景音乐的视频进行排序,并基于排序结果选取一定数量(如3、5或10等)的视频作为目标视频,并在每次接收到视频向后切换指令时,展示排序结果中位于当前展示的目标视频之后的目标视频,在每次接收到视频向前切换指令时,展示排序结果中位于当前展示的目标视频之前的目标视频。
S205、接收音乐使用指令,所述音乐使用指令在用户点击所述第一目标显示区域中的使用控件时触发生成。
S206、将当前显示界面由所述音乐列表显示界面切换为视频录制界面,并开启摄像头,以录制以所述第一目标音乐作为背景音乐的自制视频,结束操作。
其中,音乐使用指令可以用于供用户触发采用第一目标音乐作为背景音乐录制视频的操作。使用控件可以在电子设备接收到第一视频播放指令时自第一目标显示区域的一侧(如右侧)弹出,并在弹出过程中或弹出后随第一目标显示区域的上边界线同步移动;相应的,使用控件可以在电子设备接收到第二视频播放指令或列表返回指令时按其弹出的路线收回至目标显示区域的一侧,并在收回过程中随第一目标显示区域的上边界线同步移动。此外,当使用控件自收藏按钮显示侧(如第一目标显示区域的右侧)弹出或收回时,第一显示区域中显示的收藏按钮也可以随使用控件同步移动,以避免被使用控件遮挡。
具体的,电子设备通过第一目标显示区域向用户展示以第一目标音乐为背景音乐的第一目标视频,用户在欲使用第一目标音乐为背景音乐录制视频时,点击第一目标显示区域中的使用控件;相应的,电子设备在监测到用户点击第一目标显示区域内的使用控件时,确认接收到音乐使用指令,显示视频录制界面,并开启摄像头(如前置摄像头或后置摄像头等),从而,用户可以在视频录制界面中控制摄像头进行视频录制,视频录制完成后,即可得到以第一目标音乐为背景音乐的自制视频。
S207、接收列表返回指令,所述列表返回指令在用户点击所述第一目标显示区域内的非控件显示子区域时触发生成。
S208、将所述第一目标显示区域的高度收缩为原始高度值,并停止在所述第一目标显示区域展示所述第一目标视频。
其中,列表返回指令可以用于返回音乐列表显示界面的各显示区域均未进行高度扩展也未展示视频的状态;非控件显示子区域可以理解为第一目标显示区域中未显示任何控件的子区域;停止在第一目标显示区域展示第一目标视频可以理解为停止在第一目标显示区域展示第一目标视频的任一视频帧,即第一目标显示区域中不再展示视频帧。
具体的,如图5所示,电子设备通过第一目标显示区域向用户展示以第一目标音乐为背景音乐的目标视频,用户在不想再观看音乐列表中任一音乐项所对应音乐的视频时,点击第一目标显示区域中非控件显示子区域;相应的,电子设备在监测到用户点击第一目标显示区域的非控件显示子区域时,确认接收到列表返回指令,将第一目标显示区域的高度收缩为原始高度值,并停止在第一目标显示区域展示视频,第一目标显示区域收缩完成后的列表显示界面可如图2所示。
在本实施例中,将第一目标显示区域的高度收缩为原始高度值时所采用的收缩方式可以根据需要选取,如可以仅向上移动第一目标显示区域的下边界线,仅向下移动第一目标显示区域的上边界线,或者,同时向上移动移动第一目标显示区域的下边界线和向下移动第一目标显示区域的上边界线。本实施例优选可以控制扩展第一目标显示区域的高度时移动的第一目标显示区域的边界线沿扩展时的反方向以相同的速度值移动与扩展时移动的距离相同的距离,以使得收缩后音乐列表展示界面所展示的该音乐项与扩展前音乐列表中所展示的各音乐项具有相同的显示位置。
可以理解的是,当第一目标显示区域的上边界线移动时,位于第一目标显示区域上方的其他显示区域以及第一目标区域内所显示的第一目标音乐项、音乐图标、视频播放控件和收藏按钮可以随该上边界线同步移动;当第一目标显示区域的下边界线移动时,位于第一目标显示区域下方的其他显示区域可以随该下边界线同步移动。
在一个实施方式中,上述视频播放的控制方法还可以包括:接收第二视频播放指令,所述第二视频播放指令在用户点击音乐列表界面中第二目标显示区域内的视频播放控件时触发生成;将所述第一目标显示区域的高度收缩为原始高度值,并停止在所述第一目标显示区域展示所述第一目标视频;以及,在所述第二目标显示区域播放第二目标视频,并将所述第二目标显示区域的高度扩展为设定高度值,所述第二目标视频以所述第二目标区域内显示的第二目标音乐项所对应的第二目标音乐为背景音乐。
其中,第二视频播放指令可以用于指示电子设备在第二目标显示区域播放第二目标音乐项对应的第二目标音乐为背景音乐的视频。
具体的,如图5所示,当电子设备在第一目标显示区域播放第一目标视频时,用户可通过上下滑动的方式查看音乐列表中显示区域全部位于或部分位于电子设备屏幕显示区域之外的音乐项(如图5中的音乐项3),并可以在欲观看以其他音乐项(即第二目标音乐项)所对应音乐(即第二目标音乐)为背景音乐的视频时,点击展示该音乐项的第二目标显示区域中的视频播放控件;相应的,电子设备在监测到用户点击第二目标显示区域中的视频播放控件时,确认接收到第二视频播放指令,停止在第一目标显示区域展示第一目标视频、将第一目标显示区域的高度收缩为原始高度值、在第二目标显示区域播放以第二目标音乐为背景音乐的第二目标视频并将第二目标显示区域的高度扩展为设定高度值,第一目标显示区域的高度收缩为原始高度值且第二目标显示区域的高度扩展为设定高度值后的音乐列表显示界面可如图10所示,图10以第二目标音乐项为图5中的音乐项3为例。
由此,电子设备基于接收到的不同指令,可以实现音乐列表显示界面中所展示的视频的切换以及以当前展示视频的背景音乐为背景音乐的视频录制以及音乐列表原始状态的返回,为用户录制视频提供更多的参考视频,减少用户录制视频时的难度。
图11为本公开实施例提供的一种视频播放的控制装置的结构框图。该装置可以由软件和/或硬件实现,可配置于电子设备中,典型的,可以配置在智能手机或平板电脑中,可通过执行视频播放的控制装置控制电子设备在音乐列表显示界面中播放视频。如图11所示,该装置包括第一指令接收模块1101和第一视频播放模块1102,其中,
第一指令接收模块1101,用于接收第一视频播放指令,所述第一视频播放指令在用户点击音乐列表显示界面中第一目标显示区域内的视频播放控件时触发生成;
第一视频播放模块1102,用于在所述第一目标显示区域播放第一目标视频,并将所述第一目标显示区域的高度扩展为设定高度值,所述第一目标视频以所述第一目标显示区域内显示的第一目标音乐项所对应的第一目标音乐作为背景音乐。
本实施例提供的视频播放的控制装置,通过第一指令接收模块接收用户点击音乐列表显示界面中第一目标音乐项的第一目标显示区域内的视频播放控件时生成的第一视频播放指令,通过第一视频播放模块在第一目标显示区域播放以第一目标音乐项所对应的第一目标音乐为背景音乐的第一目标视频,并将第一目标显示区域的高度扩展为设定高度。本实施例通 过采用上述技术方案,能够实现通过音乐列表播放以音乐列表中的音乐为背景音乐的视频的功能,用户在想要收看视频时直接点击音乐列表中相应显示区域中的视频播放控件即可,无需用户再基于音乐列表中的音乐项进行视频搜索操作,进而提高用户收看视频地便利性,节省用户搜索视频所耗费的时间。
可选的,所述将所述第一目标显示区域的高度扩展为设定高度值,包括:向上移动所述第一目标显示区域在所述音乐列表显示界面中的上边界线,直至所述上边界线与所述音乐列表显示界面的界面边界重叠或者所述第一目标显示区域的高度达到设定高度值;以及,向下移动所述目标显示区域在所述音乐列表显示界面中的下边界线,直至所述下边界线与所述音乐列表显示界面的界面边界重叠或者所述第一目标显示区域的高度达到设定高度值。
可选的,所述将所述第一目标显示区域的高度扩展为设定高度值,还包括:控制所述音乐列表显示界面中位于所述第一目标显示区域上方的其他显示区域随所述上边界线同步向上移动;以及,控制所述音乐列表显示界面中位于所述第一目标显示区域下方的其他显示区域随所述下边界线同步向下移动。
进一步地,本实施例提供的视频播放的控制装置还可以包括:第二指令接收模块,用于在所述在所述第一目标显示区域播放第一目标视频之后,接收第二视频播放指令,所述第二视频播放指令在用户点击音乐列表界面中第二目标显示区域内的视频播放控件时触发生成;第二视频播放模块,用于将所述第一目标显示区域的高度收缩为原始高度值,并停止在所述第一目标显示区域展示所述第一目标视频;以及,在所述第二目标显示区域播放第二目标视频,并将所述第二目标显示区域的高度扩展为设定高度值,所述第二目标视频以所述第二目标区域内显示的第二目标音乐项所对应的第二目标音乐为背景音乐。
进一步地,本实施例提供的视频播放的控制装置还可以包括:切换指令接收模块,用于在所述在所述第一目标显示区域播放第一目标视频之后,接收视频切换指令,所述视频切换指令当用户在所述第一目标显示区域左右滑动时触发生成;视频切换模块,用于将所述第一目标视频切换为以所述第一目标音乐作为背景音乐的其他目标视频。
进一步地,本实施例提供的视频播放的控制装置还可以包括:返回指令接收模块,用于在所述在所述第一目标显示区域播放第一目标视频之后,接收列表返回指令,所述列表返回指令在用户点击所述第一目标显示区域内的非控件显示子区域时触发生成;高度收缩模块,用于将所述第一目标显示区域的高度收缩为原始高度值,并停止在所述第一目标显示区域展示所述第一目标视频。
进一步地,本实施例提供的视频播放的控制装置还可以包括:使用指令接收模块,用于在所述在所述第一目标显示区域播放第一目标视频之后,接收音乐使用指令,所述音乐使用指令在用户点击所述第一目标显示区域中的使用控件时触发生成;视频录制模块,用于将当前显示界面由所述音乐列表显示界面切换为视频录制界面,并开启摄像头,以录制以所述第一目标音乐作为背景音乐的自制视频。
进一步地,所述音乐列表显示界面为原始音乐的相似音乐列表显示界面,本实施例提供的视频播放的控制装置还可以包括:显示指令接收模块,用于在所述接收第一视频播放指令之前,当显示原始音乐的音乐详情界面时,接收相似音乐显示指令,所述相似音乐显示指令在用户点击所述详情界面中的相似音乐控件时触发生成;音乐列表显示模块,用于将当前显示界面由所述音乐详情界面切换为所述原始音乐的相似音乐列表显示界面,所述相似音乐列 表显示界面包含至少一个显示区域,所述显示区域的高度为原始高度值,所述显示区域内显示有所述原始音乐的相似音乐的音乐项。
本公开实施例提供的视频播放的控制装置可执行本公开任意实施例提供的视频播放的控制方法,具备执行视频播放的控制方法相应的功能模块和有益效果。未在本实施例中详尽描述的技术细节,可参见本公开任意实施例所提供的视频播放的控制方法。
下面参考图12,其示出了适于用来实现本公开实施例的电子设备(例如终端设备)1200的结构示意图。本公开实施例中的终端设备可以包括但不限于诸如移动电话、笔记本电脑、数字广播接收器、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、车载终端(例如车载导航终端)等等的移动终端以及诸如数字TV、台式计算机等等的固定终端。图12示出的电子设备仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。
如图12所示,电子设备1200可以包括处理装置(例如中央处理器、图形处理器等)1201,其可以根据存储在只读存储器(ROM)1202中的程序或者从存储装置1206加载到随机访问存储器(RAM)1203中的程序而执行各种适当的动作和处理。在RAM 1203中,还存储有电子设备1200操作所需的各种程序和数据。处理装置1201、ROM 1202以及RAM 1203通过总线1204彼此相连。输入/输出(I/O)接口1205也连接至总线1204。
通常,以下装置可以连接至I/O接口1205:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置1206;包括例如液晶显示器(LCD)、扬声器、振动器等的输出装置1207;包括例如磁带、硬盘等的存储装置1206;以及通信装置1209。通信装置1209可以允许电子设备1200与其他设备进行无线或有线通信以交换数据。虽然图12示出了具有各种装置的电子设备1200,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。
特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在非暂态计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置1209从网络上被下载和安装,或者从存储装置1206被安装,或者从ROM 1202被安装。在该计算机程序被处理装置1201执行时,执行本公开实施例的方法中限定的上述功能。本公开的实施例还包括一种计算机程序,当其在电子设备上运行时,执行本公开实施例的方法中限定的上述功能。
需要说明的是,本公开上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其 中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、RF(射频)等等,或者上述的任意合适的组合。
在一些实施方式中,客户端、服务器可以利用诸如HTTP(HyperText Transfer Protocol,超文本传输协议)之类的任何当前已知或未来研发的网络协议进行通信,并且可以与任意形式或介质的数字数据通信(例如,通信网络)互连。通信网络的示例包括局域网(“LAN”),广域网(“WAN”),网际网(例如,互联网)以及端对端网络(例如,ad hoc端对端网络),以及任何当前已知或未来研发的网络。
上述计算机可读介质可以是上述电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。
上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备:接收第一视频播放指令,所述第一视频播放指令在用户点击音乐列表显示界面中第一目标显示区域内的视频播放控件时触发生成;在所述第一目标显示区域播放第一目标视频,并将所述第一目标显示区域的高度扩展为设定高度值,所述第一目标视频以所述第一目标显示区域内显示的第一目标音乐项所对应的第一目标音乐作为背景音乐。
可以以一种或多种程序设计语言或其组合来编写用于执行本公开的操作的计算机程序代码,上述程序设计语言包括但不限于面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。
附图中的流程图和框图,图示了按照本公开各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。
描述于本公开实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,模块的名称在某种情况下并不构成对该单元本身的限定。
本文中以上描述的功能可以至少部分地由一个或多个硬件逻辑部件来执行。例如,非限制性地,可以使用的示范类型的硬件逻辑部件包括:现场可编程门阵列(FPGA)、专用集成 电路(ASIC)、专用标准产品(ASSP)、片上系统(SOC)、复杂可编程逻辑设备(CPLD)等等。
在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。
根据本公开的一个或多个实施例,示例1提供了一种视频播放的控制方法,包括:
接收第一视频播放指令,所述第一视频播放指令在用户点击音乐列表显示界面中第一目标显示区域内的视频播放控件时触发生成;
在所述第一目标显示区域播放第一目标视频,并将所述第一目标显示区域的高度扩展为设定高度值,所述第一目标视频以所述第一目标显示区域内显示的第一目标音乐项所对应的第一目标音乐作为背景音乐。
根据本公开的一个或多个实施例,示例2根据示例1所述的方法,所述将所述第一目标显示区域的高度扩展为设定高度值,包括:
向上移动所述第一目标显示区域在所述音乐列表显示界面中的上边界线,直至所述上边界线与所述音乐列表显示界面的界面边界重叠或者所述第一目标显示区域的高度达到设定高度值;以及,
向下移动所述目标显示区域在所述音乐列表显示界面中的下边界线,直至所述下边界线与所述音乐列表显示界面的界面边界重叠或者所述第一目标显示区域的高度达到设定高度值。
根据本公开的一个或多个实施例,示例3根据示例2所述的方法,所述将所述第一目标显示区域的高度扩展为设定高度值,还包括:
控制所述音乐列表显示界面中位于所述第一目标显示区域上方的其他显示区域随所述上边界线同步向上移动;以及,
控制所述音乐列表显示界面中位于所述第一目标显示区域下方的其他显示区域随所述下边界线同步向下移动。
根据本公开的一个或多个实施例,示例4根据示例1所述的方法,所述将所述第一目标显示区域的高度扩展为设定高度值,包括:
向上移动所述第一目标显示区域在所述音乐列表显示界面中的上边界线,直至所述第一目标显示区域的高度达到设定高度值;或者,
向下移动所述目标显示区域在所述音乐列表显示界面中的下边界线,直至所述第一目标显示区域的高度达到设定高度值。
根据本公开的一个或多个实施例,示例5根据示例1-4任一所述的方法,在所述在所述第一目标显示区域播放第一目标视频之后,还包括:
接收第二视频播放指令,所述第二视频播放指令在用户点击音乐列表界面中第二目标显示区域内的视频播放控件时触发生成;
将所述第一目标显示区域的高度收缩为原始高度值,并停止在所述第一目标显示区域展示所述第一目标视频;以及,在所述第二目标显示区域播放第二目标视频,并将所述第二目标显示区域的高度扩展为设定高度值,所述第二目标视频以所述第二目标区域内显示的第二目标音乐项所对应的第二目标音乐为背景音乐。
根据本公开的一个或多个实施例,示例6根据示例1-4任一所述的方法,在所述在所述第一目标显示区域播放第一目标视频之后,还包括:
接收视频切换指令,所述视频切换指令当用户在所述第一目标显示区域左右滑动时触发生成;
将所述第一目标视频切换为以所述第一目标音乐作为背景音乐的其他目标视频。
根据本公开的一个或多个实施例,示例7根据示例1-4任一所述的方法,在所述在所述第一目标显示区域播放第一目标视频之后,还包括:
接收列表返回指令,所述列表返回指令在用户点击所述第一目标显示区域内的非控件显示子区域时触发生成;
将所述第一目标显示区域的高度收缩为原始高度值,并停止在所述第一目标显示区域展示所述第一目标视频。
根据本公开的一个或多个实施例,示例8根据示例1-4任一所述的方法,在所述在所述第一目标显示区域播放第一目标视频之后,还包括:
接收音乐使用指令,所述音乐使用指令在用户点击所述第一目标显示区域中的使用控件时触发生成;
将当前显示界面由所述音乐列表显示界面切换为视频录制界面,并开启摄像头,以录制以所述第一目标音乐作为背景音乐的自制视频。
根据本公开的一个或多个实施例,示例9根据示例1所述的方法,所述音乐列表显示界面为原始音乐的相似音乐列表显示界面,在所述接收第一视频播放指令之前,还包括:
当显示原始音乐的音乐详情界面时,接收相似音乐显示指令,所述相似音乐显示指令在用户点击所述详情界面中的相似音乐控件时触发生成;
将当前显示界面由所述音乐详情界面切换为所述原始音乐的相似音乐列表显示界面,所述相似音乐列表显示界面包含至少一个显示区域,所述显示区域的高度为原始高度值,所述显示区域内显示有所述原始音乐的相似音乐的音乐项。
根据本公开的一个或多个实施例,示例10提供了一种视频播放的控制装置,包括:
第一指令接收模块,用于接收第一视频播放指令,所述第一视频播放指令在用户点击音乐列表显示界面中第一目标显示区域内的视频播放控件时触发生成;
第一视频播放模块,用于在所述第一目标显示区域播放第一目标视频,并将所述第一目标显示区域的高度扩展为设定高度值,所述第一目标视频以所述第一目标显示区域内显示的第一目标音乐项所对应的第一目标音乐作为背景音乐。
根据本公开的一个或多个实施例,示例11提供了一种电子设备,包括:
一个或多个处理器;
存储器,用于存储一个或多个程序,
当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如示例1-9中任一所述的视频播放的控制方法。
根据本公开的一个或多个实施例,示例12提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如示例1-9中任一所述的视频播放的控制方法。
根据本公开的一个或多个实施例,示例13提供了一种计算机程序产品,其包括承载在非暂态计算机可读介质上的计算机程序,该计算机程序被处理器执行时,使得处理器实现如示例1-9中任一所述的视频播放的控制方法。
根据本公开的一个或多个实施例,示例14提供了一种计算机程序,当其在电子设备上运行时,使得电子设备实现如示例1-9中任一所述的视频播放的控制方法。
以上描述仅为本公开的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本公开中所涉及的公开范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离上述公开构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本公开中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。
此外,虽然采用特定次序描绘了各操作,但是这不应当理解为要求这些操作以所示出的特定次序或以顺序次序执行来执行。在一定环境下,多任务和并行处理可能是有利的。同样地,虽然在上面论述中包含了若干具体实现细节,但是这些不应当被解释为对本公开的范围的限制。在单独的实施例的上下文中描述的某些特征还可以组合地实现在单个实施例中。相反地,在单个实施例的上下文中描述的各种特征也可以单独地或以任何合适的子组合的方式实现在多个实施例中。
尽管已经采用特定于结构特征和/或方法逻辑动作的语言描述了本主题,但是应当理解所附权利要求书中所限定的主题未必局限于上面描述的特定特征或动作。相反,上面所描述的特定特征和动作仅仅是实现权利要求书的示例形式。

Claims (13)

  1. 一种视频播放的控制方法,其特征在于,包括:
    接收第一视频播放指令,所述第一视频播放指令在用户点击音乐列表显示界面中第一目标显示区域内的视频播放控件时触发生成;
    在所述第一目标显示区域播放第一目标视频,并将所述第一目标显示区域的高度扩展为设定高度值,所述第一目标视频以所述第一目标显示区域内显示的第一目标音乐项所对应的第一目标音乐作为背景音乐。
  2. 根据权利要求1所述的方法,其特征在于,所述将所述第一目标显示区域的高度扩展为设定高度值,包括:
    向上移动所述第一目标显示区域在所述音乐列表显示界面中的上边界线,直至所述上边界线与所述音乐列表显示界面的界面边界重叠或者所述第一目标显示区域的高度达到所述设定高度值;以及,
    向下移动所述第一目标显示区域在所述音乐列表显示界面中的下边界线,直至所述下边界线与所述音乐列表显示界面的界面边界重叠或者所述第一目标显示区域的高度达到所述设定高度值。
  3. 根据权利要求2所述的方法,其特征在于,所述将所述第一目标显示区域的高度扩展为设定高度值,还包括:
    控制所述音乐列表显示界面中位于所述第一目标显示区域上方的其他显示区域随所述上边界线同步向上移动;以及,
    控制所述音乐列表显示界面中位于所述第一目标显示区域下方的其他显示区域随所述下边界线同步向下移动。
  4. 根据权利要求1所述的方法,其特征在于,所述将所述第一目标显示区域的高度扩展为设定高度值,包括:
    向上移动所述第一目标显示区域在所述音乐列表显示界面中的上边界线,直至所述第一目标显示区域的高度达到所述设定高度值;或者,
    向下移动所述第一目标显示区域在所述音乐列表显示界面中的下边界线,直至所述第一目标显示区域的高度达到所述设定高度值。
  5. 根据权利要求1-4任一所述的方法,其特征在于,在所述在所述第一目标显示区域播放第一目标视频之后,还包括:
    接收第二视频播放指令,所述第二视频播放指令在用户点击音乐列表界面中第二目标显示区域内的视频播放控件时触发生成;
    将所述第一目标显示区域的高度收缩为原始高度值,并停止在所述第一目标显示区域展示所述第一目标视频;以及,在所述第二目标显示区域播放第二目标视频,并将所述第二目标显示区域的高度扩展为所述第二目标显示区域的设定高度值,所述第二目标视频以所述第二目标区域内显示的第二目标音乐项所对应的第二目标音乐为背景音乐。
  6. 根据权利要求1-4任一所述的方法,其特征在于,在所述在所述第一目标显示区域播放第一目标视频之后,还包括:
    接收视频切换指令,所述视频切换指令当用户在所述第一目标显示区域左右滑动时触发 生成;
    将所述第一目标视频切换为以所述第一目标音乐作为背景音乐的其他目标视频。
  7. 根据权利要求1-4任一所述的方法,其特征在于,在所述在所述第一目标显示区域播放第一目标视频之后,还包括:
    接收列表返回指令,所述列表返回指令在用户点击所述第一目标显示区域内的非控件显示子区域时触发生成;
    将所述第一目标显示区域的高度收缩为原始高度值,并停止在所述第一目标显示区域展示所述第一目标视频。
  8. 根据权利要求1-4任一所述的方法,其特征在于,在所述在所述第一目标显示区域播放第一目标视频之后,还包括:
    接收音乐使用指令,所述音乐使用指令在用户点击所述第一目标显示区域中的使用控件时触发生成;
    将当前显示界面由所述音乐列表显示界面切换为视频录制界面,并开启摄像头,以录制以所述第一目标音乐作为背景音乐的自制视频。
  9. 根据权利要求1-8任一所述的方法,其特征在于,所述音乐列表显示界面为原始音乐的相似音乐列表显示界面,在所述接收第一视频播放指令之前,还包括:
    当显示原始音乐的音乐详情界面时,接收相似音乐显示指令,所述相似音乐显示指令在用户点击所述音乐详情界面中的相似音乐控件时触发生成;
    将当前显示界面由所述音乐详情界面切换为所述原始音乐的相似音乐列表显示界面,所述相似音乐列表显示界面包含至少一个显示区域,所述显示区域的高度为原始高度值,所述显示区域内显示有所述原始音乐的相似音乐的音乐项。
  10. 一种视频播放的控制装置,其特征在于,包括:
    第一指令接收模块,用于接收第一视频播放指令,所述第一视频播放指令在用户点击音乐列表显示界面中第一目标显示区域内的视频播放控件时触发生成;
    第一视频播放模块,用于在所述第一目标显示区域播放第一目标视频,并将所述第一目标显示区域的高度扩展为设定高度值,所述第一目标视频以所述第一目标显示区域内显示的第一目标音乐项所对应的第一目标音乐作为背景音乐。
  11. 一种电子设备,其特征在于,包括:
    一个或多个处理器;
    存储器,用于存储一个或多个程序,
    当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求1-9中任一所述的视频播放的控制方法。
  12. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1-9中任一所述的视频播放的控制方法。
  13. 一种计算机程序产品,其包括承载在非暂态计算机可读介质上的计算机程序,所述计算机程序被处理器执行时,实现如权利要求1-9中任一所述的视频播放的控制方法。
PCT/CN2021/100196 2020-06-30 2021-06-15 视频播放的控制方法、装置、电子设备和存储介质 WO2022001655A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP21834026.3A EP4161082A4 (en) 2020-06-30 2021-06-15 METHOD AND DEVICE FOR CONTROLLING VIDEO PLAYBACK, ELECTRONIC DEVICE AND STORAGE MEDIUM
US18/089,287 US20230132567A1 (en) 2020-06-30 2022-12-27 Video playback control method and apparatus, electronic device and storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010617537.8A CN111757163B (zh) 2020-06-30 2020-06-30 视频播放的控制方法、装置、电子设备和存储介质
CN202010617537.8 2020-06-30

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US18/089,287 Continuation US20230132567A1 (en) 2020-06-30 2022-12-27 Video playback control method and apparatus, electronic device and storage medium

Publications (1)

Publication Number Publication Date
WO2022001655A1 true WO2022001655A1 (zh) 2022-01-06

Family

ID=72678649

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/100196 WO2022001655A1 (zh) 2020-06-30 2021-06-15 视频播放的控制方法、装置、电子设备和存储介质

Country Status (4)

Country Link
US (1) US20230132567A1 (zh)
EP (1) EP4161082A4 (zh)
CN (1) CN111757163B (zh)
WO (1) WO2022001655A1 (zh)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111757163B (zh) * 2020-06-30 2022-07-01 北京字节跳动网络技术有限公司 视频播放的控制方法、装置、电子设备和存储介质
CN112380362B (zh) * 2020-10-27 2024-06-18 脸萌有限公司 基于用户交互的音乐播放方法、装置、设备及存储介质
CN113347503B (zh) * 2021-06-15 2023-05-23 广州酷狗计算机科技有限公司 音视频播放方法、装置、计算机设备及存储介质
CN113885994A (zh) * 2021-10-12 2022-01-04 维沃移动通信有限公司 显示方法、装置和电子设备
CN115103232B (zh) * 2022-07-07 2023-12-08 北京字跳网络技术有限公司 一种视频播放方法、装置、设备和存储介质
CN115190367B (zh) * 2022-07-07 2023-12-01 北京字跳网络技术有限公司 一种视频播放方法、装置、设备和存储介质

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080066102A1 (en) * 2006-09-11 2008-03-13 Tammy Tova Abraham Techniques and Graphical User Interfaces for Review of Media Items
US20100229094A1 (en) * 2009-03-04 2010-09-09 Apple Inc. Audio preview of music
CN103096172A (zh) * 2013-01-18 2013-05-08 深圳市龙视传媒有限公司 一种展示推荐节目的方法和装置
CN105898610A (zh) * 2015-10-15 2016-08-24 乐视网信息技术(北京)股份有限公司 视频列表的自动播放方法和装置
CN109189292A (zh) * 2018-08-10 2019-01-11 北京微播视界科技有限公司 拍摄视频时的音乐选取方法、装置及电子设备
CN109302538A (zh) * 2018-12-21 2019-02-01 广州酷狗计算机科技有限公司 音乐播放方法、装置、终端及存储介质
CN110968728A (zh) * 2019-12-24 2020-04-07 北京酷我科技有限公司 一种音乐速听播放方法
CN111757163A (zh) * 2020-06-30 2020-10-09 北京字节跳动网络技术有限公司 视频播放的控制方法、装置、电子设备和存储介质

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7075000B2 (en) * 2000-06-29 2006-07-11 Musicgenome.Com Inc. System and method for prediction of musical preferences
US9547437B2 (en) * 2012-07-31 2017-01-17 Apple Inc. Method and system for scanning preview of digital media
US20170075468A1 (en) * 2014-03-28 2017-03-16 Spotify Ab System and method for playback of media content with support for force-sensitive touch input
US10223447B2 (en) * 2017-08-02 2019-03-05 Spotify Ab Playlist trailer
CN107959873A (zh) * 2017-11-02 2018-04-24 深圳天珑无线科技有限公司 在视频中植入背景音乐的方法、装置、终端及存储介质
CN107908929B (zh) * 2017-11-24 2020-07-31 腾讯音乐娱乐科技(深圳)有限公司 播放音频数据的方法和装置
CN110189741A (zh) * 2018-07-05 2019-08-30 腾讯数码(天津)有限公司 音频合成方法、装置、存储介质和计算机设备
CN111294637A (zh) * 2020-02-11 2020-06-16 北京字节跳动网络技术有限公司 视频播放方法、装置、电子设备和计算机可读介质

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080066102A1 (en) * 2006-09-11 2008-03-13 Tammy Tova Abraham Techniques and Graphical User Interfaces for Review of Media Items
US20100229094A1 (en) * 2009-03-04 2010-09-09 Apple Inc. Audio preview of music
CN103096172A (zh) * 2013-01-18 2013-05-08 深圳市龙视传媒有限公司 一种展示推荐节目的方法和装置
CN105898610A (zh) * 2015-10-15 2016-08-24 乐视网信息技术(北京)股份有限公司 视频列表的自动播放方法和装置
CN109189292A (zh) * 2018-08-10 2019-01-11 北京微播视界科技有限公司 拍摄视频时的音乐选取方法、装置及电子设备
CN109302538A (zh) * 2018-12-21 2019-02-01 广州酷狗计算机科技有限公司 音乐播放方法、装置、终端及存储介质
CN110968728A (zh) * 2019-12-24 2020-04-07 北京酷我科技有限公司 一种音乐速听播放方法
CN111757163A (zh) * 2020-06-30 2020-10-09 北京字节跳动网络技术有限公司 视频播放的控制方法、装置、电子设备和存储介质

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP4161082A4 *

Also Published As

Publication number Publication date
US20230132567A1 (en) 2023-05-04
EP4161082A1 (en) 2023-04-05
CN111757163A (zh) 2020-10-09
EP4161082A4 (en) 2023-11-29
CN111757163B (zh) 2022-07-01

Similar Documents

Publication Publication Date Title
WO2022001655A1 (zh) 视频播放的控制方法、装置、电子设备和存储介质
WO2022218282A1 (zh) 控件的显示方法、装置、电子设备和存储介质
WO2020010814A1 (zh) 选择背景音乐拍摄视频的方法、装置、终端设备及介质
WO2022083427A1 (zh) 横屏交互方法、装置、电子设备和存储介质
WO2020007012A1 (zh) 一种搜索页面显示方法、装置、终端及存储介质
CN103577138B (zh) 显示信息的方法及移动终端
WO2021249494A1 (zh) 信息展示方法、装置和电子设备
WO2023051331A1 (zh) 视频列表的显示方法、装置、电子设备和存储介质
WO2023011181A1 (zh) 横屏交互方法、装置、电子设备及存储介质
WO2023024921A1 (zh) 视频交互方法、装置、设备及介质
WO2023011142A1 (zh) 视频的处理方法、装置、电子设备和存储介质
WO2022048435A1 (zh) 一种视频推荐方法、装置、电子设备和存储介质
WO2020108339A1 (zh) 一种页面显示位置跳转方法、装置,终端设备及存储介质
WO2022199426A1 (zh) 视频的展示方法、装置、电子设备和存储介质
CN104284249A (zh) 视频播放方法及装置
WO2023036277A1 (zh) 内容显示方法、装置、设备及介质
US11934632B2 (en) Music playing method and apparatus
WO2022042035A1 (zh) 视频制作方法、装置、设备及存储介质
WO2023273854A1 (zh) 控件显示方法、装置、设备及介质
WO2022037283A1 (zh) 多媒体播放方法及设备
WO2022227931A1 (zh) 录屏交互方法、装置、电子设备及计算机可读存储介质
WO2023125161A1 (zh) 直播间控制方法、装置、电子设备、介质及程序产品
WO2024016902A1 (zh) 多媒体播放方法、设备、存储介质及程序产品
WO2023071799A1 (zh) 展示方法、装置和电子设备
CN112584222A (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: 21834026

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2021834026

Country of ref document: EP

Effective date: 20221227

NENP Non-entry into the national phase

Ref country code: DE