CN108769777B - Multimedia file playing method and device, storage medium and terminal - Google Patents

Multimedia file playing method and device, storage medium and terminal Download PDF

Info

Publication number
CN108769777B
CN108769777B CN201810553461.XA CN201810553461A CN108769777B CN 108769777 B CN108769777 B CN 108769777B CN 201810553461 A CN201810553461 A CN 201810553461A CN 108769777 B CN108769777 B CN 108769777B
Authority
CN
China
Prior art keywords
interface
playing
multimedia file
area
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810553461.XA
Other languages
Chinese (zh)
Other versions
CN108769777A (en
Inventor
王颖
王雅楠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing 58 Information Technology Co Ltd
Original Assignee
Beijing 58 Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing 58 Information Technology Co Ltd filed Critical Beijing 58 Information Technology Co Ltd
Priority to CN201810553461.XA priority Critical patent/CN108769777B/en
Publication of CN108769777A publication Critical patent/CN108769777A/en
Application granted granted Critical
Publication of CN108769777B publication Critical patent/CN108769777B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/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/4318Generation of visual interfaces for content selection or interaction; Content or additional data rendering by altering the content in the rendering process, e.g. blanking, blurring or masking an image region
    • 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/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • H04N21/4438Window management, e.g. event handling following interaction with the user interface

Abstract

The invention discloses a method, a device, a storage medium and a terminal for playing a multimedia file, wherein the method comprises the following steps: when a multimedia file needs to be played in a first interface, determining a playing area of the multimedia file in the first interface; establishing a second interface with the same size as the playing area, and covering the second interface on the playing area; and playing the multimedia file in the second interface. According to the invention, the second interface is established to play the multimedia file, so that when the multimedia file is played and jumped, the multimedia file is only jumped at the second interface, and the user intuitively feels that the first interface does not have integral refreshing operation, so that the condition of white screen or incomplete display cannot occur, the pause feeling of the card can be reduced, and the use experience of the user is improved.

Description

Multimedia file playing method and device, storage medium and terminal
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method, an apparatus, a storage medium, and a terminal for playing a multimedia file.
Background
When a user accesses a multimedia file, such as a short video file or a music file, in an Application (APP) or a web page, the user usually needs to jump to the corresponding APP or page to play the video, or jump from the currently played multimedia file to the next played multimedia file, and the jump process often needs to refresh the page.
Disclosure of Invention
The invention provides a playing method, a playing device, a storage medium and a terminal of a multimedia file, which are used for solving the problem that the user experience is influenced by the situations of easy occurrence of jamming, white screen or incomplete page display and the like when the multimedia file is played and jumped in the prior art.
In order to solve the above technical problem, in one aspect, the present invention provides a method for playing a multimedia file, including: when a multimedia file needs to be played in a first interface, determining a playing area of the multimedia file in the first interface; establishing a second interface with the same size as the playing area, and covering the second interface on the playing area; and playing the multimedia file in the second interface.
Further, the playing the multimedia file in the second interface includes: acquiring a playing address of the multimedia file; and playing the multimedia file in the second interface according to the playing address.
Further, after the playing the multimedia file in the second interface, the method further includes: detecting whether the second interface comprises a control layer; intercepting an operation instruction of a user on the first interface under the condition that the second interface does not comprise a control layer; and executing the operation instruction on the second interface.
Further, the operation instruction includes at least one of: moving the position of the playing area in the first interface, playing the playing area in a full screen mode, and clicking a preset button for realizing preset operation in the first interface.
On the other hand, the present invention also provides a playing device for multimedia files, comprising: the device comprises a determining module, a playing module and a playing module, wherein the determining module is used for determining a playing area of a multimedia file in a first interface when the multimedia file needs to be played in the first interface; the establishing module is used for establishing a second interface with the same size as the playing area and covering the second interface on the playing area; and the playing module is used for playing the multimedia file in the second interface.
Further, the playing module includes: the acquisition unit is used for acquiring the playing address of the multimedia file; and the playing unit is used for playing the multimedia file in the second interface according to the playing address.
Further, still include: the detection module is used for detecting whether the second interface comprises a control layer; the intercepting module is used for intercepting an operation instruction of a user on the first interface under the condition that the second interface does not comprise a control layer; and the execution module is used for executing the operation instruction on the second interface.
Further, the operation instruction includes at least one of: moving the position of the playing area in the first interface, playing the playing area in a full screen mode, and clicking a preset button for realizing preset operation in the first interface.
In another aspect, the present invention further provides a storage medium storing a computer program, wherein the computer program is executed by a processor to implement the steps of the method for playing a multimedia file.
On the other hand, the present invention further provides a terminal, which at least includes a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the method for playing a multimedia file when executing the computer program on the memory.
According to the invention, the second interface is established to play the multimedia file, so that when the multimedia file is played and jumped, the multimedia file is only jumped at the second interface, and the user intuitively feels that the first interface does not have integral refreshing operation, so that the condition of white screen or incomplete display cannot occur, the pause feeling of the card can be reduced, and the use experience of the user is improved.
Drawings
FIG. 1 is a flow chart of a method for playing a multimedia file according to a first embodiment of the present invention;
FIG. 2 is a flow chart of a playing method of a multimedia file according to a second embodiment of the present invention;
FIG. 3 is a flowchart of a method for playing a multimedia file according to a third embodiment of the present invention;
FIG. 4 is a schematic structural diagram of a playing apparatus for playing a multimedia file according to a fourth embodiment of the present invention;
FIG. 5 is a schematic structural diagram of a playing module in a fifth embodiment of the present invention;
fig. 6 is a schematic structural diagram of a playing apparatus for playing a multimedia file according to a sixth embodiment of the present invention.
Detailed Description
In order to solve the problem that the user experience is affected by the fact that the multimedia file is easy to be jammed and displayed in a white screen or displayed incompletely on a page when the multimedia file is played and jumped in the prior art, the invention provides a method, a device, a storage medium and a terminal for playing the multimedia file, and the invention is further described in detail below by combining the accompanying drawings and the embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and do not limit the invention.
A first embodiment of the present application provides a method for playing a multimedia file, which is mainly applied to a terminal with a multimedia file playing function, and a flowchart thereof is shown in fig. 1, and mainly includes steps S101 to S103:
S101, when the multimedia file needs to be played in the first interface, determining a playing area of the multimedia file in the first interface.
The first interface is an interface displayed for a user, the first interface may include a playing area and a text area, the playing area is used for playing the multimedia file, and the text area is used for displaying other contents, such as characters, pictures, links and the like, which may appear in the first interface, except the multimedia file. In addition, the first interface may further include a self-display layout such as a title bar, a menu bar, a status bar, etc., and when the play of the multimedia file is skipped, the first interface is refreshed along with the generation of the skip, which often causes a situation of stuck, white screen, or incomplete page display.
The playing area in the first interface is mainly used for playing multimedia files, such as short videos, audios and the like, and is usually a playing plug-in with a fixed position and size. The first interface should be provided with a control layer for controlling operations such as playing and pausing of the multimedia file according to the clicking operation of the user.
In this embodiment, when a multimedia file needs to be played in the first interface, for example, when a user clicks a video playing button, it is determined that the playing area of the multimedia file in the first interface may specifically include information such as a specific position and a size of the playing area.
S102, establishing a second interface with the same size as the playing area, and covering the second interface on the playing area.
S103, playing the multimedia file in the second interface.
According to the playing area of the multimedia file determined in S101, a second interface with the same size as the playing area is established, and in order to make the user perceptibly unable to have two interfaces in sense, the second interface should be overlaid on the playing area of the first interface, and in order to reduce the click feeling of the second page when jumping, only a playing plug-in for playing the multimedia file may be provided in the second interface, and the text area, and the menu bar, the title bar, etc. may not be laid out.
And after the second interface is established, directly playing the multimedia file in the second interface. When the playing of the multimedia file jumps, the user only needs to jump in the second interface, and does not need to jump simultaneously in the first interface, so that the user only has to perform local jumping refresh in the playing area in the first interface, but has no refresh operation in the text area, the menu bar, the title bar and the like, and therefore, the condition of white screen or incomplete display cannot occur, the pause feeling of the pause is reduced compared with the pause feeling of the pause when the playing of the multimedia file jumps and refreshes the first interface, and the use experience of the user is improved.
Further, when the multimedia file is a short video, due to the fact that the playing time of the short video is short, continuous playing is usually performed when the short video is played, and after the playing of the current short video is completed, the next short video is immediately jumped to continue playing. If the prior art is used, continuous playing due to the short video time causes continuous skipping and refreshing, and a user frequently waits for refreshing and loading operations performed on the first interface, which wastes a lot of time.
A second embodiment of the present application provides a method for playing a multimedia file, which is mainly applied to a terminal with a multimedia file playing function, and a flowchart thereof is shown in fig. 2, and mainly includes steps S201 to S204:
s201, when the multimedia file needs to be played in the first interface, determining a playing area of the multimedia file in the first interface.
The first interface is an interface displayed for a user, the first interface may include a playing area and a text area, the playing area is used for playing the multimedia file, and the text area is used for displaying other contents, such as characters, pictures, links and the like, which may appear in the first interface, except the multimedia file. In addition, the first interface may further include a self-display layout such as a title bar, a menu bar, a status bar, etc., and when the play of the multimedia file is skipped, the whole first interface is refreshed along with the generation of the skip, which often causes a jam, a blank screen, or an incomplete page display.
The playing area in the first interface is mainly used for playing multimedia files, such as short videos, audios and the like, and is usually a playing plug-in with a fixed position and size. The first interface should be provided with a control layer for controlling operations such as playing and pausing of the multimedia file according to the clicking operation of the user.
In this embodiment, when a multimedia file needs to be played in the first interface, for example, when a user clicks a video playing button, it is determined that the playing area of the multimedia file in the first interface may specifically include information such as a specific position and a size of the playing area.
S202, establishing a second interface with the same size as the playing area, and covering the second interface on the playing area.
According to the playing area of the multimedia file determined in S201, a second interface with the same size as the playing area is established, and in order to make the user not sense that there are two interfaces in sense, the second interface should be overlaid on the playing area of the first interface, and in order to reduce the click feeling of the second page when jumping, only a playing plug-in for playing the multimedia file may be provided in the second interface, and the text area, and the menu bar, the title bar, etc. may not be laid out.
S203, acquiring the playing address of the multimedia file.
And S204, playing the multimedia file in the second interface according to the playing address.
After the second interface is established, a playing address of the multimedia file to be played is obtained, where the playing address may be a Uniform Resource Locator (URL) of the multimedia file in the internet or a file path locally stored in the terminal.
And directly playing the multimedia file in the second interface after the playing address of the multimedia file is acquired. When the playing of the multimedia file jumps, the user only needs to jump in the second interface, and does not need to jump simultaneously in the first interface, so that the user only has to perform local jumping refresh in the playing area in the first interface, but has no refresh operation in the text area, the menu bar, the title bar and the like, and therefore, the condition of white screen or incomplete display cannot occur, the pause feeling of the pause is reduced compared with the pause feeling of the pause when the playing of the multimedia file jumps and refreshes the first interface, and the use experience of the user is improved.
Further, when the multimedia file is a short video, due to the fact that the playing time of the short video is short, continuous playing is usually performed when the short video is played, and after the playing of the current short video is completed, the next short video is immediately jumped to continue playing. If the prior art is used, continuous playing due to the short video time causes continuous skipping and refreshing, and a user frequently waits for refreshing and loading operations performed on the first interface, which wastes a lot of time.
A third embodiment of the present invention provides a method for playing a multimedia file, which is mainly applied to a terminal with a multimedia file playing function, and a flowchart thereof is shown in fig. 3, and mainly includes steps S301 to S306:
s301, when the multimedia file needs to be played in the first interface, determining a playing area of the multimedia file in the first interface.
The first interface is an interface displayed for a user, the first interface may include a playing area and a text area, the playing area is used for playing the multimedia file, and the text area is used for displaying other contents, such as characters, pictures, links and the like, which may appear in the first interface, except the multimedia file. In addition, the first interface may further include a self-display layout such as a title bar, a menu bar, a status bar, etc., and when the play of the multimedia file is skipped, the first interface is refreshed along with the generation of the skip, which often causes a situation of stuck, white screen, or incomplete page display.
The playing area in the first interface is mainly used for playing multimedia files, such as short videos, audios and the like, and is usually a playing plug-in with a fixed position and size. The first interface should be provided with a control layer for controlling operations such as playing and pausing of the multimedia file according to the clicking operation of the user.
In this embodiment, when a multimedia file needs to be played in the first interface, for example, when a user clicks a video playing button, it is determined that the playing area of the multimedia file in the first interface may specifically include information such as a specific position and a size of the playing area.
S302, establishing a second interface with the same size as the playing area, and covering the second interface on the playing area.
S303, playing the multimedia file in the second interface.
According to the playing area of the multimedia file determined in S101, a second interface with the same size as the playing area is established, and in order to make the user perceptibly unable to have two interfaces in sense, the second interface should be overlaid on the playing area of the first interface, and in order to reduce the click feeling of the second page when jumping, only a playing plug-in for playing the multimedia file may be provided in the second interface, and the text area, and the menu bar, the title bar, etc. may not be laid out.
And after the second interface is established, directly playing the multimedia file in the second interface. When the playing of the multimedia file jumps, the user only needs to jump in the second interface, and does not need to jump simultaneously in the first interface, so that the user only has to perform local jumping refresh in the playing area in the first interface, but has no refresh operation in the text area, the menu bar, the title bar and the like, and therefore, the condition of white screen or incomplete display cannot occur, the pause feeling of the pause is reduced compared with the pause feeling of the pause when the playing of the multimedia file jumps and refreshes the first interface, and the use experience of the user is improved.
S304, it is detected whether the second interface includes a control layer, and if the second interface does not include a control layer, step S305 is executed.
S305, intercepting an operation instruction of the user on the first interface.
And S306, executing the operation instruction on the second interface.
When playing the multimedia file, the user can perform a series of operation controls on the multimedia file, such as play, pause, fast forward, full screen, etc. When the second interface is established, the control layer of the second interface may be set, or the control layer of the second interface may not be set, so that when the user performs operation control, it should be detected whether the second interface includes its separate control layer. If the second interface comprises the separate control layer, the control layer facing the user is the control layer of the second interface, and the second interface such as click operation performed by the user on the control layer can be directly acquired and executed.
If the second interface does not comprise the independent control layer, the control layer facing the user is the control layer of the first interface, the operation instruction performed by the user is acquired by the first interface, and in order to achieve the purpose of controlling the multimedia file, the operation instruction of the user on the first interface is intercepted, and the corresponding operation instruction is executed on the second interface.
Specifically, the operation instruction includes at least one of the following: and moving the position of the playing area in the first interface, playing the playing area in a full screen mode, and clicking a preset button for realizing preset operation in the first interface. When the operation instruction comprises an instruction for moving the position of the playing area in the first interface, in order to ensure that a user can only see one playing area in the first interface, the playing area of the first interface is moved while the second interface is moved, and the second interface is always ensured to be covered on the playing area of the first interface; when the operation instruction comprises an instruction of a full-screen playing area, performing full-screen playing on the second interface; and the operation instruction comprises clicking a preset button for realizing preset operation in the first interface, for example, clicking a button corresponding to fast forward, pause, stop and the like, and executing corresponding fast forward, pause, stop and the like in the second interface.
It should be understood that the operation instruction may further include an instruction for closing the interface, which is intended to close the first interface, and when the intercepted operation instruction includes the instruction for closing the interface, the playing of the multimedia file in the second interface should be stopped, and the first interface and the second interface should be closed at the same time.
In this embodiment, when the second interface does not include a control layer, the control of the multimedia file played in the second interface is completed by intercepting the operation instruction of the user on the first interface, and the control of the second interface is realized on the basis of reducing the pause of the page jump.
A fourth embodiment of the present invention provides a multimedia file playing apparatus, which is mainly installed on a terminal having a multimedia file playing function, and a schematic structural diagram of the apparatus is shown in fig. 4, and the apparatus mainly includes: the determining module 10 is configured to determine a playing area of the multimedia file in the first interface when the multimedia file needs to be played in the first interface; the establishing module 20 is coupled with the determining module 10 and configured to establish a second interface with the same size as the playing area and cover the second interface on the playing area; and a playing module 30 coupled to the establishing module 20 for playing the multimedia file in the second interface.
The first interface is an interface displayed for a user, the first interface may include a playing area and a text area, the playing area is used for playing the multimedia file, and the text area is used for displaying other contents, such as characters, pictures, links and the like, which may appear in the first interface, except the multimedia file. In addition, the first interface may further include a self-display layout such as a title bar, a menu bar, a status bar, etc., and when the play of the multimedia file is skipped, the first interface is refreshed along with the generation of the skip, which often causes a situation of stuck, white screen, or incomplete page display.
The playing area in the first interface is mainly used for playing multimedia files, such as short videos, audios and the like, and is usually a playing plug-in with a fixed position and size. The first interface should be provided with a control layer for controlling operations such as playing and pausing of the multimedia file according to the clicking operation of the user.
In this embodiment, when a multimedia file needs to be played in the first interface, for example, when a user clicks a video playing button, the determining module 10 first determines a playing area of the multimedia file in the first interface, which may specifically include information such as a specific position and a size of the playing area.
According to the playing area of the multimedia file determined by the determining module 10, the creating module 20 creates a second interface with the same size as the playing area, and in order to make the user not sense the existence of two interfaces, the second interface should be covered on the playing area of the first interface, and in order to reduce the click-on feeling of the second page when jumping, the creating module 20 may set only a playing plug-in for playing the multimedia file when creating the second interface, and the text area, the menu bar, the title bar, etc. may not be laid out.
After the second interface is established, the multimedia file is directly played in the second interface through the playing module 30. When the playing of the multimedia file jumps, the user only needs to jump in the second interface, and does not need to jump simultaneously in the first interface, so that the user only has to perform local jumping refresh in the playing area in the first interface, but has no refresh operation in the text area, the menu bar, the title bar and the like, and therefore, the condition of white screen or incomplete display cannot occur, the pause feeling of the pause is reduced compared with the pause feeling of the pause when the playing of the multimedia file jumps and refreshes the first interface, and the use experience of the user is improved.
Further, when the multimedia file is a short video, due to the fact that the playing time of the short video is short, continuous playing is usually performed when the short video is played, and after the playing of the current short video is completed, the next short video is immediately jumped to continue playing. If the prior art is used, continuous playing due to the short video time length can cause continuous skipping and refreshing, and a user will frequently wait for refreshing and loading operations performed by the first interface, which wastes a lot of time.
A fifth embodiment of the present invention provides a multimedia file playing apparatus, which is mainly installed on a terminal having a multimedia file playing function, and mainly includes: the determining module 10 is configured to determine a playing area of the multimedia file in the first interface when the multimedia file needs to be played in the first interface; the establishing module 20 is coupled with the determining module 10 and configured to establish a second interface with the same size as the playing area and cover the second interface on the playing area; and a playing module 30 coupled to the establishing module 20 for playing the multimedia file in the second interface.
In the fourth embodiment of the present invention, the functions of the determining module 10 and the establishing module 20 have been described in detail, and are not described in detail in this embodiment.
Specifically, the playing module 30 specifically includes an obtaining unit 3001 and a playing unit 3002 coupled to each other, and a schematic structural diagram of the obtaining unit 3001 is shown in fig. 5, where the obtaining unit 3001 is configured to obtain a playing address of the multimedia file, and the playing unit 3002 is configured to play the multimedia file in the second interface according to the playing address.
After the second interface is established, the obtaining unit 3001 obtains a playing address of the multimedia file to be played, where the playing address may be a URL of the multimedia file in the internet or a file path of the multimedia file stored locally in the terminal.
After the playing address of the multimedia file is obtained, the multimedia file is played in the second interface through the playing unit 3002. When the playing of the multimedia file jumps, the user only needs to jump in the second interface, and does not need to jump simultaneously in the first interface, so that the user only has to perform local jumping refresh in the playing area in the first interface, but has no refresh operation in the text area, the menu bar, the title bar and the like, and therefore, the condition of white screen or incomplete display cannot occur, the pause feeling of the pause is reduced compared with the pause feeling of the pause when the playing of the multimedia file jumps and refreshes the first interface, and the use experience of the user is improved.
A sixth embodiment of the present invention provides a multimedia file playing apparatus, which is mainly installed on a terminal having a multimedia file playing function, and a schematic structural diagram of the apparatus is shown in fig. 6, and the apparatus mainly includes: the determining module 10 is configured to determine a playing area of the multimedia file in the first interface when the multimedia file needs to be played in the first interface; the establishing module 20 is coupled with the determining module 10 and configured to establish a second interface with the same size as the playing area and cover the second interface on the playing area; a playing module 30, coupled to the establishing module 20, for playing the multimedia file in the second interface; a detection module 40, coupled to the playing module 30, for detecting whether the second interface includes a control layer; the intercepting module 50 is coupled with the detecting module 40 and is used for intercepting the operation instruction of the user on the first interface under the condition that the second interface does not comprise a control layer; and an execution module 60, coupled to the intercepting module 50, for executing the operation instruction on the second interface.
In the fourth embodiment of the present invention, the functions of the determining module 10, the establishing module 20, and the playing module 30 have been described in detail, and are not described in detail in this embodiment.
When playing the multimedia file, the user can perform a series of operation controls on the multimedia file, such as play, pause, fast forward, full screen, etc. When the second interface is established, the control layer of the second interface may be set, or the control layer of the second interface may not be set, so that when the user performs operation control, the detection module 40 first detects whether the second interface includes its separate control layer. If the second interface comprises the separate control layer, the control layer facing the user is the control layer of the second interface, and the second interface such as click operation performed by the user on the control layer can be directly acquired and executed.
If the second interface does not include the separate control layer, the control layer facing the user is the control layer of the first interface, and the operation instruction performed by the user is obtained for the first interface, and in order to achieve the purpose of controlling the multimedia file, the intercepting module 50 intercepts the operation instruction of the user for the first interface, and executes the corresponding operation instruction on the second interface through the executing module 60.
Specifically, the operation instruction includes at least one of the following: and moving the position of the playing area in the first interface, playing the playing area in a full screen mode, and clicking a preset button for realizing preset operation in the first interface. When the operation instruction includes an instruction to move the position of the playing area in the first interface, in order to ensure that the user can only see one playing intercepting module 50 area in the first interface, the execution module 60 should move the second interface at the same time when moving the playing area of the first interface, and always ensure that the second interface covers the playing area of the first interface; when the operation instruction includes an instruction of a full-screen playing area, the execution module 60 performs full-screen playing on the second interface; when the operation instruction includes a preset button for implementing a preset operation in the first interface, for example, a button corresponding to an operation such as fast forwarding, pausing, stopping, etc., is clicked, the execution module 60 executes the corresponding operation such as fast forwarding, pausing, stopping, etc., in the second interface.
It should be understood that the operation instruction may further include an instruction for closing the interface, and the purpose of the instruction is to close the first interface, and when the operation instruction intercepted by the intercepting module 50 includes the instruction for closing the interface, the executing module 60 should stop playing the multimedia file in the second interface, and close the first interface and the second interface at the same time.
In this embodiment, when the second interface does not include a control layer, the control of the multimedia file played in the second interface is completed by intercepting the operation instruction of the user on the first interface, and the control of the second interface is realized on the basis of reducing the pause of the page jump.
A seventh embodiment of the present invention provides a storage medium storing a computer program that, when executed by a processor, realizes steps S11 to S13 as follows:
s11, when the multimedia file needs to be played in the first interface, determining the playing area of the multimedia file in the first interface;
s12, establishing a second interface with the same size as the playing area, and covering the second interface on the playing area;
and S13, playing the multimedia file in the second interface.
In this embodiment, the storage medium may be mounted on a terminal having a multimedia file playing function. Since the playing method of the multimedia file has been described in detail in the first embodiment, no further description is given in this embodiment.
Optionally, in this embodiment, the storage medium may include, but is not limited to: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes. Optionally, in this embodiment, the processor executes the method steps described in the above embodiments according to the program code stored in the storage medium. Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation manners, and this embodiment is not described herein again. It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
An eighth embodiment of the present invention provides a terminal including at least a memory on which a computer program is stored, and a processor that implements the following steps S21 to S23 when executing the computer program on the memory:
s21, when the multimedia file needs to be played in the first interface, determining the playing area of the multimedia file in the first interface;
s22, establishing a second interface with the same size as the playing area, and covering the second interface on the playing area;
and S13, playing the multimedia file in the second interface.
In this embodiment, the terminal may be a mobile terminal with a multimedia file playing function, such as a mobile phone and a tablet computer, used by a user, or may be a computer with a multimedia file playing function. Since the playing method of the multimedia file has been described in detail in the first embodiment, no further description is given in this embodiment.
Although the preferred embodiments of the present invention have been disclosed for illustrative purposes, those skilled in the art will appreciate that various modifications, additions and substitutions are possible, and the scope of the invention should not be limited to the embodiments described above.

Claims (10)

1. A method for playing a multimedia file, comprising:
When a multimedia file needs to be played in a first interface, determining a playing area of the multimedia file in the first interface;
establishing a second interface with the same size as the playing area, and covering the second interface on the playing area;
playing the multimedia file in the second interface;
and only a playing plug-in used for playing the multimedia file is arranged in the second interface.
2. The playback method of claim 1, wherein playing back the multimedia file in the second interface comprises:
acquiring a playing address of the multimedia file;
and playing the multimedia file in the second interface according to the playing address.
3. The playback method according to claim 1 or 2, wherein after the playing back the multimedia file in the second interface, further comprising:
detecting whether the second interface comprises a control layer;
intercepting an operation instruction of a user on the first interface under the condition that the second interface does not comprise a control layer;
and executing the operation instruction on the second interface.
4. The playback method according to claim 3, wherein the operation instruction includes at least one of: moving the position of the playing area in the first interface, playing the playing area in a full screen mode, and clicking a preset button for realizing preset operation in the first interface.
5. A device for playing a multimedia file, comprising:
the device comprises a determining module, a playing module and a playing module, wherein the determining module is used for determining a playing area of a multimedia file in a first interface when the multimedia file needs to be played in the first interface;
the establishing module is used for establishing a second interface with the same size as the playing area and covering the second interface on the playing area;
the playing module is used for playing the multimedia file in the second interface;
and only a playing plug-in used for playing the multimedia file is arranged in the second interface.
6. The playback apparatus of claim 5, wherein the playback module comprises:
the acquisition unit is used for acquiring the playing address of the multimedia file;
and the playing unit is used for playing the multimedia file in the second interface according to the playing address.
7. The playback apparatus according to claim 5 or 6, further comprising:
the detection module is used for detecting whether the second interface comprises a control layer;
the intercepting module is used for intercepting an operation instruction of a user on the first interface under the condition that the second interface does not comprise a control layer;
And the execution module is used for executing the operation instruction on the second interface.
8. The playback apparatus of claim 7, wherein the operation instruction includes at least one of: moving the position of the playing area in the first interface, playing the playing area in a full screen mode, and clicking a preset button for realizing preset operation in the first interface.
9. A storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the steps of the method for playing a multimedia file according to any one of claims 1 to 4.
10. A terminal comprising at least a memory on which a computer program is stored, a processor, characterized in that the processor, when executing the computer program on the memory, implements the steps of the method of playing back a multimedia file according to any one of claims 1 to 4.
CN201810553461.XA 2018-05-31 2018-05-31 Multimedia file playing method and device, storage medium and terminal Active CN108769777B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810553461.XA CN108769777B (en) 2018-05-31 2018-05-31 Multimedia file playing method and device, storage medium and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810553461.XA CN108769777B (en) 2018-05-31 2018-05-31 Multimedia file playing method and device, storage medium and terminal

Publications (2)

Publication Number Publication Date
CN108769777A CN108769777A (en) 2018-11-06
CN108769777B true CN108769777B (en) 2021-01-15

Family

ID=64001698

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810553461.XA Active CN108769777B (en) 2018-05-31 2018-05-31 Multimedia file playing method and device, storage medium and terminal

Country Status (1)

Country Link
CN (1) CN108769777B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102665130A (en) * 2012-05-14 2012-09-12 青岛海信传媒网络技术有限公司 Method and device for displaying application program window and video playing window
CN104301788A (en) * 2014-09-26 2015-01-21 北京奇艺世纪科技有限公司 Method and device for providing video interaction
CN104965693A (en) * 2014-08-29 2015-10-07 腾讯科技(深圳)有限公司 Video processing method and system
CN105487893A (en) * 2015-11-26 2016-04-13 小米科技有限责任公司 Display method of mobile terminal interface mask and mobile terminal
CN105678695A (en) * 2014-11-19 2016-06-15 腾讯科技(深圳)有限公司 Picture processing method and device
CN107038734A (en) * 2016-11-23 2017-08-11 浙江工业大学 A kind of method of imaging importing text for Windows systems
CN107197393A (en) * 2017-06-16 2017-09-22 广州荔枝网络有限公司 A kind of implementation method of singleton video player
CN107277601A (en) * 2017-07-12 2017-10-20 北京潘达互娱科技有限公司 Video broadcasting method and device
JP2018055418A (en) * 2016-09-29 2018-04-05 株式会社コナミデジタルエンタテインメント Terminal device and device
CN108010106A (en) * 2017-11-22 2018-05-08 努比亚技术有限公司 A kind of method for displaying image, terminal and computer-readable recording medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102665130A (en) * 2012-05-14 2012-09-12 青岛海信传媒网络技术有限公司 Method and device for displaying application program window and video playing window
CN104965693A (en) * 2014-08-29 2015-10-07 腾讯科技(深圳)有限公司 Video processing method and system
CN104301788A (en) * 2014-09-26 2015-01-21 北京奇艺世纪科技有限公司 Method and device for providing video interaction
CN105678695A (en) * 2014-11-19 2016-06-15 腾讯科技(深圳)有限公司 Picture processing method and device
CN105487893A (en) * 2015-11-26 2016-04-13 小米科技有限责任公司 Display method of mobile terminal interface mask and mobile terminal
JP2018055418A (en) * 2016-09-29 2018-04-05 株式会社コナミデジタルエンタテインメント Terminal device and device
CN107038734A (en) * 2016-11-23 2017-08-11 浙江工业大学 A kind of method of imaging importing text for Windows systems
CN107197393A (en) * 2017-06-16 2017-09-22 广州荔枝网络有限公司 A kind of implementation method of singleton video player
CN107277601A (en) * 2017-07-12 2017-10-20 北京潘达互娱科技有限公司 Video broadcasting method and device
CN108010106A (en) * 2017-11-22 2018-05-08 努比亚技术有限公司 A kind of method for displaying image, terminal and computer-readable recording medium

Also Published As

Publication number Publication date
CN108769777A (en) 2018-11-06

Similar Documents

Publication Publication Date Title
US20180267945A1 (en) Method of managing items on clipboard of portable terminal
WO2019007227A1 (en) Method and apparatus for continuing to display view after switching pages
US8497842B2 (en) System having user interface using motion based object selection and mouse movement
JP5769280B2 (en) Branded browser frame
RU2589335C2 (en) Dragging of insert
US20110145745A1 (en) Method for providing gui and multimedia device using the same
US10972798B2 (en) Display method and device for attached media information
EP4175309A1 (en) Video-based interaction and video processing methods, apparatus, device, and storage medium
WO2020249044A1 (en) Method for window-level switching, device, equipment, and storage medium
KR101876458B1 (en) Method, apparatus and appication for displaying educational contents
US9244593B2 (en) Information processing methods and electronic devices
TWI534694B (en) Computer implemented method and computing device for managing an immersive environment
US9794635B2 (en) Distribution device, distribution method, and non-transitory computer readable storage medium
JP5872264B2 (en) Method and apparatus for providing electronic book service in portable terminal
EP2460350B1 (en) Video reproduction apparatus, control method thereof, and computer-readable storage medium storing program
CN104125490A (en) Online video playing method and device
US9495064B2 (en) Information processing method and electronic device
US20160345059A1 (en) Method and device for switching channel
CN105359131B (en) Tie selection handle
CN106371715B (en) Method and device for realizing multi-item switching
EP4170475A1 (en) Method, apparatus, and device for video-based interaction, and storage medium
CN107885413A (en) Icon alignment schemes and device
CN111897607A (en) Application interface loading and interaction method, device and storage medium
US11579766B2 (en) Methods and systems for reducing inadvertent interactions with advertisements displayed on a computing device
JP6844206B2 (en) Programs, information processing methods, and information processing equipment

Legal Events

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