CN115396736A - Video suspension playing method and device - Google Patents

Video suspension playing method and device Download PDF

Info

Publication number
CN115396736A
CN115396736A CN202211049716.1A CN202211049716A CN115396736A CN 115396736 A CN115396736 A CN 115396736A CN 202211049716 A CN202211049716 A CN 202211049716A CN 115396736 A CN115396736 A CN 115396736A
Authority
CN
China
Prior art keywords
video
playing
page
window
floating window
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211049716.1A
Other languages
Chinese (zh)
Inventor
肖蓉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Bank of China Ltd
Original Assignee
Bank of China 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 Bank of China Ltd filed Critical Bank of China Ltd
Priority to CN202211049716.1A priority Critical patent/CN115396736A/en
Publication of CN115396736A publication Critical patent/CN115396736A/en
Pending legal-status Critical Current

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/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • H04N21/4316Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations for displaying supplemental content in a region of the screen, e.g. an advertisement in a separate window
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47205End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for manipulating displayed content, e.g. interacting with MPEG-4 objects, editing locally

Abstract

The invention relates to the technical field of artificial intelligence, in particular to a video suspension playing method and a device, wherein the method comprises the following steps: responding to a video playing instruction issued by a user, playing a video corresponding to the video playing instruction in a display window of target software, displaying the content of a second function page corresponding to the second function page switching operation in the display window after receiving the second function page switching operation of the user in the target software, simultaneously pausing the video being played in the first function page, starting a video suspension window in the display window, and continuously playing the paused video in the video suspension window. By the embodiment of the invention, when the student switches the video course page to the teaching page or the student note page, the teaching video is played in the suspension playing frame, so that the student can watch the teaching video while browsing the teaching PPT or recording the teaching notes, and the learning efficiency of the student is improved.

Description

