Video playing method and device, electronic equipment and storage medium

文档序号:1559150 发布日期:2020-01-21 浏览:8次 中文

阅读说明:本技术 一种视频播放方法、装置、电子设备及存储介质 (Video playing method and device, electronic equipment and storage medium ) 是由 汤晓 于 2019-10-21 设计创作,主要内容包括:本公开实施例提供了一种视频播放方法、装置、电子设备及存储介质。该方法包括:在播放视频专辑中的每一集视频时,检测该视频是否预先关联有至少两个互动选项;其中,不同的互动选项对应不同的可跳转视频,且每个互动选项的选项内容为该互动选项对应的可跳转视频的剧情说明,所述可跳转视频为属于所述视频专辑的、且符合该视频的剧情发展的视频;若检测到该视频关联有所述至少两个互动选项,则在该视频播放到预设的互动时间点时,展示所述至少两个互动选项;确定用户所选择的目标互动选项;跳转播放所述目标互动选项所对应的可跳转视频。本公开实施例可以提高视频客户端与用户之间的互动性。(The embodiment of the disclosure provides a video playing method and device, electronic equipment and a storage medium. The method comprises the following steps: when each video set in a video album is played, detecting whether the video is associated with at least two interactive options in advance; the different interaction options correspond to different skippable videos, the option content of each interaction option is a scenario description of the skippable video corresponding to the interaction option, and the skippable video belongs to the video album and accords with the scenario development of the video; if the video is associated with the at least two interaction options, displaying the at least two interaction options when the video is played to a preset interaction time point; determining a target interaction option selected by a user; and skipping to play the skippable video corresponding to the target interaction option. The embodiment of the disclosure can improve the interactivity between the video client and the user.)

1. A video playing method is applied to a video client, and the method comprises the following steps:

when each video set in a video album is played, detecting whether the video is associated with at least two interactive options in advance; the different interaction options correspond to different skippable videos, the option content of each interaction option is a scenario description of the skippable video corresponding to the interaction option, and the skippable video belongs to the video album and accords with the scenario development of the video;

if the video is associated with the at least two interaction options, displaying the at least two interaction options when the video is played to a preset interaction time point;

determining a target interaction option selected by a user;

and skipping to play the skippable video corresponding to the target interaction option.

2. The method of claim 1, wherein each interactive option further corresponds to a predetermined starting playing time point;

the skipping playing of the skippable video corresponding to the target interaction option comprises:

and starting from the initial playing time point corresponding to the target interaction option, playing the skippable video corresponding to the target interaction option.

3. The method of claim 1, wherein the at least two interactive options correspond to an interactive title;

when the video is played to a preset interaction time point, the at least two interaction options are displayed, and the method comprises the following steps:

when the video is played to a preset interaction time point, displaying the at least two interaction options and interaction titles corresponding to the at least two interaction options;

the determining the target interaction option selected by the user comprises:

and determining the target interaction option selected by the user based on the interaction title.

4. The association method of the interaction option is characterized by being applied to a video client; the method comprises the following steps:

a setting panel for displaying the interaction options of the target video to a video uploader; the target video is any video in a video album uploaded by the video uploader;

receiving setting contents given by the video uploader in the setting panel about at least two interactive options, wherein the setting contents comprise: episode identification of a skippable video corresponding to each interactive option and option content of each interactive option; the option content of each interactive option is a scenario description of a skippable video corresponding to the interactive option; the skippable video is a video which belongs to the video album and accords with the plot development of the target video;

and sending the setting content to a server so that the server associates the at least two interaction options for the target video based on the setting content.

5. The method of claim 4, wherein setting the content further comprises: and displaying styles of the at least two interactive options.

6. The method of claim 4, wherein setting the content further comprises: and the interactive titles correspond to the at least two interactive options.

7. A video playing apparatus, applied to a video client, the apparatus comprising:

the detection module is configured to detect whether each video set in the video album is associated with at least two interaction options in advance when the video set is played; the different interaction options correspond to different skippable videos, the option content of each interaction option is a scenario description of the skippable video corresponding to the interaction option, and the skippable video belongs to the video album and accords with the scenario development of the video;

the option display module is configured to display the at least two interactive options when the video is played to a preset interactive time point if the video is detected to be associated with the at least two interactive options;

a determination module configured to determine a target interaction option selected by a user;

and the skip playing module is configured to skip and play the skippable video corresponding to the target interaction option.

