CN102665137B - Control method and the terminal of media player - Google Patents
Control method and the terminal of media player Download PDFInfo
- Publication number
- CN102665137B CN102665137B CN201210093664.8A CN201210093664A CN102665137B CN 102665137 B CN102665137 B CN 102665137B CN 201210093664 A CN201210093664 A CN 201210093664A CN 102665137 B CN102665137 B CN 102665137B
- Authority
- CN
- China
- Prior art keywords
- browser
- dynamic base
- javascript
- player
- call
- 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.)
- Expired - Fee Related
Links
Landscapes
- Telephonic Communication Services (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The present invention relates to a kind of method controlling media player and terminal, its method includes: the webpage opened by browser receives the broadcasting control instruction of user;According to playing control instruction, and the javascript expansion interface of the browser called by webpage, remove to call in browser the interface function of correspondence in dynamic base, media play process is controlled.The present invention provide one efficiently, javascript extended mode efficiently, media play is controlled by calling the javascript expansion interface of browser, conveniently achieve in the webpage of TV browser, carry out the media play such as audio frequency and video, and the playback action pattern of player is controlled based on dynamic base in browser and the process communication between media play process, the most greatly save browser resource, and greatly simplify the javascript regarded as output controlling flow process of browser.
Description
Technical field
The present invention relates to technical field of media play, particularly relate to a kind of javascript based on browser extension and control
The method of media player and terminal.
Background technology
At present, browser has started to be widely used on television set.In daily use, picture in webpage, word dynamic
State effect and some specially good effects etc. generally use javascript method to make, and these javascript methods are typically by browsing
Device self defines without doing extra extension again.But, defined in browser self, javascript method has after all
Limit, if browser needs other work outside the javascript method of standard of doing, ratio is if desired for playing sound in webpage
Pleasure, video etc., then need to define corresponding javascript extended method, in order to carry out media play operation.
But, if the player function of television set to be placed directly in the javascript extended method of browser use,
The resource consumption of browser will certainly be increased, increase the weight of the burden of browser execution, and have a strong impact on the performance of browser, Jin Erying
Ring the broadcasting of the multi-medium datas such as audio frequency and video in webpage.
Summary of the invention
Present invention is primarily targeted at a kind of method controlling media player of offer and terminal, it is intended to browser
Javascript expanded function, simple and efficient realization carries out media play in the webpage that network terminal browser is opened, fall
Low browser resource consumption.
In order to achieve the above object, the present invention proposes a kind of method controlling media player, including:
The webpage opened by browser receives the broadcasting control instruction of user;
According to described broadcasting control instruction, and the javascript extension of the described browser called by described webpage is connect
Mouthful, remove to call interface function corresponding in dynamic base in described browser, media play process is controlled.
Preferably, described according to playing control instruction, and the described browser called by described webpage
Javascript expansion interface, removes to call interface function corresponding in dynamic base in described browser, enters media play process
The step that row controls includes:
According to described broadcasting control instruction, the javascript extension of the described browser called by described webpage is connect
Mouthful, go to call the javascript extended method that described browser is corresponding;
The javascript extended method corresponding by described browser opens the dynamic base in described browser, and calls
Interface function corresponding in described dynamic base;
By interface function corresponding in described dynamic base, described broadcasting control instruction is sent to media play process,
Behaviour is played out according to described broadcasting control instruction, the playback interface function calling player corresponding by described media play process
Make.
Preferably, described broadcasting control instruction is sent to institute by the interface function in described dynamic base by socket mode
State media play process.
Preferably, described according to playing control instruction, and the described browser called by described webpage
Javascript expansion interface, removes to call interface function corresponding in dynamic base in described browser, enters media play process
Also include after the step that row controls:
When receiving the instruction that user exits described browser, the described browser called by described webpage
Javascript expansion interface, removes to call interface function corresponding in dynamic base in described browser, indicates described media play
Process release player resources.
Preferably, the method also includes:
When browser starts, load described dynamic base in a browser.
The present invention also proposes a kind of terminal controlling media player, including:
Command reception module, the webpage for being opened by browser receives the broadcasting control instruction of user;
Play control module, be used for according to described broadcasting control instruction, and the described browser called by described webpage
Javascript expansion interface, remove to call interface function corresponding in dynamic base in described browser, to media play process
It is controlled.
Preferably, described broadcasting control module includes:
Extended method call unit, for according to described broadcasting control instruction, by described webpage call described in browse
The javascript expansion interface of device, goes to call the javascript extended method that described browser is corresponding;
Interface function call unit, for opening described clear by the javascript extended method that described browser is corresponding
Look at the dynamic base in device, and call interface function corresponding in described dynamic base;
Control instruction transmitting element, for by interface function corresponding in described dynamic base, referring to described broadcasting control
Order sends to media play process, by described media play process according to described broadcasting control instruction, calls player corresponding
Playback interface function plays out operation.
Preferably, described broadcasting control instruction is sent to institute by the interface function in described dynamic base by socket mode
State media play process.
Preferably, described command reception module, it is additionally operable to receive user and exits the instruction of described browser;
Described broadcasting control module, the javascript extension of described browser being additionally operable to be called by described webpage is connect
Mouthful, remove to call interface function corresponding in dynamic base in described browser, indicate described media play process release player money
Source.
Preferably, this terminal also includes:
Load-on module, for when browser starts, loads described dynamic base in a browser.
A kind of method controlling media player of present invention proposition and terminal, it is provided that one efficiently, efficiently
Javascript extended mode, controls media play by calling the javascript expansion interface of browser, convenient and swift
Achieve in the webpage of TV browser, carry out the media play such as audio frequency and video, and broadcast with media based on dynamic base in browser
Put the process communication between journey into control the playback action pattern of player, the most greatly save browser resource, and
And greatly simplify the javascript regarded as output controlling flow process of browser.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet that the present invention controls the method first embodiment of media player;
Fig. 2 is that the present invention controls browser javascript extended method in the method first embodiment of media player
Invoked procedure schematic diagram;
Fig. 3 is the interface that controls in the method first embodiment of media player in dynamic base of the present invention and player process
Between the idiographic flow schematic diagram that communicates;
Fig. 4 is that the present invention controls according to playing control instruction in the method first embodiment of media player, and passes through institute
State the javascript expansion interface of the browser that webpage calls, remove to call interface function corresponding in dynamic base in browser,
The schematic flow sheet that media play process is controlled;
Fig. 5 is the schematic flow sheet that the present invention controls method second embodiment of media player;
Fig. 6 is the idiographic flow that the present invention controls when browser in method second embodiment of media player exits process
Schematic diagram;
Fig. 7 is the structural representation that the present invention controls the terminal first embodiment of media player;
Fig. 8 is the structural representation that the present invention controls to play in the terminal first embodiment of media player control module;
Fig. 9 is the structural representation that the present invention controls terminal second embodiment of media player.
In order to make technical scheme clearer, clear, it is described in further detail below in conjunction with accompanying drawing.
Detailed description of the invention
The solution of the embodiment of the present invention is mainly: when user starts TV browser, enter into Webpage, clicks on
Some on webpage are play after controlling operation buttons (as play, suspend, stop, continuing, current play time, total time etc.),
Above-mentioned a series of play instruction is sent to player by the javascript expansion interface of browser by TV, and player connects
After receiving these broadcasting control instructions, then call the execution of corresponding player function interface function and play accordingly, suspend, stop
Only, the music action such as continuation, media play process is control effectively by the webpage of TV browser, simplifies browser
Regarded as output controlling flow process, save browser resource.
In the present invention, terminal can be the intelligent terminal with the function being browsed webpage by browser, such as Web TV
Or smart mobile phone etc., following embodiment illustrates as a example by Web TV, but is not limited to this kind of situation.
As it is shown in figure 1, first embodiment of the invention proposes a kind of method controlling media player, including:
Step S101, the webpage opened by browser receives the broadcasting control instruction of user;
As a example by Web TV, when user starts TV browser, after entering into Webpage, can be with in webpage clicking
Some buttons accordingly play control operation, formed play control instruction, this broadcasting control instruction include play
(play), suspend (pause), stop (stop), continuation (resume), current play time (currenttime), total time
(totaltime) control operations etc. are ordered.
Step S102, according to playing control instruction, and the javascript expansion interface of the browser called by webpage,
Remove to call interface function corresponding in dynamic base in browser, media play process is controlled.
When after the broadcasting control instruction that television reception to user is inputted by browsing device net page, by browser
Broadcasting control instruction is sent to player by javascript expansion interface, player receive these play control instructions it
After, then call functional interface function functions such as (include playing, suspend, stop) continuation of corresponding player, perform corresponding
Play, suspend, stop, the corresponding music action such as continuation.
Specifically, the present embodiment is by being extended the javascript method of TV browser, and passes through browser
Communication between the media play process of process and player controls the playback action of player.
In order to use the javasrcipt expansion interface of TV browser to control media play, the present embodiment is at browser
Kernel in the addition of corresponding control method for playing back, such as play (media_player), suspend (media_pause), stop
The only javascript extended method such as (media_stop), continuation (media_resume), the broadcasting on the user operation page
When controlling button, browser is firstly the need of calling these javascript extended methods.
Meanwhile, newly define the dynamic base (huanmediaplayer.so) of a .so, and in this dynamic base
Defined in corresponding interface function, such as play (huanmedia_player), suspend (huanmedia_pause), continue
(huanmedia_resume), stopping interface functions such as (huanmedia_stop), browser is corresponding by calling in dynamic base
Interface function and player between carry out command interaction.
When the user operation page plays control, first TV calls the javascript extension defined in browser kernel
Method, afterwards, opens dynamic base huanmediaplayer.so in these javascript extended methods, and calls dynamic base
The interface function of middle correspondence, such as calls media_player method, then can call in dynamic base corresponding
Huanmedia_player interface function.
Invoked procedure about browser javascript extended method specifically refer to shown in Fig. 2:
When user click on broadcasting control knob on the page (as play, suspend, stop, continuing, current play time, total
Time etc.) after, webpage can call corresponding javascript extended method in browser kernel immediately, by accordingly
Javascript extended method opens the dynamic base in browser, dynamic base as browser process a part and player it
Between mutual reception and registration and the reception playing out control instruction by interprocess communication (by the way of such as socket socket), move
Corresponding to those interface functions (huanmedia_player, huanmedia_ of javascript extended method in state storehouse
Pause, huanmedia_resume, huanmedia_stop) can send to player process and play control instruction accordingly, broadcast
Put device to receive these and play after control instructions, then call corresponding player function interface function (play, pause,
Stop, resume, currenttime, totaltime), current music player carries out to be play accordingly, suspend, stops
Only, the action such as continuation.
Such as: when user clicks the broadcast button on the page, and now webpage can call in browser kernel immediately
Javascript extended method media_player, media_player method can open dynamic base afterwards
Huanmediaplayer.so, calls the interface function huanmedia_player being positioned in dynamic base simultaneously, and
Huanmedia_player function sends play instruction by socket mode receive to player process, player process
After this play instruction, the playback interface function calling player self immediately carries out the broadcasting of music.
For another example, when the button in user's webpage clicking to current play time, be controlled total time operation time, page end
Can constantly call the total time of broadcasting and the javascript expansion interface of current time, now, javascript extension connects
Mouth will send acquisition total time and the instruction of current time to player process, and player then calls after receiving these instructions
Obtain current time and the function of total time, and current time value and total time value are returned to the javascript expansion of browser
Exhibition method, page end can get current play time and total time by javascript extended method, and on webpage
The correct current time showing currently playing music and total time, in this way, user just may be used on the webpage of television set
With arbitrary, audio-video frequency media is played out control.
The idiographic flow communicated between interface and player process in above-mentioned dynamic base refer to shown in Fig. 3.
In specific implementation process, as shown in Figure 4, above-mentioned steps S102 includes:
Step S1021, according to playing control instruction, by the javascript expansion interface of the browser that webpage calls,
Go to call the javascript extended method that browser is corresponding;
Step S1022, the javascript extended method corresponding by browser is opened the dynamic base in browser, and is adjusted
With interface function corresponding in dynamic base;
Step S1023, by interface function corresponding in dynamic base, enters the transmission of broadcasting control instruction to media play
Journey, by media play process according to playing control instruction, the playback interface function calling player corresponding plays out operation.
Wherein, the transmission of broadcasting control instruction is entered to media play by the interface function in dynamic base by socket mode
Each interface in journey, i.e. dynamic base is by carrying out process communication between socket mode and media player.
The present embodiment by efficiently, javascript extended mode efficiently, control to play by javascript extension
Device, conveniently achieves and carries out the media play such as audio frequency and video in the webpage of TV browser, and utilizes in browser dynamic
Process communication between state storehouse and player process, controls the pattern of player plays action, the most greatly saves clear
Look at device resource, and considerably simplify the development process of browser.
As it is shown in figure 5, second embodiment of the invention proposes a kind of method controlling media player, at above-described embodiment
On the basis of, also included before above-mentioned steps S101:
Step S100, when browser starts, loads dynamic base in a browser.
Also include after above-mentioned steps S102:
Step S103, when receiving the instruction that user exits browser, the browser called by webpage
Javascript expansion interface, goes to call interface function corresponding in dynamic base in browser, instruction media play process release
Player resources.
The present embodiment is with the difference of above-described embodiment, in the present embodiment, when user starts TV browser, enters
After Webpage, browser can load definition automatically the dynamic base of the corresponding interface function, in order at the user operation page
When playing control, browser calls interface function corresponding in this dynamic base by the javascript expansion interface of browser,
Media play process is controlled.
Additionally, in the present embodiment, when user needs to exit TV browser, such as click on remote controller as user
Exit button or after clicking on standby button, system for TV set prepares to exit browser process after these key value being detected,
And before system for TV set terminates browser process, first call the extended method media_close in browser kernel, should
Close when the main purpose of method is to exit still at the music player run, discharge player resources, the most further
Open dynamic base huanmediaplayer.so by media_close extended method, call connecing of being positioned in dynamic base simultaneously
Mouth function huanmedia_close, and send end broadcasting by interface function huanmedia_close to player process
(huanmedia_stop) and release player resources socket instruction, after player receives this instruction, i.e. can
Terminate the player being currently running, and discharge player resources.
Hereafter, system for TV set terminates browser process, and whole browser process exits completely, when browser exits process
Idiographic flow shown in Figure 6.
The present embodiment by efficiently, javascript extended mode efficiently, based on dynamic base in browser and player
Process communication between process, controls the pattern of player plays action and the timely release of player resources, convenient and swift
Achieve by javascript extension control player, in the browsing device net page of the network terminals such as Web TV play sound
Video, the most greatly saves browser resource, and considerably simplify the development process of browser.
As it is shown in fig. 7, first embodiment of the invention proposes a kind of terminal controlling media player, including: command reception
Module 701 and broadcasting control module 702, wherein:
Command reception module 701, the webpage for being opened by browser receives the broadcasting control instruction of user;
Play control module 702, for according to playing control instruction, and the browser called by webpage
Javascript expansion interface, removes to call interface function corresponding in dynamic base in browser, controls media play process
System.
As a example by Web TV, when user starts TV browser, after entering into Webpage, can be with in webpage clicking
Some buttons accordingly play control operation, formed play control instruction, this broadcasting control instruction include play
(play), suspend (pause), stop (stop), continuation (resume), current play time (currenttime), total time
(totaltime) control operations etc. are ordered.
Television set by command reception module 701 browser webpage receive user click on transmission broadcasting control refer to
Order.After command reception module 701 receives the broadcasting control instruction that user is inputted by browsing device net page, the broadcasting of television set
Broadcasting control instruction is sent to player by the javascript expansion interface of browser by control module 702, and player connects
Receive these to play after control instructions, then call corresponding player functional interface function (include playing, suspend, stop,
The functions such as continuation), perform to play accordingly, suspend, stop, the corresponding music action such as continuation.
Specifically, the present embodiment is by being extended the javascript method of TV browser, and passes through browser
Communication between the media play process of process and player controls the playback action of player.
In order to use the javasrcipt expansion interface of TV browser to control media play, the present embodiment is at browser
Kernel in the addition of corresponding control method for playing back, such as play (media_player), suspend (media_pause), stop
The only javascript extended method such as (media_stop), continuation (media_resume), the broadcasting on the user operation page
When controlling button, browser is firstly the need of calling these javascript extended methods.
Meanwhile, newly define the dynamic base (huanmediaplayer.so) of a .so, and in this dynamic base
Defined in corresponding interface function, such as play (huanmedia_player), suspend (huanmedia_pause), continue
(huanmedia_resume), stopping interface functions such as (huanmedia_stop), browser is corresponding by calling in dynamic base
Interface function and player between carry out command interaction.
When the user operation page plays control, first the broadcasting control module 702 of television set is called in browser kernel
The javascript extended method of definition, afterwards, opens dynamic base in these javascript extended methods
Huanmediaplayer.so, and call interface function corresponding in dynamic base, such as call media_player method, then can
Call corresponding huanmedia_player interface function in dynamic base.
Invoked procedure about browser javascript extended method specifically refer to shown in Fig. 2:
When user click on broadcasting control knob on the page (as play, suspend, stop, continuing, current play time, total
Time etc.) after, webpage can call corresponding javascript extended method in browser kernel immediately, by accordingly
Javascript extended method opens the dynamic base in browser, dynamic base as browser process a part and player it
Between mutual reception and registration and the reception playing out control instruction by interprocess communication (by the way of such as socket socket), move
Corresponding to those interface functions (huanmedia_player, huanmedia_ of javascript extended method in state storehouse
Pause, huanmedia_resume, huanmedia_stop) can send to player process and play control instruction accordingly, broadcast
Put device to receive these and play after control instructions, then call corresponding player function interface function (play, pause,
Stop, resume, currenttime, totaltime), current music player carries out to be play accordingly, suspend, stops
Only, the action such as continuation.
Such as: when user clicks the broadcast button on the page, and now webpage can call in browser kernel immediately
Javascript extended method media_player, media_player method can open dynamic base afterwards
Huanmediaplayer.so, calls the interface function huanmedia_player being positioned in dynamic base simultaneously, and
Huanmedia_player function sends play instruction by socket mode receive to player process, player process
After this play instruction, the playback interface function calling player self immediately carries out the broadcasting of music.
For another example, when the button in user's webpage clicking to current play time, be controlled total time operation time, page end
Can constantly call the total time of broadcasting and the javascript expansion interface of current time, now, javascript extension connects
Mouth will send acquisition total time and the instruction of current time to player process, and player then calls after receiving these instructions
Obtain current time and the function of total time, and current time value and total time value are returned to the javascript expansion of browser
Exhibition method, page end can get current play time and total time by javascript extended method, and on webpage
The correct current time showing currently playing music and total time, in this way, user just may be used on the webpage of television set
With arbitrary, audio-video frequency media is played out control.
The idiographic flow communicated between interface and player process in above-mentioned dynamic base refer to shown in Fig. 3.
In specific implementation process, as shown in Figure 8, above-mentioned broadcasting control module 702 includes: extended method call unit
7021, interface function call unit 7022 and control instruction transmitting element 7023, wherein:
Extended method call unit 7021, for according to playing control instruction, the browser called by webpage
Javascript expansion interface, goes to call the javascript extended method that browser is corresponding;
Interface function call unit 7022, for opening described clear by the javascript extended method that browser is corresponding
Look at the dynamic base in device, and call interface function corresponding in dynamic base;
Control instruction transmitting element 7023, for by interface function corresponding in dynamic base, sending out broadcasting control instruction
Deliver to media play process, by media play process according to playing control instruction, call the playback interface function that player is corresponding
Play out operation.
Wherein, the transmission of broadcasting control instruction is entered to media play by the interface function in dynamic base by socket mode
Each interface in journey, i.e. dynamic base is by carrying out process communication between socket mode and media player.
The present embodiment by efficiently, javascript extended mode efficiently, based on dynamic base in browser and player
Process communication between process, controls the pattern of player plays action and the timely release of player resources, convenient and swift
Achieve by javascript extension control player, in the browsing device net page of the network terminals such as Web TV play sound
Video, the most greatly saves browser resource, and considerably simplify the development process of browser.
As it is shown in figure 9, second embodiment of the invention proposes a kind of terminal controlling media player, at above-described embodiment
On the basis of, also include:
Load-on module 700, for when browser starts, loads dynamic base in a browser.
In the present embodiment, above-mentioned command reception module 701 is additionally operable to receive user and exits the instruction of browser;
Above-mentioned broadcasting control module 702 is additionally operable to the javascript expansion interface of the browser called by webpage, goes
Call interface function corresponding in dynamic base in browser, instruction media play process release player resources.
The present embodiment is with the difference of above-described embodiment, in the present embodiment, when user starts TV browser, enters
After Webpage, browser can automatically load definition by load-on module 700 dynamic base of the corresponding interface function, in order to
When the user operation page plays control, the broadcasting control module 702 of television set is connect by the javascript extension of browser
Mouth calls interface function corresponding in this dynamic base, is controlled media play process.
Additionally, in the present embodiment, when user needs to exit TV browser, such as click on remote controller as user
Exit button or after clicking on standby button, system for TV set prepares to exit browser process after these key value being detected,
And before system for TV set terminates browser process, first the broadcasting control module 702 of television set is called in browser kernel
Extended method media_close, when the main purpose of the method is to exit close still run music player, release is broadcast
Put device resource, the most further open dynamic base huanmediaplayer.so by media_close extended method, with
Time call the interface function huanmedia_close being positioned in dynamic base, and by interface function huanmedia_close to broadcasting
Putting device process and send the socket instruction terminating to play (huanmedia_stop) and release player resources, player receives
After this instruction, i.e. can terminate the player being currently running, and discharge player resources.
Hereafter, system for TV set terminates browser process, and whole browser process exits completely, when browser exits process
Idiographic flow shown in Figure 6.
The embodiment of the present invention controls the method for media player and terminal, it is provided that one efficiently, javascript efficiently
Extended mode, controls media play by calling the javascript expansion interface of browser, conveniently achieves
The webpage of TV browser carries out the media play such as audio frequency and video, and based on dynamic base in browser and between media play process
Process communication control the timely release of playback action mode players resource of player, the most greatly save and browse
Device resource, and greatly simplify the javascript regarded as output controlling flow process of browser.
The foregoing is only the preferred embodiments of the present invention, not thereby limit the scope of the claims of the present invention, every utilization
Equivalent structure or flow process that description of the invention and accompanying drawing content are made convert, or are directly or indirectly used in other relevant skill
Art field, is the most in like manner included in the scope of patent protection of the present invention.
Claims (7)
1. the method controlling media player, it is characterised in that including:
The webpage opened by browser receives the broadcasting control instruction of user;
According to described broadcasting control instruction, and the javascript expansion interface of the described browser called by described webpage,
Remove to call interface function corresponding in dynamic base in described browser, media play process is controlled;
When receiving the instruction that user exits described browser, first call the extended method in browser kernel with for the first time
Release playing resource, the javascript expansion interface of the described browser the most further called by described webpage, is gone
Call interface function corresponding in dynamic base in described browser, indicate described media play process second time release player money
Source;
Wherein, described according to playing control instruction, and the javascript extension of the described browser called by described webpage
Interface, removes to call interface function corresponding in dynamic base in described browser, the step bag being controlled media play process
Include:
According to described broadcasting control instruction, by the javascript expansion interface of the described browser that described webpage calls, go
Call the javascript extended method that described browser is corresponding;
Open the dynamic base in described browser by the javascript extended method that described browser is corresponding, and call described
Interface function corresponding in dynamic base;
By interface function corresponding in described dynamic base, described broadcasting control instruction is sent to media play process, by institute
State media play process and play out operation according to described broadcasting control instruction, the playback interface function calling player corresponding.
Method the most according to claim 1, it is characterised in that the interface function in described dynamic base is by socket mode
Described broadcasting control instruction is sent to described media play process.
Method the most according to claim 1, it is characterised in that also include:
When browser starts, load described dynamic base in a browser.
4. the terminal controlling media player, it is characterised in that including:
Command reception module, the webpage for being opened by browser receives the broadcasting control instruction of user;
Play control module, for according to described broadcasting control instruction, and the described browser called by described webpage
Javascript expansion interface, removes to call interface function corresponding in dynamic base in described browser, enters media play process
Row controls;Wherein,
Described broadcasting control module, is additionally operable to, when receiving the instruction that user exits described browser, first call browser
Extended method in kernel is with release playing resource, the described browser the most further called by described webpage for the first time
Javascript expansion interface, remove to call interface function corresponding in dynamic base in described browser, indicate described media to broadcast
Put journey second time release player resources into;
Wherein, described broadcasting control module includes:
Extended method call unit, for according to described broadcasting control instruction, the described browser called by described webpage
Javascript expansion interface, goes to call the javascript extended method that described browser is corresponding;
Interface function call unit, for opening described browser by the javascript extended method that described browser is corresponding
Interior dynamic base, and call interface function corresponding in described dynamic base;
Control instruction transmitting element, for by interface function corresponding in described dynamic base, sending out described broadcasting control instruction
Deliver to media play process, by described media play process according to described broadcasting control instruction, call the broadcasting that player is corresponding
Interface function plays out operation.
Terminal the most according to claim 4, it is characterised in that the interface function in described dynamic base is by socket mode
Described broadcasting control instruction is sent to described media play process.
Terminal the most according to claim 4, it is characterised in that
Described command reception module, is additionally operable to receive user and exits the instruction of described browser.
7. according to the terminal according to any one of claim 4-6, it is characterised in that also include:
Load-on module, for when browser starts, loads described dynamic base in a browser.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210093664.8A CN102665137B (en) | 2012-04-01 | 2012-04-01 | Control method and the terminal of media player |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210093664.8A CN102665137B (en) | 2012-04-01 | 2012-04-01 | Control method and the terminal of media player |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102665137A CN102665137A (en) | 2012-09-12 |
CN102665137B true CN102665137B (en) | 2016-12-14 |
Family
ID=46774528
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210093664.8A Expired - Fee Related CN102665137B (en) | 2012-04-01 | 2012-04-01 | Control method and the terminal of media player |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102665137B (en) |
Families Citing this family (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103108242B (en) * | 2012-12-19 | 2015-09-30 | 四川长虹电器股份有限公司 | A kind of method solving the application of intelligent television video class and television video conflict |
CN103702190A (en) * | 2013-12-12 | 2014-04-02 | 乐视网信息技术(北京)股份有限公司 | Intelligent terminal and method for controlling video client by same |
CN105792002B (en) * | 2014-12-18 | 2019-07-02 | 广州市动景计算机科技有限公司 | Video Rendering method and device |
CN105791994B (en) * | 2014-12-25 | 2019-09-06 | 深圳Tcl数字技术有限公司 | Webkit browser video playing method and device based on Android system |
CN105681841B (en) * | 2015-12-30 | 2018-05-29 | 广东欧珀移动通信有限公司 | A kind of video playing control method and system based on browser |
CN107547944A (en) * | 2016-06-27 | 2018-01-05 | 中兴通讯股份有限公司 | Interface realizing method and device, set top box |
CN107920098B (en) * | 2016-10-09 | 2019-04-02 | 视联动力信息技术股份有限公司 | A kind of method and system that web player icon is shown |
CN107066295B (en) * | 2017-03-30 | 2021-06-04 | 海信视像科技股份有限公司 | Method and equipment for loading plug-in of terminal network application based on browser |
CN111124529A (en) * | 2019-11-21 | 2020-05-08 | 杭州米络星科技(集团)有限公司 | Video screen projection method based on PPAPI (Peer-to-Peer display and Peer display) plug-in technology of browser |
CN111818361A (en) * | 2020-09-15 | 2020-10-23 | 平安国际智慧城市科技股份有限公司 | Method for controlling streaming media service interaction, WEB client device and system |
CN114070838B (en) * | 2022-01-12 | 2022-11-22 | 北京智象信息技术有限公司 | Method and device for controlling voice playing sound ray overlapping of intelligent sound box based on JS |
CN115396721B (en) * | 2022-08-26 | 2024-01-23 | 四川长虹电器股份有限公司 | Video playing method based on hbttv broadband connection |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101247344A (en) * | 2008-03-28 | 2008-08-20 | 中国电信股份有限公司 | Access method supporting multiple IPTV services platform and IPTV terminal unit |
CN101365124A (en) * | 2008-10-09 | 2009-02-11 | 中国电信股份有限公司 | Method, system and set-top box for network television video play control |
CN101478669A (en) * | 2008-08-29 | 2009-07-08 | 百视通网络电视技术发展有限责任公司 | Media playing control method based on browser on IPTV system |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102625182A (en) * | 2012-03-31 | 2012-08-01 | 百视通网络电视技术发展有限责任公司 | Method and system for integrating and controlling video player in Connected TV |
-
2012
- 2012-04-01 CN CN201210093664.8A patent/CN102665137B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101247344A (en) * | 2008-03-28 | 2008-08-20 | 中国电信股份有限公司 | Access method supporting multiple IPTV services platform and IPTV terminal unit |
CN101478669A (en) * | 2008-08-29 | 2009-07-08 | 百视通网络电视技术发展有限责任公司 | Media playing control method based on browser on IPTV system |
CN101365124A (en) * | 2008-10-09 | 2009-02-11 | 中国电信股份有限公司 | Method, system and set-top box for network television video play control |
Also Published As
Publication number | Publication date |
---|---|
CN102665137A (en) | 2012-09-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102665137B (en) | Control method and the terminal of media player | |
CN111510781A (en) | Display device standby control method and display device | |
CN102572569B (en) | Set top box, internet television and method for processing intelligent control signals | |
CN104902316B (en) | Method, device, intelligent sound box and the mobile terminal of synchronous reproduction time | |
CN104168263B (en) | A kind of server and its alarm clock implementing method | |
CN105023593A (en) | Terminal audio playing method, terminal audio playing device and terminal | |
GB0816271D0 (en) | Communication system and method | |
CN108810630A (en) | A kind of standby startup method of smart television, smart television and storage medium | |
CN102956097A (en) | Control system and control method for intelligent bluetooth toilet | |
CN103809874A (en) | Interaction control system and method aiming at intelligent terminal | |
CN104202663A (en) | Method for starting application program through one key of remote controller in android set top box | |
CN106341546A (en) | Audio playing method, device and mobile terminal | |
CN104219544B (en) | The dynamic dispatching method and system of IPTV service resource | |
CN109364477A (en) | Play Mah-Jong the method and device of game based on voice control | |
CN102364958A (en) | Set-top box used by a plurality of users and starting method thereof | |
CN109473109A (en) | Data processing method, device and computer readable storage medium | |
CN104883613B (en) | A kind of method that TV is waken up by network-termination device | |
CN201860397U (en) | Television with Bluetooth control module | |
CN101600068A (en) | A kind of implementation method of change of man-machine interface of television | |
CN111263223A (en) | Media volume adjusting method and display device | |
CN106376000B (en) | The smart machine control method of integration description file | |
CN102843598A (en) | Browser interaction method for smart television | |
CN103377671A (en) | Remote control method and system, and mobile device using remote control method | |
CN202696600U (en) | System for realizing digital television swinging through Bluetooth | |
CN202503622U (en) | Set-top box, Internet television and processing system of intelligent control signal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20161214 |