Video suspension playing method and device
Technical Field
The invention relates to the technical field of artificial intelligence, in particular to a video suspension playing method and device.
Background
This section is intended to provide a background or context to the embodiments of the invention that are recited in the claims. The description herein is not admitted to be prior art by inclusion in this section.
At present, display pages of education APP are mostly divided into video course pages, teaching PPT pages and student note pages, when students learn courses online, played video courses can be watched on the video course pages, teacher's teaching PPT can be watched on the education PPT pages, and course notes can be recorded on the student note pages. However, when the student switches the video course page to the teaching PPT page or the student note page, the video course often stops or only the sound of the video course can be kept, which causes inconvenience to the student and reduces the learning efficiency of the student.
Now, a video suspension playing method is needed to solve the problem that in the prior art, when a student switches a video course page to a teaching PPT page or a student note page, a video course stops or only can keep the sound of the video course, and the learning efficiency of the student is reduced.
Disclosure of Invention
In order to solve the problems in the prior art, embodiments of the present invention provide a video suspension playing method and apparatus, so that when a student switches a video course page to a teaching PPT page or a student note page, a teaching video is played in a suspension playing frame, so that the student can view the teaching video while browsing the teaching PPT or recording the teaching note, thereby improving the learning efficiency of the student.
In order to solve the technical problems, the specific technical scheme of the invention is as follows:
in one aspect, an embodiment of the present invention provides a video suspension playing method, where the method includes:
responding to a video playing instruction issued by a user, and playing a video corresponding to the video playing instruction in a display window of target software, wherein the target software comprises a first functional page and a second functional page which are independent of each other, and the video is located in the first functional page;
after receiving a second function page switching operation of the user in the target software, displaying the content of a second function page corresponding to the second function page switching operation in the display window, simultaneously pausing the video being played in the first function page, starting a video floating window in the display window, and continuously playing the paused video in the video floating window, wherein the size of the video floating window is smaller than that of the display window, and the video floating window is positioned at the top layer of the display hierarchy of the display window.
Further, responding to a video playing instruction sent by a user, further comprising the step of playing the video corresponding to the video playing instruction in a display window of the target software,
after the video playing instruction is received, displaying the first function page in the display window;
starting a first video playing process, and sending video stream data corresponding to the video to the first function page by using the first video playing process so as to play the video in a first video playing window embedded in the first function page.
Further, pausing the video being played in the first function page further comprises stopping the first video playing process and recording a first video frame time when the video is paused;
initiating a video floating window in the display window, continuing playback of the paused video in the video floating window further comprising,
starting a second video playing process, and generating the video floating window on the top layer of the display window;
and acquiring the video stream data by utilizing the second video playing process, sending the video stream data to the video floating window, and continuously playing the video in the video floating window according to the recorded first video frame time.
Further, after the paused video continues to be played in the video floating window, the method further comprises,
after receiving a first function page switching operation of the user in the target software, displaying the content of a first function page corresponding to the first function page switching operation in the display window, and simultaneously recording a second video frame time of the video played in the video floating window;
stopping the second video playing process and closing the video floating window;
starting the first video playing process, and sending video stream data corresponding to the video to the first function page by using the first video playing process;
and continuing to play the video in a first video playing window embedded in the first functional page according to the recorded second video frame time.
Further, after starting a video floating window and continuing playing the paused video in the video floating window, the method further comprises,
receiving a video floating window adjusting instruction issued by the user;
and adjusting the size of the video floating window and/or the position of the video floating window in the display window according to the video floating window adjusting instruction.
Further, after starting a video floating window and continuing playing the paused video in the video floating window, the method further comprises,
receiving a video playing pause instruction issued by the user;
and pausing the video playing in the video floating window according to the video pause playing instruction, and recording the third video frame time when the video is paused, so that when a video playing continuing instruction sent by the user is received, the video is continuously played in the video floating window according to the recorded third video frame time.
Further, after receiving the video playing pause instruction issued by the user, the method also comprises the following steps,
if a first function page switching operation of the user in the target software is received, displaying the content of a first function page corresponding to the first function page switching operation in the display window;
stopping the second video playing process and closing the video floating window;
starting the first video playing process, and sending video stream data corresponding to the video to the first function page by using the first video playing process;
and continuously playing the video in a first video playing window embedded in the first functional page according to the recorded third video frame time.
The embodiment of the invention also provides a video suspension playing device, which comprises:
the first functional page video playing unit is used for responding to a video playing instruction issued by a user and playing a video corresponding to the video playing instruction in a display window of target software, wherein the target software comprises a first functional page and a second functional page which are independent of each other, and the video is positioned in the first functional page;
and the video floating window playing unit is used for displaying the content of a second function page corresponding to the second function page switching operation in the target software after receiving the second function page switching operation of the user in the target software, pausing the video being played in the first function page, starting a video floating window in the display window, and continuously playing the paused video in the video floating window, wherein the size of the video floating window is smaller than that of the display window, and the video floating window is positioned at the top layer of the display level of the display window.
An embodiment of the present invention further provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the method when executing the computer program.
An embodiment of the present invention further provides a computer-readable storage medium, in which a computer program is stored, and the computer program, when executed by a processor, implements the above method.
An embodiment of the present invention further provides a computer program product, where the computer program product includes a computer program, and when the computer program is executed by a processor, the computer program implements the method described above.
In the embodiment of the invention, when a video playing instruction of a user is received, a corresponding video in a first functional page is played in a display window, the user can watch the video in the display window, when the user needs to switch the page in the display window to a second functional page, the video which is being played in the first functional page is paused, a video floating window is started in the display window, and the paused video is played in the video floating window, so that the user can continuously watch the video in the first functional page through the video floating window while browsing the content of the second functional page. In the embodiment of the invention, the first function page can correspond to a video course page, and the second function page can correspond to a teaching PPT page or a student note page, so that when a student switches the video course page to the teaching page or the student note page, the teaching video is played in the suspension playing frame, the student can watch the teaching video while browsing the teaching PPT or recording the teaching notes, the learning efficiency of the student is improved, and the problem that in the prior art, when the student switches the video course page to the teaching PPT page or the student note page, the video course stops or only can keep the sound of the video course, and the learning efficiency of the student is reduced.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts. In the drawings:
fig. 1 is a schematic diagram of a system for implementing a video floating playing method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram illustrating steps of a video floating playback method according to an embodiment of the present invention;
FIG. 3 is a step of playing a video corresponding to a video playing instruction in a display window of target software in response to the video playing instruction issued by a user according to the embodiment of the present invention;
FIG. 4 is a step of switching back to the first function page in the embodiment of the present invention;
fig. 5 is a schematic structural diagram of a video suspension playback device according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a computer device provided in an embodiment of the present invention.
Description of the symbols of the drawings:
1. a user terminal;
101. a first function page;
102. a second function page;
103. display window
501. A first functional page video playing unit;
502. a video floating window playing unit;
602. a computer device;
604. a processor;
606. a memory;
608. a drive mechanism;
610. an input/output module;
612. an input device;
614. an output device;
616. a presentation device;
618. a graphical user interface;
620. a network interface;
622. a communication link;
624. a communication bus.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the embodiments of the present invention are further described in detail below with reference to the accompanying drawings. The exemplary embodiments and descriptions of the present invention are provided to explain the present invention, but not to limit the present invention.
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above 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 invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, apparatus, article, or device that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or device.
Fig. 1 is a schematic diagram of an implementation system of a video floating play method according to an embodiment of the present invention, which may include a user terminal 1, where the user terminal 1 includes a first functional page 101, a second functional page 102, and a display window 103, and the user terminal 1 may receive an operation instruction of a user and display the first functional page 101 or the second functional page 102 corresponding to the operation instruction in the display window 103. The first function page 101 may be a teaching video page, and after receiving a video playing instruction of a user, the first function page plays a video in the teaching video page in the display window 103, and the second function page may be a teaching PPT page or a student note page, and when receiving an instruction of switching the second function page 102 by the user, the teaching PPT page or the student note page is displayed in the display window 103.
In addition, it should be noted that fig. 1 is only an application environment provided by the present disclosure, and in practical applications, the method of the present invention may be applied to application scenarios other than teaching, and the present specification is not limited.
In the prior art, after a second function page switching instruction of a user is received, a second function page is displayed in a display window, and a first function page is hidden, at this time, a video being played in the first function page is also hidden, and the user cannot watch the video in the first function page while browsing the content of the second function page.
In order to solve the problems in the prior art, an embodiment of the present invention provides a video suspension playing method, which can be applied to a user terminal 1, and is configured to play a teaching video in a suspension playing frame when a student switches a video course page to a teaching page or a student note page, so that the student can view the teaching video while browsing a teaching PPT or recording a teaching note. Fig. 2 is a schematic step diagram of a video floating playing method according to an embodiment of the present invention, and the present specification provides the method operation steps as described in the embodiment or the flowchart, but more or less operation steps may be included based on conventional or non-creative labor. The order of steps recited in the embodiments is merely one manner of performing the steps in a multitude of orders and does not represent the only order of execution. When an actual system or apparatus product executes, it can execute sequentially or in parallel according to the method shown in the embodiment or the figures. Specifically, as shown in fig. 2, the method may include:
step 201: responding to a video playing instruction issued by a user, and playing a video corresponding to the video playing instruction in a display window of target software;
in this step, the target software includes the first functional page and the second functional page that are independent of each other, and the video is located in the first functional page;
step 202: after receiving a second function page switching operation of the user in the target software, displaying the content of a second function page corresponding to the second function page switching operation in the display window, simultaneously pausing the video being played in the first function page, starting a video floating window in the display window, and continuously playing the paused video in the video floating window.
In this step, the size of the video floating window is smaller than that of the display window, and the video floating window is located at the top layer of the display hierarchy of the display window.
According to the method of the embodiment of the specification, when a video playing instruction of a user is received, a corresponding video in a first function page is played in a display window, the user can watch the video in the display window, when the user needs to switch the page in the display window to a second function page, the video being played in the first function page is paused, a video floating window is started in the display window, and the paused video is played in the video floating window, so that the user can continuously watch the video in the first function page through the video floating window while browsing the content of the second function page. In the embodiment of the invention, the first function page can correspond to a video course page, and the second function page can correspond to a teaching PPT page or a student note page, so that when a student switches the video course page to the teaching page or the student note page, the teaching video is played in the suspension playing frame, the student can watch the teaching video while browsing the teaching PPT or recording the teaching notes, the learning efficiency of the student is improved, and the problem that in the prior art, when the student switches the video course page to the teaching PPT page or the student note page, the video course stops or only can keep the sound of the video course, and the learning efficiency of the student is reduced.
In the embodiment of the present invention, the video floating window is located at the top layer of the display hierarchy of the display window, so that even if the user performs an operation (e.g., clicks, slides, etc.) in the second function page displayed in the display window, the video floating window is not hidden, so that the user can view the video in the video floating window while operating the second function page.
According to an embodiment of the present invention, as shown in fig. 3, the step of playing the video corresponding to the video playing instruction in the display window of the target software in response to the video playing instruction issued by the user further includes,
step 301: after the video playing instruction is received, displaying the first function page in the display window;
step 302: starting a first video playing process, and sending video stream data corresponding to the video to the first function page by using the first video playing process so as to play the video in a first video playing window embedded in the first function page.
In the embodiment of the present invention, a video playing instruction issued by a user is for a video in a first function page, after receiving the video playing instruction, the first function page is first displayed in a display window, then a first video playing process is started, the first video playing process continuously acquires video stream data of the video, then the video stream data is sent to the first function page, the first video playing window is embedded in the first function page, when the first function page is displayed in the display window, the first video playing window is also located in the display window, then the video is played in the first video playing window, and the user can watch the video through the display window.
According to an embodiment of the present invention, pausing the video being played in the first functional page further comprises stopping the first video playing process and recording a first video frame time when the video is paused;
initiating a video floating window in the display window, continuing playback of the paused video in the video floating window further comprising,
starting a second video playing process, and generating the video floating window on the top layer of the display window;
and acquiring the video stream data by utilizing the second video playing process, sending the video stream data to the video floating window, and continuously playing the video in the video floating window according to the recorded first video frame time.
In the embodiment of the present invention, when the second function page is displayed in the display window, the first function page is hidden, at this time, the video being played in the first function page is paused, and the first video frame time when the video is paused is recorded.
And simultaneously starting a second video playing process, and generating a video floating window on the top layer of the display window, wherein the size of the video floating window is smaller than that of the display window, and the position of the video floating window can be positioned at the edge of the display window, so that the user can not be influenced to browse the content in the second functional page. Meanwhile, the second video playing process continuously acquires video stream data and sends the video stream data to the video floating window, and the video floating window continues to play the video according to the first video frame time when the video is paused. Therefore, the user can continuously watch the video through the video floating window positioned at the top layer of the display window while browsing the content in the second function page.
In the teaching application scene, when the student is switched to the student note page, the video course page is hidden, then the video suspension window is generated in the display window, and the suspended video course is continuously played in the video suspension window, at this time, the student can watch the teaching video in the video suspension window and record the teaching notes in the student note page, thereby improving the learning efficiency of the student.
According to an embodiment of the present invention, after the paused video is continued to be played in the video floating window, as shown in fig. 4, the method further comprises,
step 401: after receiving a first function page switching operation of the user in the target software, displaying the content of a first function page corresponding to the first function page switching operation in the display window, and simultaneously recording a second video frame time of the video played in the video floating window;
step 402: stopping the second video playing process and closing the video floating window;
step 403: starting the first video playing process, and sending video stream data corresponding to the video to the first function page by using the first video playing process;
step 404: and continuing to play the video in a first video playing window embedded in the first functional page according to the recorded second video frame time.
In the embodiment of the present invention, after the user finishes browsing the content in the second functional page, the page in the display window may be switched back to the first functional page including the first video playing window, that is, the first functional page switching operation is issued. And after receiving the switching operation of the first function page, displaying the first function page in the display window, wherein the first video playing window embedded in the first function page is also displayed in the display window. The video needs to be played in the first video play window. Therefore, when the first function page is displayed in the display window, the second video frame time of the video played in the video floating window currently is recorded, then the second video playing process is stopped, and the video floating window is closed, namely the second video playing process does not need to send the video stream data to the video floating window any more, and the video floating window is displayed in the display window at the same time.
And simultaneously, starting the first video playing process again, sending the video stream data to the first functional page by utilizing the first video playing process, and continuously playing the video in the embedded first video playing window by the first functional page according to the recorded second video frame time. When the user switches the page back to the first functional page, the video is continuously played in the first video playing window in the first functional page according to the playing progress in the video floating window.
Illustratively, in the teaching application scenario, when the student switches back to the video lesson page, the student note page is hidden, then the video lesson page is displayed in the display window, the teaching video is continuously played in the video lesson page according to the progress of the teaching video played in the video floating window, and meanwhile, the video floating window is closed, so that the student can continuously learn the teaching video in the video lesson page.
According to an embodiment of the present invention, after starting a video floating window and continuing playing the paused video in the video floating window, the method further comprises,
receiving a video floating window adjusting instruction issued by the user;
and adjusting the size of the video floating window and/or the position of the video floating window in the display window according to the video floating window adjusting instruction.
In the embodiment of the present invention, in order to further facilitate the user to browse the content in the second functional page, the user may further adjust the size and/or the position of the video floating window. Specifically, a video floating window adjusting instruction sent by a user is received, the video floating window adjusting instruction may include the size and the position of the adjusted video floating window, and the size of the video floating window and/or the position of the video floating window in the display window are adjusted according to the video floating window adjusting instruction, so that the video floating window is prevented from affecting the content of the user browsing the second function page, and the user experience is improved.
According to an embodiment of the present invention, after starting a video floating window and continuing playing the paused video in the video floating window, the method further comprises,
receiving a video playing pause instruction issued by the user;
and pausing the video playing in the video floating window according to the video pause playing instruction, and recording the third video frame time when the video is paused, so that when a video playing continuing instruction sent by the user is received, the video is continuously played in the video floating window according to the recorded third video frame time.
In the embodiment of the invention, when a user browses the content in the second function page, if the video played in the video floating window needs to be paused, a command of pausing the played video can be issued, when the command of pausing the played video issued by the user is received, the video played in the video floating window is paused, the time of a third video frame when the video is paused is recorded, when the user needs to continue playing the video, a command of continuing playing the video is issued, and when the command of continuing playing the video is received, the video is continuously played in the video floating window according to the recorded time of the third video frame. The method can be understood as that the video played in the video floating window is paused according to the pause video playing instruction of the user, and the video is continuously played in the video floating window according to the continuous video playing instruction of the user, so that the user experience is improved, and the user can pause or play the video in the video floating window as required.
According to an embodiment of the present invention, after receiving the video playing pause instruction issued by the user, the method further includes,
if a first function page switching operation instruction of the user in the target software is received, displaying the content of a first function page corresponding to the first function page switching operation in the display window;
stopping the second video playing process and closing the video floating window;
starting the first video playing process, and sending video stream data corresponding to the video to the first function page by using the first video playing process;
and continuously playing the video in a first video playing window embedded in the first functional page according to the recorded third video frame time.
In the embodiment of the present invention, the video floating window is generated when the user switches to the second functional page, and if the user issues the first functional page switching operation after pausing the video played in the video floating window, the page displayed by the display window needs to be switched back to the first functional page, and the video floating window is closed. It should be noted that, because the instruction for pausing the playing of the video is issued when the content in the second function page is browsed, if the user switches back to the first function page, that is, it is indicated that the user does not browse the content in the second function page any more, it can indicate that the user needs to continue to watch the video.
Based on the same inventive concept, an embodiment of the present specification further provides a video floating playback device, as shown in fig. 5, the device includes:
a first functional page video playing unit 501, configured to respond to a video playing instruction issued by a user and play a video corresponding to the video playing instruction in a display window of target software, where the target software includes the first functional page and a second functional page that are independent of each other, and the video is located in the first functional page;
a video floating window playing unit 502, configured to, after receiving a second function page switching operation of the user in the target software, display content of a second function page corresponding to the second function page switching operation in the display window, simultaneously pause the video being played in the first function page, start a video floating window in the display window, and continue to play the paused video in the video floating window, where the size of the video floating window is smaller than that of the display window, and the video floating window is located at a top layer of a display hierarchy of the display window.
As shown in fig. 6, for a computer device provided in this embodiment of the present invention, an apparatus in the present invention may be a computer device in this embodiment, and perform the method of the present invention described above, and the computer device 602 may include one or more processors 604, such as one or more Central Processing Units (CPUs), each of which may implement one or more hardware threads. The computer device 602 may also include any memory 606 for storing any kind of information, such as code, settings, data, etc. For example, and without limitation, memory 606 may include any one or more of the following in combination: any type of RAM, any type of ROM, flash memory devices, hard disks, optical disks, etc. More generally, any memory may use any technology to store information. Further, any memory may provide volatile or non-volatile retention of information. Further, any memory may represent fixed or removable components of computer device 602. In one case, when the processor 604 executes the associated instructions, which are stored in any memory or combination of memories, the computer device 602 may perform any of the operations of the associated instructions. The computer device 602 also includes one or more drive mechanisms 608, such as a hard disk drive mechanism, an optical disk drive mechanism, etc., for interacting with any memory.
Computer device 602 may also include an input/output module 610 (I/O) for receiving various inputs (via input device 612) and for providing various outputs (via output device 614). One particular output mechanism may include a presentation device 616 and an associated Graphical User Interface (GUI) 618. In other embodiments, input/output module 610 (I/O), input device 612, and output device 614 may also be excluded, as just one computer device in a network. Computer device 602 may also include one or more network interfaces 620 for exchanging data with other devices via one or more communication links 622. One or more communication buses 624 couple the above-described components together.
Communication link 622 may be implemented in any manner, such as through a local area network, a wide area network (e.g., the Internet), a point-to-point connection, etc., or any combination thereof. Communication link 622 may include any combination of hardwired links, wireless links, routers, gateway functions, name servers, etc., governed by any protocol or combination of protocols.
An embodiment of the present invention further provides a computer-readable storage medium, in which a computer program is stored, and the computer program, when executed by a processor, implements the above method.
Embodiments of the present invention further provide a computer program product, where the computer program product includes a computer program, and when the computer program is executed by a processor, the computer program implements the foregoing method.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above-mentioned embodiments are provided to further explain the objects, technical solutions and advantages of the present invention in detail, and it should be understood that the above-mentioned embodiments are only examples of the present invention and should not be used to limit the scope of the present invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (11)

