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

Playing method and device of video elements in web page

A technology for video elements and web pages, which is applied in the browser field and can solve problems such as users being unable to watch video content

Inactive Publication Date: 2015-01-07
BEIJING QIHOO TECH CO LTD +1
View PDF5 Cites 23 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Then, when the user scrolls the page through the mouse wheel or scroll bar to browse information in other locations (such as video comments), the video played on the page may move out of the display window, so that the user cannot watch the video content

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
  • Playing method and device of video elements in web page
  • Playing method and device of video elements in web page
  • Playing method and device of video elements in web page

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0033] refer to figure 1 , which shows a method for playing video elements in a web page of the present invention, which may specifically include:

[0034] Step 110, obtaining the webpage document for loading from the webpage server side;

[0035] In practical applications, after receiving the URL (Uniform Resource Locator, Uniform Resource Locator) input by the user, the browser of the embodiment of the present invention can send a corresponding HTTP (Hypertext Transfer Protocol, Hypertext Transfer Protocol) request to obtain the URL from the web server. HTML (that is, HyperText Mark-up Language) document, the HTML is used to be loaded into the tab page of the browser for display.

[0036] Step 120, judging that the webpage document is a specific webpage with playable video elements, injecting a display control script for controlling the display of the video elements into the webpage document by the browser;

[0037] In the embodiment of the present invention, for the webpa...

Embodiment 2

[0081] refer to figure 2 , which shows a method for playing video elements in a web page of the present invention, which may specifically include:

[0082] Step 210, obtaining the webpage document for loading from the webpage server side;

[0083] Step 220, judging that the webpage document is a specific webpage with playable video elements, injecting a display control script for controlling the display of the video elements into the webpage document by the browser;

[0084] Step 230, the display control script determines that the video element is partially displayed or completely not displayed in the current browser display window;

[0085] When the user drags the webpage to move, the logic module loaded by the display control script judges whether the video elements displayed in the webpage are partially displayed or not completely displayed in the current browser display window. If it is determined that the video element is partially displayed or completely not displayed...

Embodiment 3

[0157] refer to image 3 , which shows a method for playing video elements in a web page of the present invention, which may specifically include:

[0158] Step 310, obtaining the webpage document for loading from the webpage server side;

[0159] Step 320, judging that the webpage document is a specific webpage with playable video elements, injecting a display control script for controlling the display of the video elements into the webpage document by the browser;

[0160] Such as Figure 3A , is an example of loading and displaying a web page document for a browser; S312 is a browser display window, S313 is a display window of a video element, S314 is a scroll bar, and S315 is a scroll groove, and other components of the browser are omitted here. In the embodiment of the present invention, Figure 3A It is a schematic diagram of the initial state when the webpage document is loaded and the user has not been dragged by the user, that is, the browser has loaded ...

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 playing method and device of video elements in a web page and relates to the technical field of browsers. The playing method comprises obtaining a web page document which is used for loading from the web page server side; determining that the web page document is a specific web page with the video elements which can be played and injecting a display control script which is used for performing displaying control on the video elements to the web page document from a browser; determining that the video elements are partially displayed and or are not displayed in the current browser display window through the display control script; performing independent display on the video elements in the current web page in the current browser display window through the display control script. According to the playing method and device of the video elements in the web page, the video elements can be displayed in the display window after the initial position of the video elements in the web page document moves out of the display window and accordingly a user can watch the playing content in the video elements when browsing other information such as video reviews and recommend videos in the web page.

Description

technical field [0001] The invention relates to the technical field of browsers, in particular to a method and device for playing video elements in webpages. Background technique [0002] A browser refers to a software that can display the content of HTML (HyperText Mark-up Language, HyperText Mark-up Language)) files on a web server or file system, and allows users to interact with these files. The web browser mainly interacts with the web server through the HTTP protocol to acquire web pages, these web pages are specified by a URL (Uniform Resource Locator, Uniform Resource Locator), and the file format is usually HTML. A web page may include multiple documents, and each document is obtained from the server separately. The HTTP content type and URL protocol specifications allow web page designers to embed images, videos, etc. in web pages. [0003] However, there is a webpage with video content in the current web server. The video content is usually played at a certain p...

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): G06F17/30
CPCG06F16/957G06F16/95
Inventor 高庆光
Owner BEIJING QIHOO TECH CO LTD