8. The device for associating the interactive options is characterized by being applied to a video client; the device comprises:

the panel display module is configured to display a setting panel of interaction options of the target video to the video uploader; the target video is any video in a video album uploaded by the video uploader;

a receiving module configured to receive setting contents given by the video uploader in the setting panel about at least two interactive options, the setting contents including: episode identification of a skippable video corresponding to each interactive option and option content of each interactive option; the option content of each interactive option is a scenario description of a skippable video corresponding to the interactive option; the skippable video is a video which belongs to the video album and accords with the plot development of the target video;

a sending module configured to send the setting content to a server, so that the server associates the at least two interaction options for the target video based on the setting content.

9. A client device, comprising:

a processor;

a memory for storing the processor-executable instructions;

wherein the processor is configured to execute the instructions to implement the method of any one of claims 1 to 6.

10. A storage medium, wherein instructions in the storage medium, when executed by a processor of a client device, enable the client device to perform the method of any of claims 1-6.

Technical Field

The present disclosure relates to the field of video application technologies, and in particular, to a video playing method and apparatus, an electronic device, and a storage medium.

Background

Various videos are played through the video client, and the method becomes a common leisure or learning mode in life of people. Among the videos played by the video client, there are many video albums, such as video albums composed of short videos in the form of television series and multiple episode small theaters.

Disclosure of Invention

The disclosure provides a video playing method, a video playing device, electronic equipment and a storage medium, so as to improve interactivity between a video client and a user. The technical scheme of the disclosure is as follows:

according to a first aspect of the embodiments of the present disclosure, there is provided a video playing method applied to a video client, including:

when each video set in a video album is played, detecting whether the video is associated with at least two interactive options in advance; the different interaction options correspond to different skippable videos, the option content of each interaction option is a scenario description of the skippable video corresponding to the interaction option, and the skippable video belongs to the video album and accords with the scenario development of the video;

if the video is associated with the at least two interaction options, displaying the at least two interaction options when the video is played to a preset interaction time point;

determining a target interaction option selected by a user;

and skipping to play the skippable video corresponding to the target interaction option.

Optionally, each interactive option also corresponds to a preset starting playing time point;

the skipping playing of the skippable video corresponding to the target interaction option comprises:

and starting from the initial playing time point corresponding to the target interaction option, playing the skippable video corresponding to the target interaction option.

Optionally, the interaction time point includes: a video end time point or a scenario end time point.

The at least two interactive options correspond to one interactive title;

when the video is played to a preset interaction time point, the at least two interaction options are displayed, and the method comprises the following steps:

when the video is played to a preset interaction time point, displaying the at least two interaction options and interaction titles corresponding to the at least two interaction options;

the determining the target interaction option selected by the user comprises:

and determining the target interaction option selected by the user based on the interaction title.

According to a second aspect of the embodiments of the present disclosure, there is provided a method for associating interaction options, applied to a video client, including:

a setting panel for displaying the interaction options of the target video to a video uploader; the target video is any video in a video album uploaded by the video uploader;

receiving setting contents given by the video uploader in the setting panel about at least two interactive options, wherein the setting contents comprise: episode identification of a skippable video corresponding to each interactive option and option content of each interactive option; the option content of each interactive option is a scenario description of a skippable video corresponding to the interactive option; the skippable video is a video which belongs to the video album and accords with the plot development of the target video;

and sending the setting content to a server so that the server associates the at least two interaction options for the target video based on the setting content.

Optionally, the setting content further includes: and displaying styles of the at least two interactive options.

Optionally, the setting content further includes: and each interactive option corresponds to the starting playing time point of the skippable video.

Optionally, the setting content further includes: and the interactive titles correspond to the at least two interactive options.

According to a third aspect of the embodiments of the present disclosure, there is provided a video playing apparatus applied to a video client, including:

the detection module is configured to detect whether each video set in the video album is associated with at least two interaction options in advance when the video set is played; the different interaction options correspond to different skippable videos, the option content of each interaction option is a scenario description of the skippable video corresponding to the interaction option, and the skippable video belongs to the video album and accords with the scenario development of the video;

the option display module is configured to display the at least two interactive options when the video is played to a preset interactive time point if the video is detected to be associated with the at least two interactive options;

a determination module configured to determine a target interaction option selected by a user;

and the skip playing module is configured to skip and play the skippable video corresponding to the target interaction option.

Optionally, each interactive option also corresponds to a preset starting playing time point;