1. A video suspension playing method is characterized by comprising the following steps:
responding to a video playing instruction issued by a user, and playing a video corresponding to the video playing instruction in a display window of target software, wherein the target software comprises a first functional page and a second functional page which are independent of each other, and the video is positioned in the first functional page;
after receiving a second function page switching operation of the user in the target software, displaying the content of a second function page corresponding to the second function page switching operation in the display window, simultaneously pausing the video being played in the first function page, starting a video floating window in the display window, and continuously playing the paused video in the video floating window, wherein the size of the video floating window is smaller than that of the display window, and the video floating window is positioned at the top layer of the display hierarchy of the display window.
2. The method of claim 1, wherein playing the video corresponding to the video playing instruction in the display window of the target software in response to the video playing instruction issued by the user further comprises,
after the video playing instruction is received, displaying the first function page in the display window;
starting a first video playing process, and sending video stream data corresponding to the video to the first function page by using the first video playing process so as to play the video in a first video playing window embedded in the first function page.
3. The method of claim 2, wherein pausing the video being played in the first functional page further comprises stopping the first video playback process and recording a first video frame time when the video is paused;
initiating a video floating window in the display window, continuing playback of the paused video in the video floating window further comprising,
starting a second video playing process, and generating the video floating window on the top layer of the display window;
and acquiring the video stream data by utilizing the second video playing process, sending the video stream data to the video floating window, and continuously playing the video in the video floating window according to the recorded first video frame time.
4. The method of claim 3, wherein after the paused video is continued to be played in the video floating window, the method further comprises,
after receiving a first function page switching operation of the user in the target software, displaying the content of a first function page corresponding to the first function page switching operation in the display window, and simultaneously recording a second video frame time of the video played in the video floating window;
stopping the second video playing process and closing the video floating window;
starting the first video playing process, and sending video stream data corresponding to the video to the first function page by using the first video playing process;
and continuing to play the video in a first video playing window embedded in the first functional page according to the recorded second video frame time.
5. The method of claim 1, wherein after initiating a video floating window and continuing playback of the paused video in the video floating window, the method further comprises,
receiving a video floating window adjusting instruction issued by the user;
and adjusting the size of the video floating window and/or the position of the video floating window in the display window according to the video floating window adjusting instruction.
6. The method of claim 3, wherein after a video floating window is initiated and the paused video continues to be played in the video floating window, the method further comprises,
receiving a video playing pause instruction issued by the user;
and pausing the video playing in the video floating window according to the video pause playing instruction, and recording the third video frame time when the video is paused, so that when a video playing continuing instruction sent by the user is received, the video is continuously played in the video floating window according to the recorded third video frame time.
7. The method of claim 6, wherein after receiving the user-issued video pause instruction, the method further comprises,
if a first function page switching operation of the user in the target software is received, displaying the content of a first function page corresponding to the first function page switching operation in the display window;
stopping the second video playing process and closing the video floating window;
starting the first video playing process, and sending video stream data corresponding to the video to the first function page by using the first video playing process;
and continuing to play the video in a first video playing window embedded in the first functional page according to the recorded third video frame time.
8. A video suspension playing device is characterized in that the device comprises,
the first functional page video playing unit is used for responding to a video playing instruction issued by a user and playing a video corresponding to the video playing instruction in a display window of target software, wherein the target software comprises a first functional page and a second functional page which are independent of each other, and the video is positioned in the first functional page;
and the video floating window playing unit is used for displaying the content of a second function page corresponding to the second function page switching operation in the display window after receiving the second function page switching operation of the user in the target software, pausing the video being played in the first function page, starting a video floating window in the display window, and continuously playing the paused video in the video floating window, wherein the size of the video floating window is smaller than that of the display window, and the video floating window is positioned at the top layer of the display level of the display window.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which, when executed by a processor, implements the method of any one of claims 1 to 7.
11. A computer program product, characterized in that the computer program product comprises a computer program which, when being executed by a processor, carries out the method of any one of claims 1 to 7.
CN202211049716.1A 2022-08-30 2022-08-30 Video suspension playing method and device Pending CN115396736A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211049716.1A CN115396736A (en) 2022-08-30 2022-08-30 Video suspension playing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211049716.1A CN115396736A (en) 2022-08-30 2022-08-30 Video suspension playing method and device

