Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for playing video in web page

A technology for video playback and web pages, applied in the field of web browsers, can solve problems such as poor web video playback effects, and achieve the effects of improving video playback effects, keeping video playback smooth, and having a good viewing experience.

Active Publication Date: 2020-06-26
BEIJING KINGSOFT INTERNET SECURITY SOFTWARE CO LTD
View PDF11 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] For this reason, the first object of the present invention is to propose a video playback method in a webpage, which is used to solve the problem of poor webpage video playback effect in the prior art

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 web page
  • Method and device for playing video in web page
  • Method and device for playing video in web page

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] Embodiments of the present invention are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals designate the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary and are intended to explain the present invention and should not be construed as limiting the present invention.

[0038] The method and device for playing video in a webpage according to the embodiments of the present invention will be described below with reference to the accompanying drawings.

[0039] figure 1 It is a schematic flowchart of a method for playing video in a webpage provided by an embodiment of the present invention. Such as figure 1 As shown, the video playback method in the webpage includes the following steps:

[0040] S101. Obtain the positioning attribute and display layer attribute of the video control in the webpag...

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 provides a video playing method and apparatus in a webpage. The method comprises the following steps: when a locating type of a video control in the webpage is fixed relative to the webpage, judging whether a video area of the video control is entirely displayed on a terminal display area according to the position information of the video control on the terminal display area; and if not, storing the locating type and the display layer position attribute, and modifying the locating type of the video control into fixed relative to the terminal display area, modifying the display layer position attribute of the video control into topmost layer display, modifying the position information of the video control into preset position information, wherein the preset position information is the position information when the video area of the video control is located at the top of the terminal display area, therefore the suspension playing of the video control is realized, and the video playing keeps smooth during switch between a normal playing state and a suspension playing state, and no stop is caused, thereby improving the video playing effect, and ensuring better viewing experience of terminal users.

Description

technical field [0001] The invention relates to the technical field of web browsers, in particular to a method and device for playing video in web pages. Background technique [0002] Currently, terminal devices such as mobile phones generally have a video playback function, and users can play videos through a video player installed in the terminal device. In the browser, in order to meet the needs of users to watch videos and browse webpage content at the same time, a function of video floating playback may be provided. [0003] There are two main types of current video floating playback implementation solutions, one is to reuse the original video playback control; the other is to copy a video playback control. The scheme of reusing the original video playback control is mainly: stop playing the video, remove the video from the current view frame, remount the video to a different mount point, and resume playing the video. However, in the above solution, it is difficult to...

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 Patents(China)
IPC IPC(8): H04N21/4782H04N21/8355H04N21/8543
CPCH04N21/4782H04N21/83555H04N21/8543
Inventor 申小军
Owner BEIJING KINGSOFT INTERNET SECURITY SOFTWARE CO LTD