the skip playing module is specifically configured to play the skippable video corresponding to the target interaction option from the start playing time point corresponding to the target interaction option.

Optionally, the interaction time point includes: a video end time point or a scenario end time point.

The at least two interactive options correspond to one interactive title;

the option presentation module is specifically configured to: when the video is played to a preset interaction time point, displaying the at least two interaction options and interaction titles corresponding to the at least two interaction options;

the determining module is specifically configured to: and determining the target interaction option selected by the user based on the interaction title.

According to a fourth aspect of the embodiments of the present disclosure, there is provided an apparatus for associating interactive options, applied to a video client, including:

the panel display module is configured to display a setting panel of interaction options of the target video to the video uploader; the target video is any video in a video album uploaded by the video uploader;

a receiving module configured to receive setting contents given by the video uploader in the setting panel about at least two interactive options, the setting contents including: episode identification of a skippable video corresponding to each interactive option and option content of each interactive option; the option content of each interactive option is a scenario description of a skippable video corresponding to the interactive option; the skippable video is a video which belongs to the video album and accords with the plot development of the target video;

a sending module configured to send the setting content to a server, so that the server associates the at least two interaction options for the target video based on the setting content.

Optionally, the setting content further includes: and displaying styles of the at least two interactive options.

Optionally, the setting content further includes: and each interactive option corresponds to the starting playing time point of the skippable video.

Optionally, the setting content further includes: and the interactive titles correspond to the at least two interactive options.

According to a fifth aspect of embodiments of the present disclosure, there is provided a client device, including:

a processor;

a memory for storing the processor-executable instructions;

wherein the processor is configured to execute the instructions to implement any one of the above video playing methods and/or any one of the above interaction option association methods.

According to a sixth aspect of the embodiments of the present disclosure, there is provided a storage medium, wherein instructions, when executed by a processor of a client device, enable the client device to execute any one of the video playing methods described above and/or any one of the interaction option association methods described above.

According to a seventh aspect of the embodiments of the present disclosure, there is provided a computer program product, which, when executed by a processor of an electronic device, enables the electronic device to execute any one of the video playing methods described above and/or any one of the association methods of the interaction options described above.

The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:

in the video playing method provided by the embodiment of the disclosure, when each set of videos in a video album is played, if it is detected that a video is associated with at least two interaction options, the associated interaction options are displayed for a user to select when the video is played to a preset interaction time point; the different interaction options correspond to different skippable videos, the option content of each interaction option is a scenario description of the skippable video corresponding to the interaction option, and the skippable videos belong to the same video album and accord with the scenario development of the videos. Therefore, when the user selects the target interaction option from the displayed at least two interaction options, the skippable video corresponding to the target interaction option can be skippable and played. Therefore, the scheme enables the user to actively select the plot of the video album, and therefore interactivity between the video client and the user is improved.

It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.

Drawings

The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.

Fig. 1 is a flow chart illustrating a video playback method according to an exemplary embodiment.

Fig. 2 is a diagram illustrating interaction options associated with presenting videos in a video client according to an example embodiment.

Fig. 3 is a diagram illustrating another interaction option associated with presenting a video in a video client, according to an example embodiment.

FIG. 4 is a flow diagram illustrating a method of associating interactive options, according to an example embodiment.

Fig. 5 is a block diagram illustrating a video playback device according to an example embodiment.

FIG. 6 is a block diagram illustrating an apparatus for associating interactive options, according to an example embodiment.

Fig. 7 is a block diagram illustrating a client device in accordance with an example embodiment.

FIG. 8 is a block diagram illustrating an apparatus for playing a video and/or associating interactive options with a video in accordance with an example embodiment.

Detailed Description

In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.

It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.

In order to improve interactivity between a video client and a user, the embodiments of the present disclosure provide a video playing method and apparatus, an electronic device, and a storage medium. The execution main body of the video playing method provided by the embodiment of the disclosure may be a video playing device, and the device may be applied to client equipment. It is understood that the video playing apparatus is a software function module in the video client installed in the client device. In a specific application, the client device may be a smart phone, a television box, a computer, or the like.

Fig. 1 is a flow chart illustrating a video playing method, which may be applied in a video client, according to an exemplary embodiment. As shown in fig. 1, the method may include the steps of:

in step S11, when each album video in the video album is played, it is detected whether the video is associated with at least two interaction options in advance.