Publications (1)

Publication Number Publication Date
CN115396736A true CN115396736A (en) 2022-11-25

Family

ID=84123877

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211049716.1A Pending CN115396736A (en) 2022-08-30 2022-08-30 Video suspension playing method and device

Country Status (1)

Country Link
CN (1) CN115396736A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110202828A1 (en) * 2008-11-14 2011-08-18 Beijing Sogou Technology Development Co., Ltd. Method and system for presenting web page resources
CN108495169A (en) * 2018-03-23 2018-09-04 北京焦点新干线信息技术有限公司 Information displaying method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110202828A1 (en) * 2008-11-14 2011-08-18 Beijing Sogou Technology Development Co., Ltd. Method and system for presenting web page resources
CN108495169A (en) * 2018-03-23 2018-09-04 北京焦点新干线信息技术有限公司 Information displaying method and device

Similar Documents

Publication Publication Date Title
KR20210069711A (en) Courseware recording and playback methods, devices, smart interactive tablets and storage media
CN111539188B (en) Note generation method, computing device, and computer storage medium
JP6066101B2 (en) Method for dynamically creating moving image based on structured document, electronic device, electronic system, and program for electronic device
US11838251B2 (en) Information interaction method, apparatus, device, storage medium and program product
KR102240547B1 (en) Video playback control method and device and video playback system
CN110568984A (en) Online teaching method and device, storage medium and electronic equipment
US20140302477A1 (en) Intelligent interactive remote teaching system
JP4996750B1 (en) Electronics
US20190213900A1 (en) Generating selectable control items for a learner
CN111726688A (en) Method and device for self-adapting screen projection picture in network teaching
CN112437353A (en) Video processing method, video processing apparatus, electronic device, and readable storage medium
CN110379228A (en) A kind of online programming teaching method and system
Tuncer et al. On pause: How online instructional videos are used to achieve practical tasks
WO2024002120A1 (en) Media content display method and apparatus, device, and storage medium
CN106341552A (en) Method and apparatus for playing teaching videos on mobile terminal
US20180014065A1 (en) Video File Processing Method and Device
US20130187927A1 (en) Method and System for Automated Production of Audiovisual Animations
WO2023241360A1 (en) Online class voice interaction methods and apparatus, device and storage medium
CN115396736A (en) Video suspension playing method and device
CN111787391A (en) Information card display method, device, equipment and storage medium
CN105824789A (en) Display control method and device for hyperlink window
US20220150290A1 (en) Adaptive collaborative real-time remote remediation
JPH1078947A (en) Reproduction device for multimedia title
JP2013146511A (en) Electronic apparatus for recording, analyzing, and displaying change of human action
Dharmadhikari Creating educational lecture videos compatible with streaming server using low cost resources

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