CN103064958A - Method for automatic recognition and analysis of browser and based on hyper text makeup language (HTML) 5 video label - Google Patents
Method for automatic recognition and analysis of browser and based on hyper text makeup language (HTML) 5 video label Download PDFInfo
- Publication number
- CN103064958A CN103064958A CN2012105885498A CN201210588549A CN103064958A CN 103064958 A CN103064958 A CN 103064958A CN 2012105885498 A CN2012105885498 A CN 2012105885498A CN 201210588549 A CN201210588549 A CN 201210588549A CN 103064958 A CN103064958 A CN 103064958A
- Authority
- CN
- China
- Prior art keywords
- video
- browser
- html5
- application layer
- tab
- 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
Links
Images
Landscapes
- Information Transfer Between Computers (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention provides a method for automatic recognition and analysis of a browser and based on a hyper text makeup language (HTML) 5 video label. The method includes the following steps: loading a video page with the HTML 5 video label on a browser application layer, enabling the browser application layer to call built-in JS function of the browser to automatically recognize and analyze the HTML5 video label of the video page when the video page is loaded, storing parameters in the analyzed HTML 5 video label into variable of the browser application layer and achieving video sharing operation by a sharing button in the browser application layer.
Description
Technical field
The present invention relates to the video playback field, more particularly, relate to a kind of automatically identification and the method for resolving of browser based on the HTML5 video tab.
Background technology
HTML5 is that present most of browser has been supported the technology of some HTML5 for the HTML Standard Edition that replaces specified HTML4.01 in 1999 and XHTML1.0 sign.HTML 5 has two large characteristics: at first, strengthened the performance performance of Web webpage.Secondly, appended the function that the Web such as local data base use.When broad sense is touched upon HTML5, the actual cross-platform technical combinations of a cover that comprises HTML, CSS and JavaScript that refers to.Browser provides comprehensive impression support by various labels and the definition of resolving HTML5.
Because the technology of current HTML5 also is not overripened, in the browser to the identification of HTML5 video tab and the convenience that provides the user to operate after obtaining also have a lot of not enough, the user can only be provided single order video function, the operations such as the user can't share the HTML5 video greatly reduce user's experience and the shared advantage of internet.
In the prior art, can pass through to increase and revise the function of mechanism for resolving to realize that multi-screen is shared of the HTML5 video tab of browser kernel, standard and the cost that still can deviate from HTML5 are higher.
Summary of the invention
The invention provides the automatic identification of a kind of browser based on the HTML5 video tab and solve the problems referred to above with the method for resolving.Automatically identification and the method for resolving of browser based on the HTML5 video tab of the present invention is characterized in that described method comprises the steps:
1) the browser application layer is loaded the video page with HTML5 video tab;
2) behind described video page loaded, described browser application layer calls the described HTML5 video tab that described video page was identified and resolved to the built-in JS function of described browser automatically;
Each Parameter storage in the described HTML5 video tab that 3) will parse is in the variable of described browser application layer.
Preferably, before described step 1, need to the HTML5 video tab be set to described video page.
Preferably, the described HTML5 of having video tab comprises: video size, control property and video source attribute.
Preferably, after step 3), also comprise: the path of sharing in the described browser application layer is provided, realizes the sharing operation of described video.
Compared with prior art, the present invention is by rebuilding the browser application layer, the HTML5 technology can be applicable on the different terminal equipment of same system, and in the browser application layer, use the built-in JS function of browser to come the content of the parameters in the automatic described HTML5 video tab, extract and encapsulation broadcast information wherein, allow user or other programs video content can be shared on other screen terminal equipment, also realized simultaneously the function that multi-screen is shared, and whole process is transparent to the user, and the user only needs the automatic identification that namely solved the HTML5 video tab by shirtsleeve operation, resolve the defective with aspects such as sharing.
Description of drawings
In order to make the present invention be convenient to understand, specific embodiments of the invention are described by reference to the accompanying drawings now.
Fig. 1 shows the automatically step synoptic diagram of identification and a preferred embodiment of the method for resolving of the browser based on the HTML5 video tab of the present invention.
Fig. 2 shows the automatically step synoptic diagram of identification and the another preferred embodiment of the method for resolving of the browser based on the HTML5 video tab of the present invention.
Embodiment
Below in conjunction with accompanying drawing with preferred embodiment the present invention is described in further detail.The corresponding relation between the instantiation can following illustration among constitutive requirements and the embodiment in the claim.The intention of the description here is to confirm to have described in an embodiment the instantiation that is used for supporting the theme of stating in the claims, owing to described example in an embodiment, does not mean that this instantiation does not represent constitutive requirements.On the contrary, even comprised the element characteristic of instantiation as corresponding constitutive requirements at this, do not mean that this instantiation does not represent any other constitutive requirements yet.
In addition, the description does not here mean that corresponding to all themes of the instantiation of stating among the embodiment and has all quoted in the claims.In other words, this entity is not denied in the description here, i.e. the instantiation that comprises of corresponding embodiment, but be not included in its any one claim, that is and, correction that can be afterwards is by division and application or the entity that may invent that increases.
Should be noted in the discussion above that " system " means the processing that is made of two or more equipment at this.
Apparently, user terminal can be made of personal computer.In addition, described user terminal can also be by such as cell phone, any other PDA(personal digital assistant) instrument, AV(audio frequency and video) device, such as the CE(consumer-elcetronics devices of home electric (household electricity gasification) equipment) etc. formation.
" network " means the mechanism that has connected at least two equipment, and therein, an information can send to another equipment from an equipment.The equipment of setting up communication via network can be separated from one another, also can be the internal module that consists of a machine.
" communication " can represent radio communication and wire communication.Yet, can also be communicating by letter of hybrid wireless and wire communication, more specifically, take radio communication at certain section and take the communication of wire communication at another section.Equally, it also can be such communication: the communication from an equipment to another equipment is wired, and rightabout communication is wireless.
Fig. 1 shows the automatically step synoptic diagram of identification and a preferred embodiment of the method for resolving of the browser based on the HTML5 video tab of the present invention.
The preferred embodiment of the method that the browser based on the HTML5 video tab of the present invention is automatically identified and resolved comprises the steps:
In the present invention, at first need the label of video file setting based on the HTML5 form.
Should comprise based on the information of HTML5 video tab: video size, control property and video source attribute.Video size comprises: the length of video and width, control property comprise the control style of displaying, and video source data comprises URL address and the video source type of video.
For example, the information based on the HTML5 video tab is as follows:
<!DOCTYPE?HTML>
<html>
<body>
<video?width="320"?height="240"?controls="controls">
<source?src="movie.mp4"?type="video/mp4">
Your?browser?does?not?support?the?video?tag.
</video>
</body>
</html>
<video〉label is for defining video, and wherein, width is used for arranging the width of video player, and height is used for arranging the height of video player, and controls is used for showing control to the user;<source〉label is the medium element, the definition media resource, wherein, scr is used for arranging the URL of medium, and type is used for defining the video type of video source." Your browser does not support the video tag. " " your browser is not supported the video label in expression.”
Secondly, when loading video, the browser application layer is loaded a video page that has the HTML5 video tab.
Also namely, when the browser application layer loads video, load a video page that has the HTML5 video tab, be used for loading the parsing video file.
Secondly last, behind above-mentioned video page loaded, described browser application layer calls the HTML5 video tab that above-mentioned video page was identified and resolved to the built-in JS function of browser automatically, and each Parameter storage of parsing in the application layer variable of browser, and is play this video automatically.
Specifically, the built-in JS function of browser will be wherein the width of width(video player), the height of height(video player) and the source label in the actual address of src(video playback), the Parameter analysis of electrochemical such as type (player in audio stream, begin play position) out, and with above-mentioned each Parameter storage in the variable of browser application layer, and automatically play this video.
In addition, as shown in Figure 2, the present invention also comprises and shares step, by the path of sharing in the described browser application layer is provided, realizes the sharing operation of video content.
For example: other operations of sharing button or user by in the browser application layer, realize the operation such as shared grade of video content.
Browser based on the HTML5 video tab of the present invention automatically identification with the method for resolving since reconstruct browser application layer independently, can run on the different terminal equipment of same system such as mobile phone, Intelligent set top box, intelligent television or personal computer etc.For example, certain user watches certain HTML5 video by the browser in the mobile phone terminal in way home, this user arrives after the family, described certain HTML5 video does not also play, adopt method of the present invention, the video that does not play can be forwarded on the intelligent television and watch, realize the sharing operation of this video.
Foregoing detailed description has been illustrated the various embodiment of system and/or process by embodiment and/or synoptic diagram.With regard to these synoptic diagram and/or comprise with regard to one or more functions and/or the operation, it will be understood by those skilled in the art that each function among these synoptic diagram or the embodiment and/or operation can by various hardware, software, firmware or in fact its combination in any come individually and/or jointly realize.
Should be appreciated that method described herein can combined with hardware or software, or realize in conjunction with both combination in due course.Therefore, method of the present invention, can adopt the program code that is included in the tangible mediums such as floppy disk, CD-ROM, hard disk drive or any other machinable medium (namely, instruction) form, wherein, when program code in the situation that programmable calculator is carried out, computing equipment generally includes processor, readable storage medium (comprising volatile memory and/or memory element), at least one input equipment and at least one output device of this processor.One or more programs can be for example, and by using API, the process of describing in conjunction with the present invention is realized or utilized to reusable control etc.Such program preferably realizes with high level procedural or Object-Oriented Programming Language, to communicate by letter with computer system.Yet if necessary, this program can realize with assembly language or machine language.In any case, language can be compiler language or interpretative code, and realizes combining with hardware.
Need to prove that the category of the scheme of the method that a kind of browser based on the HTML5 video tab of the present invention is automatically identified and resolved includes but not limited to the combination in any between the each part mentioned above.
Although illustrate and described the present invention with reference to its preferred embodiment particularly, those skilled in the art will appreciate that and to make the various changes on form and the details and do not break away from the scope of the present invention described in the appended claims.Abovely describe in detail in conjunction with specific embodiments of the invention, but be not to be limitation of the present invention.Any simple modification that every foundation technical spirit of the present invention is done above embodiment all still belongs to the scope of technical solution of the present invention.
Claims (4)
1. the automatically identification and the method for resolving of browser based on the HTML5 video tab is characterized in that described method comprises the steps:
1) the browser application layer is loaded the video page with HTML5 video tab;
2) behind described video page loaded, described browser application layer calls the described HTML5 video tab that described video page was identified and resolved to the built-in JS function of described browser automatically;
Each Parameter storage in the described HTML5 video tab that 3) will parse is in the variable of described browser application layer.
2. the automatically identification and the method for resolving of browser based on the HTML5 video tab as claimed in claim 1 is characterized in that, before described step 1, need to the HTML5 video tab be set to described video page.
3. the automatically identification and the method for resolving of browser based on the HTML5 video tab as claimed in claim 2 is characterized in that the described HTML5 of having video tab comprises: video size, control property and video source attribute.
4. the automatically identification and the method for resolving of browser based on the HTML5 video tab as claimed in claim 1 is characterized in that, after step 3), also comprises:
The path of sharing in the described browser application layer is provided, realizes the sharing operation of described video.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012105885498A CN103064958A (en) | 2012-12-31 | 2012-12-31 | Method for automatic recognition and analysis of browser and based on hyper text makeup language (HTML) 5 video label |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012105885498A CN103064958A (en) | 2012-12-31 | 2012-12-31 | Method for automatic recognition and analysis of browser and based on hyper text makeup language (HTML) 5 video label |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103064958A true CN103064958A (en) | 2013-04-24 |
Family
ID=48107588
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2012105885498A Pending CN103064958A (en) | 2012-12-31 | 2012-12-31 | Method for automatic recognition and analysis of browser and based on hyper text makeup language (HTML) 5 video label |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103064958A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103763638A (en) * | 2014-01-23 | 2014-04-30 | 中国联合网络通信集团有限公司 | Video resource obtaining method and device |
CN104750548A (en) * | 2015-04-01 | 2015-07-01 | 贵州电网公司信息通信分公司 | Asynchronous request method based on mixed mode cross-platform application |
CN104853254A (en) * | 2015-05-26 | 2015-08-19 | 深圳市理奥网络技术有限公司 | Video playing method and mobile terminal |
CN104918119A (en) * | 2014-03-11 | 2015-09-16 | 腾讯科技(深圳)有限公司 | Video processing method based on iOS browser, and video processing apparatus based on iOS browser |
CN106354849A (en) * | 2016-08-31 | 2017-01-25 | 乐视控股(北京)有限公司 | Poster obtaining treatment method and device of video tag |
WO2017112181A1 (en) * | 2015-12-22 | 2017-06-29 | Intel Corporation | Emotional timed media playback |
CN107566295A (en) * | 2017-09-01 | 2018-01-09 | 努比亚技术有限公司 | A kind of data traffic reminding method, browser and computer-readable recording medium |
CN112367549A (en) * | 2020-11-10 | 2021-02-12 | 四川长虹电器股份有限公司 | Video playing implementation method of television browser and browser application operation method |
CN114205664A (en) * | 2021-12-06 | 2022-03-18 | 北京字节跳动网络技术有限公司 | Screen projection method, screen projection device, screen projection display device, screen projection system, and medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102647634A (en) * | 2012-05-02 | 2012-08-22 | 合一网络技术(北京)有限公司 | Multi-fragment video playing method and device based on hypertext markup language (HTML) 5 video |
CN102646302A (en) * | 2011-02-08 | 2012-08-22 | 微软公司 | Providing web-based content to local device |
US20120266060A1 (en) * | 2011-04-14 | 2012-10-18 | Limelight Networks, Inc. | Advanced embed code |
CN102779046A (en) * | 2012-07-04 | 2012-11-14 | 合一网络技术(北京)有限公司 | Video playing system based on HTML5 development and video playing method thereof |
-
2012
- 2012-12-31 CN CN2012105885498A patent/CN103064958A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102646302A (en) * | 2011-02-08 | 2012-08-22 | 微软公司 | Providing web-based content to local device |
US20120266060A1 (en) * | 2011-04-14 | 2012-10-18 | Limelight Networks, Inc. | Advanced embed code |
CN102647634A (en) * | 2012-05-02 | 2012-08-22 | 合一网络技术(北京)有限公司 | Multi-fragment video playing method and device based on hypertext markup language (HTML) 5 video |
CN102779046A (en) * | 2012-07-04 | 2012-11-14 | 合一网络技术(北京)有限公司 | Video playing system based on HTML5 development and video playing method thereof |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103763638B (en) * | 2014-01-23 | 2017-02-15 | 中国联合网络通信集团有限公司 | Video resource obtaining method and device |
CN103763638A (en) * | 2014-01-23 | 2014-04-30 | 中国联合网络通信集团有限公司 | Video resource obtaining method and device |
CN104918119B (en) * | 2014-03-11 | 2018-09-04 | 腾讯科技(深圳)有限公司 | Method for processing video frequency based on iOS browsers and video process apparatus |
CN104918119A (en) * | 2014-03-11 | 2015-09-16 | 腾讯科技(深圳)有限公司 | Video processing method based on iOS browser, and video processing apparatus based on iOS browser |
CN104750548A (en) * | 2015-04-01 | 2015-07-01 | 贵州电网公司信息通信分公司 | Asynchronous request method based on mixed mode cross-platform application |
CN104750548B (en) * | 2015-04-01 | 2018-09-28 | 贵州电网有限责任公司信息中心 | Asynchronous Request method based on mixed mode cross-platform |
CN104853254A (en) * | 2015-05-26 | 2015-08-19 | 深圳市理奥网络技术有限公司 | Video playing method and mobile terminal |
WO2017112181A1 (en) * | 2015-12-22 | 2017-06-29 | Intel Corporation | Emotional timed media playback |
US9916866B2 (en) | 2015-12-22 | 2018-03-13 | Intel Corporation | Emotional timed media playback |
CN106354849A (en) * | 2016-08-31 | 2017-01-25 | 乐视控股(北京)有限公司 | Poster obtaining treatment method and device of video tag |
CN107566295A (en) * | 2017-09-01 | 2018-01-09 | 努比亚技术有限公司 | A kind of data traffic reminding method, browser and computer-readable recording medium |
CN112367549A (en) * | 2020-11-10 | 2021-02-12 | 四川长虹电器股份有限公司 | Video playing implementation method of television browser and browser application operation method |
CN112367549B (en) * | 2020-11-10 | 2021-08-06 | 四川长虹电器股份有限公司 | Video playing implementation method of television browser and browser application operation method |
CN114205664A (en) * | 2021-12-06 | 2022-03-18 | 北京字节跳动网络技术有限公司 | Screen projection method, screen projection device, screen projection display device, screen projection system, and medium |
CN114205664B (en) * | 2021-12-06 | 2023-09-12 | 抖音视界有限公司 | Screen projection method, screen projection device, screen projection display device, screen projection system and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103064958A (en) | Method for automatic recognition and analysis of browser and based on hyper text makeup language (HTML) 5 video label | |
KR102436987B1 (en) | Method and terminal device for extracting web page content | |
WO2020063019A1 (en) | Information processing method, device, storage medium, electronic device and system | |
CN104951326B (en) | Webpage access method and device | |
CN107741844B (en) | Method and device for generating application installation package | |
CN111580879A (en) | Applet running method and device, electronic equipment and computer storage medium | |
CN104484171A (en) | System, method and associated equipment for designing terminal interface | |
US20150278164A1 (en) | Method and apparatus for constructing documents | |
CN105740263B (en) | Page display method and device | |
US20150161220A1 (en) | Method and device for displaying search result on mobile terminal | |
WO2013097202A1 (en) | Apparatuses and methods for web application converter systems | |
CN102929867A (en) | Technology used for automatically translating a document | |
CN104169898A (en) | Method and apparatus for streaming metadata between devices using javaScript and HTML5 | |
US20150169600A1 (en) | Interface display method and system for home gateway applicable to various display types | |
CN102932694B (en) | Intelligent TV network interface display method and device | |
US20190034195A1 (en) | Systems and methods for providing patchable rom firmware | |
CN101860734B (en) | Method for implementing incremental transmission and display of dynamic images through AJAX | |
CN106020725B (en) | Application file processing unit and method | |
CN108322807A (en) | A kind of barrage methods of exhibiting and device | |
CN103970839A (en) | Method for controlling webpage browsing through voice | |
CN105740014A (en) | Method for integrating YouTube functions in mobile terminal application | |
CN103618779A (en) | Method and system for resource sharing | |
CN102904925B (en) | Three-screen-interaction-based cross-platform widget middleware system | |
US9781065B2 (en) | Lightweight application integration for mobile cloud computing | |
CN103838873B (en) | The method and system that a kind of application matching owner's information is searched for automatically |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20130424 |