Wherein, different interaction options correspond to different skippable videos, and the option content of each interaction option is a plot description of the skippable video corresponding to the interaction option; the skippable video is a video which belongs to the same video album as the video and conforms to the plot development of the video. It is understood that the episode identification of the skippable video in the video album may also be included in the episode description of the skippable video.

In this step, the video album may be a television series, or a video album composed of short videos in the form of a multi-episode mini-theater, or the like. Moreover, the video album may be a video album having only one scenario development route, or a video album having a plurality of scenario branches, which is not limited in the embodiment of the present disclosure.

In step S12, if it is detected that the video is associated with at least two interaction options, the associated at least two interaction options are displayed when the video is played to a preset interaction time point.

Here, the preset interaction time point exists in various kinds. For example, the preset interaction time point may include: a video end time point or a scenario end time point. In addition, the preset interaction time point can also be a time point which is customized by a video uploader when the interaction option is set for the video in the video album. It is understood that the various time points referred to herein are time points on the time axis of the video.

In this step, there are various display modes for displaying at least two interactive options associated with the video. For example, in an implementation manner, when the video is played to a preset interaction time point, a prompt box pops up on a display interface of the video client, and each associated interaction option is displayed in the prompt box. In another implementation, when the video is played to a preset interaction time point, a static or dynamic picture or a small segment of video is played in the video client, and the associated interaction options are displayed in the played picture or video. For better visualization, fig. 2 illustrates a schematic diagram showing interaction options associated with a video in a video client. As can be seen from fig. 2, the set 2 of the video album "white snow princess newsletter" is currently being played, and the option contents of the two interactive options associated with the set are "apple delivered for the elderly, white snow princess chooses to eat, and as a result, the apple is not awake for the elderly, and" apple delivered for the elderly, white snow princess says: i don't hungry you eat a bar by oneself ". It should be noted that the manner of presenting at least two interaction options associated with the video shown in fig. 2 is merely an example, and should not be construed as a limitation to the embodiment of the present disclosure, and any manner of presenting the prompt information or the interaction information that can be supported by the video client is applicable to the embodiment of the present disclosure.

Moreover, when the display mode of at least two interactive options related to the display video is determined in the video client, the display style of the interactive options can be selected by a video uploader when setting the interactive options for the video in the video album.

In step S13, the target interaction option selected by the user is determined.

It is understood that the target interaction option is one interaction option selected by the user from at least two interaction options associated with the video being played.

In practical applications, the interactive options presented by the video client may be clickable options. Thus, when the user clicks one of the interaction options, the clicked interaction option is the target interaction option.

In step S14, the skippable video corresponding to the target interaction option is played.

In the step, when a target interaction option selected by a user is determined, skipping playing of a skippable video corresponding to the target interaction option is performed; or after determining the target interaction option selected by the user, skipping to play the skippable video corresponding to the target interaction option, for example, when the preset interaction time point is the plot ending time point, the action of skipping to play may be executed after playing the trailer of the video.

In practical applications, if the video album is a video album with only one plot development route, the skippable video corresponding to the associated interaction option may be the video of the set number of plots that the user is more inclined to watch subsequently for the set of videos being played. For example, suppose a video episode is being played, indicating that the next episode will play a scene that the hero has experienced tragic encounter, or indicating that the next episode will have terrorism, which may be scenes that the user does not want to watch; then, among the interaction options associated with the set of videos, a jumpable video corresponding to one interaction option may be a set of videos after the next set of videos. In this way, the user can choose to skip through the scenes that he does not want to watch.

In addition, if the video album is a video album with a plurality of scenario branches, the skippable videos corresponding to the associated interaction options may correspond to different scenario branches respectively for a video album being played. In this way, the user can select a favorite scenario development route to watch videos in the video album, and therefore the scenario becomes a dominant person from a bystander of the scenario.

In the video playing method provided by the embodiment of the disclosure, when each set of videos in a video album is played, if it is detected that a video is associated with at least two interaction options, the associated interaction options are displayed for a user to select when the video is played to a preset interaction time point; the different interaction options correspond to different skippable videos, the option content of each interaction option is a scenario description of the skippable video corresponding to the interaction option, and the skippable videos belong to the same video album and accord with the scenario development of the videos. Therefore, when the user selects the target interaction option from the displayed at least two interaction options, the skippable video corresponding to the target interaction option can be skippable and played. Therefore, the scheme enables the user to actively select the plot of the video album, and therefore interactivity between the video client and the user is improved.

