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

Method and device for playing video in small window in browser

A browser and video window technology, applied in instruments, special data processing applications, electrical digital data processing, etc., can solve problems such as inability to judge video elements, poor user experience, and inhumanity.

Inactive Publication Date: 2014-11-05
SHANGHAI 2345 NETWORK TECH
View PDF6 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This method often causes the video to be reloaded and played after being moved to a new window, which is not humanized and the user experience is not good
In addition, it often appears that video elements are nested in multiple frames in web pages, that is, nested in iframes, so it may not be possible to judge the video elements nested in iframes

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 small window in browser

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0041] refer to figure 1 It is a flowchart of a method for playing a small video window in a browser of the present invention, and implementing the method includes the following contents:

[0042] Step A: Obtain the selected video element in the current webpage window. In this step, how to obtain the selected video element in the current webpage window is very important, so there is a step about how to obtain the selected video element in the webpage window before this step.

[0043] Users usually use the mouse to browse or select the content they are interested in in the web page. Therefore, setting step A1: judge whether it is a video element according to the element type pointed to by the user's mouse in the current web page window, and if so, mark it as the selected video element and go to step A; if not, go to step A2. The video in the current webpage is usually played in the form of flash in the webpage, so the video element referred to in step A1 can be flash, of cour...

Embodiment 2

[0057] A device for playing a small video window in a browser, comprising the following modules:

[0058] Video element acquisition module: used to acquire the selected video element in the current web page window;

[0059] Create an independent window module: used to create an independent video window for accommodating and playing videos independent of the current web page window;

[0060] Hidden element module: used to hide other elements except the selected video element in the current webpage window in the video element acquisition module;

[0061] Web page separation module: used to move and bind the current web page window in the video element acquisition module to an independent video window.

[0062] Before creating the standalone window module also include:

[0063] Element judgment module A: used to judge whether it is a video element according to the element type pointed by the user's mouse in the current web page window, if so, mark it as the selected video eleme...

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 device for playing video in a small window in a browser. The method comprises the following steps that A, video elements selected in a current webpage window are acquired; C, an independent video window which is independent of the current webpage window and is used for containing and playing video is established; D, other elements besides the selected video elements in the current webpage window in the step A are concealed; E, the current webpage window in the step A is moved and bound in the independent video window. The method and device for displaying the video in the small window in the browser has the advantages that the other elements besides the video elements in the current webpage window are concealed and then transferred to the independent video window so that the video can be protruded, an interface where the user watches the video is clearer, playing of the video is not influenced, and the video does not need to be replayed. In addition, whether elements pointed to by a user mouse are video elements or not can be better and more stably judged, and the video elements embedded in an iframe are prevented from being omitted.

Description

technical field [0001] The invention relates to the field of web page processing, in particular to a method and device for playing a small video window in a browser. Background technique [0002] There are currently many browsers that support small video window playback, and each browser has different implementation methods and also has its own defects. Most of the existing methods are to create a new window, and then extract the video source address in the webpage and put it into the newly created window. This method often causes the video to be reloaded and played after being moved to a newly created window, which is not humanized and the user experience is not good. In addition, it often appears that video elements are nested in multiple frames in web pages, that is, nested in iframes, so it may not be possible to judge the video elements nested in iframes. Contents of the invention [0003] In order to overcome the deficiencies of the prior art, the object of the pre...

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/9577
Inventor 王大千吴冬冬胡昆
Owner SHANGHAI 2345 NETWORK TECH
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