Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and device for playing video in browser

A technology for playing videos and browsers, applied in the field of playing videos, can solve problems such as affecting the user's viewing experience, and achieve the effect of improving the viewing experience and the viewing effect.

Inactive Publication Date: 2016-06-01
TENCENT TECH (SHENZHEN) CO LTD
View PDF6 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Embodiments of the present invention provide a method and device for playing video in a browser, so as to at least solve the technical problem in the related art that when a web page is automatically loaded to play a video, a black screen appears on the page and affects the viewing experience of the user

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for playing video in browser
  • Method and device for playing video in browser
  • Method and device for playing video in browser

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0024] According to an embodiment of the present invention, a method embodiment of a method for playing a video in a browser is also provided. It should be noted that the steps shown in the flow chart of the accompanying drawings can be performed on a computer such as a set of computer-executable instructions system, and, although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that shown or described herein.

[0025] The method embodiment provided in Embodiment 1 of the present application may be executed in a mobile terminal, a computer terminal, or a similar computing device. Take running on a computer terminal as an example, figure 1 It is a hardware structural block diagram of a computer terminal for a method for playing video in a browser according to an embodiment of the present invention. like figure 1 As shown, the computer terminal 10 may include one or more (only one is shown in the...

Embodiment 2

[0059] According to an embodiment of the present invention, a device for playing a video in a browser for implementing the above method for playing a video in a browser is also provided. Figure 4 is a schematic diagram of a device for playing video in a browser according to an embodiment of the present invention, such as Figure 4 As shown, the device includes:

[0060] The receiving module 22 is used to receive a loading request for requesting loading of the first video in the browser; the first loading module 24 is used to load and display the first mask in the browser in response to the loading request; the second loading module 26. Loading the video resource of the first video in the browser, and canceling the display of the first mask in the browser when the video resource of the first video starts to play.

[0061] It should be noted that the receiving module 22 in this embodiment can be used to execute step S12 in the first embodiment of the present application, and t...

Embodiment 3

[0072] According to an embodiment of the present invention, there is also provided a server or a computer terminal for implementing the above-mentioned method for playing video in a browser. Optionally, in this embodiment, the above-mentioned computer terminal can also be replaced by a terminal such as a mobile terminal equipment.

[0073] Optionally, in this embodiment, the foregoing computer terminal may be located in at least one network device among multiple network devices of the computer network.

[0074] In this embodiment, the above-mentioned computer terminal can execute the program code of the following steps in the method for playing video in the browser: receiving in the browser a loading request for requesting loading of the first video; responding to the loading request in the browser Loading and displaying the first mask; loading the video resource of the first video in the browser, and canceling the display of the first mask in the browser when the video resour...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method and a device for playing a video in a browser. The method comprises the steps of when receiving a loading request used for requesting for loading a first video in a browser; responding to the loading request to load and display a first masking in the browser; loading the video resources of the first video in the browser, and canceling the display of the first masking in the browser when starting for playing the video resources of the first video. According to the method, the technical problem that in the related technology, the viewing experience of the user is influenced due to the blank screen phenomenon of a page when the webpage is opened and the video is automatically loaded and played is solved.

Description

technical field [0001] The present invention relates to the field of video playing, in particular to a method and device for playing video in a browser. Background technique [0002] With the increasing demand for video playback, there is a need for a video splash screen, that is, the browser needs to automatically play the video when the webpage is opened, and automatically disappear on the webpage after the video is played, such as embedding dynamic advertisements in the webpage video. For the requirement of video splash screen, the existing technology usually adopts the method of rendering and loading the video, and removing it after the video is automatically played. However, due to the influence of factors such as video file size or network delay, this A black screen will appear on the page during the video. After the video is loaded, it will directly jump from the black screen to the playback screen. The screen jumps significantly, which seriously affects the user's v...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): H04N21/4782H04N21/431
CPCH04N21/4312H04N21/4782
Inventor 刘希呈
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products