Optionally, in an implementation manner, each interactive option further corresponds to a preset starting playing time point;

correspondingly, in step S14, skipping to play the skippable video corresponding to the target interaction option may include:

and starting from the initial playing time point corresponding to the target interaction option, playing the skippable video corresponding to the target interaction option.

Here, the preset starting play time point may be a scenario start time point. Since many videos play a tune or an advertisement inserted in the video before the start of the scenario, the scenario start time point may be different even for videos in the same video album. Therefore, the plot starting time point of the jumpable video corresponding to the interactive option can be set in the interactive option in advance as the starting playing time point of the jumpable video. In addition, the preset initial playing time point can also be any time point which is customized in advance by a video uploader according to the development of the scenario. It is understood that the various time points referred to herein are time points on the time axis of the video.

Optionally, in an implementation manner, at least two interaction options associated with the video may correspond to one interaction title;

correspondingly, in step S12, when the video is played to the preset interaction time point, the presenting the associated at least two interaction options may include:

when the video is played to a preset interaction time point, displaying at least two associated interaction options and corresponding interaction titles;

in step S13, the determining the target interaction option selected by the user may include:

target interaction options selected by the user based on the interaction title are determined.

In this implementation, the content of the interactive title may exist in various kinds. For example, the current scenario development can be briefly summarized in the interactive title; or, the user may be prompted in the interactive title that the interaction option may be selected at this time; alternatively, the interactive question may be set in an interactive title as shown in fig. 3. In fig. 3, the interactive title is "do you eat or not eat a snowman in front of an apple, a snowman who is coming from the elderly? "the two corresponding interaction options are" a: eating, not eating the apple without the prince of the apple and B: not eating, the white snow princess is no longer eating. Therefore, after the interactive title is added, the interestingness of the interaction between the video client and the user can be further improved.

Based on the same inventive concept, the embodiment of the disclosure also provides an association method of interaction options, and the method can be applied to a video client. It is understood that the interaction options associated with the method are interaction options associated with videos in a video album in the above-mentioned video playing method.

It should be noted that the execution subject of the association method for interactive options provided in the embodiment of the present disclosure may be an association apparatus for interactive options, and the apparatus may be applied to a client device. It will be appreciated that the apparatus is a software function module in the video client installed for the client device. In a specific application, the client device may be a smart phone, a television box, a computer, or the like.

FIG. 4 is a flow chart illustrating a method of associating interactive options, as shown in FIG. 4, which may include the steps of:

in step S41, the setting panel of the interaction options of the target video is presented to the video uploader.

The target video is any video in a video album uploaded by a video uploader. Here, the video uploader may be a user of the video client, that is, the video client according to the embodiment of the present disclosure may be a client that supports the user to upload a video by himself.

In this step, after receiving an instruction for setting the interaction option of the target video from the video uploader, the setting panel for the interaction option of the target video may be displayed to the video uploader. Specifically, a button for calling out the setting panel may be provided in the video client; and when the video uploader clicks the button, the setting panel of the interaction options of the target video is displayed to the video uploader.

In step S42, setting contents given by the video uploader in the setting panel about at least two interactive options are received.

Wherein the setting contents include: episode identification of a skippable video corresponding to each interactive option and option content of each interactive option; the option content of each interactive option is a scenario description of a skippable video corresponding to the interactive option; the skippable video is a video which belongs to the same video album as the target video and conforms to the plot development of the target video.

It can be understood that, in the setting content, the episode identification of the skippable video corresponding to each interactive option is set, that is, the skippable video corresponding to each interactive option is specified; the option content of each interactive option is set in the setting content, that is, the content that can be displayed by the interactive option when the subsequent interactive options are displayed is determined.

In addition, regarding the specific category of the video albums and the skippable videos corresponding to the interactive options of the videos in the video albums of different categories, detailed descriptions have been already made in the video playing method, and are not repeated here.

It can be understood that the setting content also includes the number of interaction options. For example, a plurality of interaction options for setting may be provided in the setting panel, and if a user sets option contents and episode identifications of corresponding skippable videos for n of the interaction options, respectively, and clicks a save button in the setting panel, a default user sets n of interaction options in the setting panel, where n is an integer greater than or equal to 2. Or, in the setting panel, one interactive option can be set each time; after the user sets an interaction option, the user can click a button of a newly added interaction option in the setting panel; therefore, when the user finishes setting and clicks the save button in the setting panel, the number of the interactive options is determined accordingly.

In step S43, the setting content is sent to the server so that the server associates at least two interaction options for the target video based on the setting content.

It can be understood that, after the video client sends the setting content to the server, the server may designate a corresponding skippable video for each interactive option according to the episode identification of the skippable video corresponding to each interactive option included in the setting content, and add corresponding option content to each interactive option according to the option content of each interactive option included in the setting content. Therefore, when the target video is played by any video client, the associated interaction options can be correspondingly displayed. Here, any video client refers to any of all video clients corresponding to the server, and is not necessarily a video client that executes the method of associating the interaction option. That is to say, after the video uploader uploads the target video through the video client of the video uploader and associates the interaction option with the target video, the target video can be played in other video clients corresponding to the same server as the video client used by the video uploader, and the interaction option associated with the target video is correspondingly displayed.

In the association method of the interaction options provided by the embodiment of the disclosure, a setting panel for associating the interaction options with the target video in the video album is provided in the video client; in this way, the video uploader can associate at least two interaction options for the target video using the settings panel. In at least two interactive options associated with the setting panel, different interactive options correspond to different skippable videos, and the option content of each interactive option is a scenario description of the skippable video corresponding to the interactive option. In this way, when the subsequent target video is played by the video client, the associated at least two interactive options can be presented, so that the viewer can select the skippable video desired to be viewed from the associated at least two interactive options. Therefore, the scheme can support the user to actively select the plot of the video album from the video client, thereby helping to improve the interactivity between the video client and the user.

Optionally, in an implementation manner, the setting content may further include: the video uploader gives the presentation style of at least two interactive options given in the settings panel.

It will be appreciated that the video client may provide multiple presentation styles in the settings panel for selection by the video uploader. Specifically, the presentation style may define the background color, border, font size, rendered decoration, arrangement, and the like of the interaction options.

In addition, the detailed examples have been already given in the above playing method for how to display the interactive options in the video client, and are not described herein again.

Optionally, in an implementation manner, the setting content may further include: and the video uploader sets the initial playing time point of the skippable video corresponding to each given interactive option in the setting panel.

Here, the preset starting playing time point may be a scenario starting time point, or an arbitrary time point predefined by a video uploader according to the development of the scenario, or the like.

Optionally, in an implementation manner, the setting content may further include: and the video uploader sets interactive titles corresponding to at least two interactive options given in the setting panel.

Here, an interactive title is set, which can be used to briefly summarize the current scenario development; or the interactive title is used for prompting the user to select an interactive option; or the method is used for presenting interactive questions to the user so that the user can select interactive options according to the interactive questions.

It is understood that the interactive title may also have a presentation style. Therefore, the display style of the interactive title can be set in the setting panel together with the display style of the interactive option, or can be set separately, which is reasonable.

Corresponding to the video playing method, the embodiment of the present disclosure further provides a video playing device, which can be applied to a video client. As shown in fig. 5, the apparatus may include:

a detection module 501, configured to detect whether each video set in a video album is associated with at least two interaction options in advance when the video set is played; the different interaction options correspond to different skippable videos, the option content of each interaction option is a scenario description of the skippable video corresponding to the interaction option, and the skippable video belongs to the video album and accords with the scenario development of the video;

an option display module 502 configured to display the at least two interaction options when the video is played to a preset interaction time point if it is detected that the video is associated with the at least two interaction options;

a determining module 503 configured to determine a target interaction option selected by a user;

and a skip playing module 504 configured to skip playing the skippable video corresponding to the target interaction option.

Optionally, each interactive option also corresponds to a preset starting playing time point;

the skip playing module 504 is specifically configured to play the skippable video corresponding to the target interaction option from the start playing time point corresponding to the target interaction option.

Optionally, the interaction time point includes: a video end time point or a scenario end time point.

Optionally, the at least two interaction options correspond to one interaction title;

the option presentation module 502 is specifically configured to: when the video is played to a preset interaction time point, displaying the at least two interaction options and interaction titles corresponding to the at least two interaction options;

the determining module 503 is specifically configured to: and determining the target interaction option selected by the user based on the interaction title.

According to the video playing device provided by the embodiment of the disclosure, when each video in a video album is played, if the video is associated with at least two interaction options, the associated interaction options are displayed for a user to select when the video is played to a preset interaction time point; the different interaction options correspond to different skippable videos, the option content of each interaction option is a scenario description of the skippable video corresponding to the interaction option, and the skippable videos belong to the same video album and accord with the scenario development of the videos. Therefore, when the user selects the target interaction option from the displayed at least two interaction options, the skippable video corresponding to the target interaction option can be skippable and played. Therefore, the scheme enables the user to actively select the plot of the video album, and therefore interactivity between the video client and the user is improved.

Corresponding to the association method of the interaction options, the embodiment of the disclosure further provides an association device of the interaction options, and the association device can be applied to a video client. As shown in fig. 6, the apparatus may include:

the panel display module 601 is configured to display a setting panel of interaction options of a target video to a video uploader; the target video is any video in a video album uploaded by the video uploader;

a receiving module 602 configured to receive setting contents given by the video uploader in the setting panel about at least two interaction options, the setting contents including: episode identification of a skippable video corresponding to each interactive option and option content of each interactive option; the option content of each interactive option is a scenario description of a skippable video corresponding to the interactive option; the skippable video is a video which belongs to the video album and accords with the plot development of the target video;

a sending module 603 configured to send the setting content to a server, so that the server associates the at least two interaction options for the target video based on the setting content.

Optionally, the setting content further includes: and displaying styles of the at least two interactive options.

Optionally, the setting content further includes: and each interactive option corresponds to the starting playing time point of the skippable video.

Optionally, the setting content further includes: and the interactive titles correspond to the at least two interactive options.

The association device for the interaction options provided by the embodiment of the disclosure provides a setting panel for associating the interaction options with target videos in a video album in a video client; in this way, the video uploader can associate at least two interaction options for the target video using the settings panel. In at least two interactive options associated with the setting panel, different interactive options correspond to different skippable videos, and the option content of each interactive option is a scenario description of the skippable video corresponding to the interactive option. In this way, when the subsequent target video is played by the video client, the associated at least two interactive options can be presented so that the viewer can select the skippable video desired to be viewed from the associated at least two interactive options. Therefore, the scheme can support the user to actively select the plot of the video album from the video client, thereby helping to improve the interactivity between the video client and the user.

With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.

Fig. 7 is a block diagram illustrating a client device in accordance with an example embodiment. Referring to fig. 7, the client device may include:

a processor 701;

a memory 702 for storing instructions executable by the processor 701;

the processor 701 is configured to execute the instructions to implement any one of the above-mentioned video playing methods and/or any one of the above-mentioned association methods of the interaction options.

In an exemplary embodiment, there is further provided a storage medium, wherein instructions, when executed by a processor of a client device, enable the client device to perform any one of the video playing methods described above and/or any one of the interactive option association methods described above.

In an exemplary embodiment, there is further provided a computer program product, which, when executed by a processor of a client device, enables the client device to perform any of the video playback methods described above, and/or any of the methods described above for associating interactive options.

Fig. 8 is a block diagram illustrating an apparatus 800 for playing video according to an example embodiment. For example, the apparatus 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.

Referring to fig. 8, the apparatus 800 may include one or more of the following components: a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, an input/output (I/O) interface 812, a sensor component 814, and a communication component 816.

The processing component 802 generally controls overall operation of the device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.

The memory 804 is configured to store various types of data to support operations at the apparatus 800. Examples of such data include instructions for any application or method operating on device 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.

Power components 806 provide power to the various components of device 800. The power components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 800.

The multimedia component 808 includes a screen that provides an output interface between the device 800 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 800 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.

The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.

The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the device 800. For example, the sensor assembly 814 may detect the open/closed status of the device 800, the relative positioning of components, such as a display and keypad of the device 800, the sensor assembly 814 may also detect a change in the position of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, the orientation or acceleration/deceleration of the device 800, and a change in the temperature of the device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

The communication component 816 is configured to facilitate communications between the apparatus 800 and other devices in a wired or wireless manner. The apparatus 800 may access a wireless network based on a communication standard, such as WiFi, an operator network (such as 2G, 3G, 4G, or 5G), or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.

In an exemplary embodiment, the apparatus 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the video playback methods and/or associated methods of interactive options described above.

In an exemplary embodiment, a storage medium comprising instructions, such as the memory 804 comprising instructions, executable by the processor 820 of the apparatus 800 to perform the method described above is also provided. Alternatively, the storage medium may be a non-transitory computer readable storage medium, which may be, for example, a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.

Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.

It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the claims.

17页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:视频播放进度调节方法及电子设备

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类