CN104243668B - A kind of video played in full screen method and device based on Android operation system - Google Patents

A kind of video played in full screen method and device based on Android operation system Download PDF

Info

Publication number
CN104243668B
CN104243668B CN201310235109.9A CN201310235109A CN104243668B CN 104243668 B CN104243668 B CN 104243668B CN 201310235109 A CN201310235109 A CN 201310235109A CN 104243668 B CN104243668 B CN 104243668B
Authority
CN
China
Prior art keywords
control
video
mobile terminal
screen
played
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.)
Active
Application number
CN201310235109.9A
Other languages
Chinese (zh)
Other versions
CN104243668A (en
Inventor
梁捷
何小鹏
俞永福
朱顺炎
马妙魁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba China Co Ltd
Original Assignee
Guangzhou Dongjing Computer Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Guangzhou Dongjing Computer Technology Co Ltd filed Critical Guangzhou Dongjing Computer Technology Co Ltd
Priority to CN201310235109.9A priority Critical patent/CN104243668B/en
Publication of CN104243668A publication Critical patent/CN104243668A/en
Application granted granted Critical
Publication of CN104243668B publication Critical patent/CN104243668B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention provides a kind of video played in full screen method based on Android operation system, including: after receiving the full frame instruction of entrance, from acquisition for mobile terminal mobile terminal screen relative to the side-play amount of datum mark webpage view control;Side-play amount according to described acquisition and the width of described mobile terminal screen and height, be stretched to the screen coincident with mobile terminal by the broadcast interface of described video views control;Wherein, described webpage view control shows for web page contents, and described video views control shows for video content, and described video views control is in described webpage view control.Utilize the method, so that user is when carrying out the full frame switching of video, there is no any time delay, it is not necessary to wait that can be achieved with seamless switching is screen mode toggle.

Description

A kind of video played in full screen method and device based on Android operation system
Technical field
The present invention relates to mobile video and play field, particularly to a kind of video played in full screen based on Android operation system Method and device.
Background technology
At present, along with improving and the development of HTML5 technology of the mobile communication equipment performances such as mobile phone, browse at mobile terminal The demand realizing video playback capability in device becomes more and more obvious.Therefore, numerous browser manufacturers the most gradually support HTML5 video playback, allows browser have the function of video player.
Browser kernel is responsible for loading webpage, showing and the part of execution of JS, is the core of browser. Webpage kernel includes the typesetting engine for web page element typesetting.When HTML5 video play by browser, video is actually net One node of page, size and location is controlled by browser typesetting engine.The web page joint of video is saved by browser as common Point is treated.Therefore, generally, video area is intended only as a part of webpage and shows, can't be displayed in full screen, User, except seeing video, also seen is other element of webpage.View is for the control shown in Android operation system, It is referred to as view control.
But, because mobile phone screen is relatively small at present, if user watches HTML5 video and wants to have preferably experience, The full frame function of video can be utilized, allow video area be paved with whole mobile phone screen.
At present, implementation Android operation system entering HTML5 video full frame mainly has two kinds:
The first, when video needs to enter full frame, can create the dialog box of a full screen display, then display video View(VideoView, lower be referred to as video views control) remove out, then this video views from old View tree Control adds in dialog box.
The second, when video needs to enter full frame, at the View(WebView of display webpage, lower referred to as webpage view control Part) one View being displayed in full screen of top interpolation, then video views control is removed out from old View tree, then This video views control adds on the View of full screen display.
Other implementation is all similar with both above mode.
But, these implementations have the most serious defect.Because, under the mechanism of existing Android operation system, when When video views control is removed from View tree, will necessarily lose buffered data (system mechanism reason), this has resulted in often Secondary carrying out full frame switching in video display process, video all must buffer again, then user needs to wait for after full frame switching Tens seconds or tens of second, could again watch video.This Consumer's Experience is very poor, but also wastes the flow of user.Mesh All browsers in front Android operation system, the full frame switching of video is required for again buffering.
Summary of the invention
An object of the present invention is to provide a kind of video played in full screen method based on Android operation system, to solve mesh The problem that browser in front Android operation system carries out being required for again buffers video data during the full frame switching of video.
It is a further object of the present invention to provide a kind of video played in full screen device based on Android operation system, to solve mesh The problem that browser in front Android operation system carries out being required for again buffers video data during the full frame switching of video.
It is a further object of the present invention to provide a kind of Wireless Telecom Equipment, this equipment can solve current Android operation system On browser carry out video full frame switching time be required for again buffers video data problem.
According to an aspect of the present invention, a kind of video played in full screen method based on Android operation system, including:
After receiving the full frame instruction of entrance, from acquisition for mobile terminal mobile terminal screen relative to webpage view control The side-play amount of datum mark;
Side-play amount according to described acquisition and the width of described mobile terminal screen and height, by described video views control Broadcast interface is stretched to the screen coincident with mobile terminal;
Wherein, described webpage view control shows for web page contents, and described video views control shows for video content Show, and described video views control is in described webpage view control.
According to a further aspect in the invention, a kind of video played in full screen device based on Android operation system, including:
Side-play amount acquiring unit, for after receiving the full frame instruction of entrance, from acquisition for mobile terminal mobile terminal screen Side-play amount relative to webpage view control datum mark;
Draw unit, according to the side-play amount of described acquisition and the width of described mobile terminal screen and height, by described video The broadcast interface of view control is stretched to the screen coincident with mobile terminal;
Wherein, described webpage view control shows for web page contents, and described video views control shows for video content Show, and described video views control is in described webpage view control.
According to a further aspect in the invention, it is provided that a kind of Wireless Telecom Equipment, comprise above-mentioned based on Android operation system Video played in full screen device.
The video played in full screen method and device based on Android operation system that the present invention provides can optimize user clear Look at and view and admire the broadcasting of video on device and experience.Using technical scheme, user, when carrying out the full frame switching of video, does not appoint When prolong, it is not necessary to wait that can be achieved with seamless switching is screen mode toggle.And solve and reload the buffered data of loss and consumed The problem taking added flow.
In order to realize above-mentioned and relevant purpose, one or more aspects of the present invention include will be explained in below and The feature particularly pointed out in claim.Description below and accompanying drawing are described in detail some illustrative aspects of the present invention. But, some modes in the various modes of the principle that only can use the present invention of these aspects instruction.Additionally, the present invention It is intended to include all these aspect and their equivalent.
Accompanying drawing explanation
According to the following detailed description carried out referring to the drawings, the above and other objects, features and advantages of the present invention will become Must become apparent from.In the accompanying drawings:
Fig. 1 shows that the video played in full screen method based on Android operation system according to the first embodiment of the present invention regards Frequently the flow chart of player method;
Fig. 2 shows video played in full screen method based on Android operation system according to the second embodiment of the present invention Flow chart;
Fig. 3 A shows video played in full screen method based on Android operation system according to the third embodiment of the invention Enter full frame flow chart;
Fig. 3 B shows video played in full screen method based on Android operation system according to the third embodiment of the invention Exit full frame flow chart;
Fig. 4 shows a kind of based on Android operation system the video played in full screen device that fourth embodiment of the invention provides The block diagram of 400;
Fig. 5 shows the block diagram of a kind of Wireless Telecom Equipment that fifth embodiment of the invention provides;
The most identical label indicates similar or corresponding feature or function.
Detailed description of the invention
A kind of video played in full screen device video playback side based on Android operation system disclosed by the invention is described below Method and the various aspects of device.It is to be understood that teaching herein specifically can embody with varied form, and at this Any concrete structure disclosed herein, function or both are the most representational.Based on teaching herein, those skilled in the art It is to be understood that one aspect disclosed herein can realize independent of any other side, and in these aspects Two or more aspects can combine in various manners.It is, for example possible to use any number of the aspects set forth herein, real Show device or put into practice method.Further, it is possible to use other structure, function or except one or more aspects described herein Outside or be not the 26S Proteasome Structure and Function of one or more aspects described herein, it is achieved this device or put into practice this method. Additionally, any aspect described herein can include at least one element of claim.
Before not using the present invention program, due to the restriction of Android operation system mechanism, user is either from non-full frame switching For full frame, or switching to non-full frame from full frame, video views control removing from View tree all can cause video data weight New loading, needs to wait ten seconds or longer time, this is difficult to stand and unnecessary for user.If one regards The playout length of frequency only has one or two minute, but user has taken the time of tens seconds and waited, this can allow user feel It is difficult to accept.Meanwhile, since it is desired that again buffer, waste the flow of user.
In order to solve problems of the prior art, the present invention is as net using video views control (VideoView) One child node of page view control (WebView), namely adds video views control in webpage view control.Work as needs When entrance video is full frame, calculates the scrolling position of current web page view control, then allow video views control at this scrolling position On stretch, the broadcast interface of video views control is stretched to the screen coincident with mobile terminal.This implementation without Must be removed from View tree by video views control and add in a new View, therefore, video will not buffer again.User Video playback can be carried out immediately, it is not necessary to wait after carrying out full frame switching.
Each embodiment of the present invention is described below with reference to accompanying drawings.
First embodiment
Fig. 1 shows that the video played in full screen device based on Android operation system according to the first embodiment of the present invention regards Frequently the flow chart of player method, wherein, the method is moved by being arranged on video played in full screen device based on Android operation system Browser client program in terminal performs.
As it is shown in figure 1, a kind of video played in full screen device based on Android operation system, it is used for controlling webpage view control With video views control, described video views control is the child node of webpage view control, and described method includes:
In step s 110, receive entrance full frame instruction after, from acquisition for mobile terminal mobile terminal screen relative to The side-play amount of datum mark in webpage view control.
Specifically, after what browser client received that user sends enters full frame instruction, from browser of mobile terminal Kernel obtains described mobile terminal screen relative to the side-play amount of datum mark in webpage view control.In browser of mobile terminal Core utilize its scrollview object record webpage view control self-starting after described mobile terminal screen relative to webpage view The side-play amount of control datum mark.
The datum mark of the mobile terminal screen i.e. top left corner apex of mobile phone screen in an example of the present invention.
In the step s 120, according to the side-play amount of described acquisition and the width of described mobile terminal screen and height, by described The broadcast interface of video views control is stretched to the screen coincident with mobile terminal;
Specifically, described side-play amount includes that X-coordinate value and Y-coordinate value, described coordinate figure are based on described video web page The top left corner apex of control is that the coordinate system that initial point is set up determines, and according to the side-play amount of described acquisition and described movement The width of terminal screen and height, be stretched to the interface boundary of described video views control the screen border with mobile terminal and overlap bag Include: the coordinate of the top left corner apex of described video views control is respectively set to the X-coordinate value in described side-play amount and Y coordinate Value;Respectively by the width of described video views control and high width and the height being set to mobile terminal screen;And according to set The coordinate of video views control top left corner apex and width are high, repaint described video and regard in described video web page control interfaces Figure control interfaces.
In an example of the present invention, the browser View.setLayoutParam function by calling system, and with Wide and a height of parameter of described side-play amount and described mobile terminal screen makes the broadcast interface of described video views control draw Extend the screen coincident with mobile terminal.
Wherein it is desired to explanation is that described webpage view control shows for web page contents, described video views control is used Show in video content, and described video views control is in described webpage view control.
In a preferred embodiment, before step S110, browser client is receiving the video that user sends After program request instruction, described video views control is joined in described webpage view control by browser client.
In a preferred embodiment, after step S120, the method also includes hiding described video views control phase Close control.
In a preferred embodiment, after step S120, the method also includes shielding described video views control phase Close function.
According to the video broadcasting method of first embodiment, after user carries out full frame switching, browser client need not weight Newly load video data, just can carry out video playback immediately.Not only there is no time delay, and there is no extra flow.
Second embodiment
Fig. 2 shows video played in full screen method based on Android operation system according to the second embodiment of the present invention Flow chart.Wherein, the method is performed by being arranged on browser client program based on Android operation system.This embodiment step The most identical with each step in first embodiment, except for the difference that, also include after step S120:
Step S130, after receiving and exiting full frame instruction, obtains described video views control from described browser kernel The datum mark of part is relative to the original offset amount of the datum mark of described video web page control and original wide high level;And according to institute State the datum mark of video views control relative to the original offset amount of the datum mark of described video web page control and original wide height Value, position before described video views control position in described webpage view control is moved back into stretching by described video The wide height of view control is set to original wide high level.
Specifically, after what browser client received that user sends exits full frame instruction, Query Browser kernel record, Described video views control coordinate according to described browser kernel record is relative to the original offset of described webpage view control Amount and the former width of described video views control and former height, the most described video views control is at described webpage view control In position be moved back into the position before stretching;And respectively by the width of described video views control and high be set to be recorded described in The former width of mobile terminal screen and former height.
Video played in full screen device according to a second embodiment of the present invention, after user sends and exits full frame instruction, browses Device client directly according to the described video views control coordinate of record relative to the original offset amount of described webpage view control And the former width of described video views control and former height described webpage view control is reduced to former do not switch to full frame before Position and size, it is not necessary to reload video data, it is possible to carry out video playback immediately.Not only there is no time delay, and do not have Extra flow.
It should be noted that the present invention provide video played in full screen device based on Android operation system be possible not only to by Browser client software realizes, it is also possible to being realized by other all kinds of client softwares, such as mobile video client end of playing back is soft Part realizes.Therefore, above-described embodiment is not limited to protection scope of the present invention to the description of the inventive method.
3rd embodiment
Fig. 3 A shows video played in full screen method based on Android operation system according to the third embodiment of the invention Enter full frame flow chart.The method includes:
In step 301, during browser client plays HTML5 video, user clicks on the full frame button of video.
In step 302, browser client listens to the click event of full frame button, and trigger action.
In step 303, calculate the scrolling position of current web page view control, thus obtain the initial point of webpage view control With the difference of the distance of the initial point of mobile phone screen (x, y), namely the initial point (top left corner apex of mobile phone screen) of mobile phone screen with Vector between the initial point (top left corner apex of webpage view control) of webpage view control (x, y).
In step 304, video views control is moved on to webpage view control (x, y) position namely make video The position of view control is that (x, y), this position is exactly the initial point of mobile phone screen, the namely top, the upper left corner of mobile phone screen The coordinate of the relative webpage view control of point.
In step 305, the width of a height of mobile phone screen of width of video views control, height are set.
Within step 306, hiding browser is likely to appear in the control above video views control, such as network address input Hurdle etc..
In step 307, the locomotive function of shielding web page.
In step 308, the zoom function of shielding web page.
In a step 309, other gesture operations of shielding web page.
In the step 310, revise the position of video views control, because webpage view control can during performing top-operation Can be subjected to displacement, (video views control y), then is moved to (x, y) position to vector to be recalculated by x.
Fig. 3 B shows video played in full screen method based on Android operation system according to the third embodiment of the invention Exit full frame flow chart.The method includes:
In step 311, during browser played in full screen HTML5 video, user click on video exit full frame by Button.
In step 312, browser listens to exit the click event of full frame button.
In step 313, calculate video views control under non-screen mode toggle relative to the tram of webpage view control and (i.e. original position, former width and former height, can inquire about wide height to the typesetting engine in browser kernel, and typesetting engine have recorded each The correct coordinates of web page element and size), i.e. entering former relative to webpage view control of video view control before screen mode toggle Position, former width and former height.
In a step 314, video views control is moved on to the original position of webpage view control.
In step 315, a height of former width of width of video views control and former height are set.
In step 316, the control that reduction browser is hidden before entering video and be full frame, such as network address input field etc..
In step 317, the locomotive function of reduction webpage.
In step 318, the zoom function of reduction webpage.
In step 319, other gesture operations of reduction webpage.
In the present embodiment, user, when carrying out the full frame switching of video, does not has any delay, therefore user without etc. Treat, can seamless switching be screen mode toggle, it is provided that give user more preferable full frame experience, and solve asking of added flow waste Topic.
4th embodiment
Fig. 4 shows a kind of based on Android operation system video played in full screen dress according to the fourth embodiment of the invention Put the block diagram of 400.
As shown in Figure 4, this video played in full screen device 400 includes
Side-play amount acquiring unit 410, for after receiving the full frame instruction of entrance, from acquisition for mobile terminal mobile terminal screen Curtain is relative to the side-play amount of webpage view control datum mark;
Draw unit 420, according to the side-play amount of described acquisition and the width of described mobile terminal screen and height, regards described Frequently the broadcast interface of view control is stretched to the screen coincident with mobile terminal;
Wherein, described webpage view control shows for web page contents, and described video views control shows for video content Show, and described video views control is in described webpage view control.
Further, it is also possible to the video played in full screen device 400 of the present embodiment is carried out various amendment.
In a preferred embodiment, described video played in full screen device 400 also includes that video views control adds unit, For receive video request program instruction after, from acquisition for mobile terminal mobile terminal screen relative to webpage view control benchmark Before the side-play amount of point,
Described video views control is joined in described webpage view control.
In a preferred embodiment, described video played in full screen device 400 also includes:
Mobile unit, is respectively set to the coordinate of the top left corner apex of described video views control in described side-play amount X-coordinate value and Y-coordinate value;
Wide height arranges unit, respectively by the width of described video views control and the high width being set to mobile terminal screen and High;And
Interface drawing unit, coordinate and width according to set video views control top left corner apex are high, at described net Page repaints described video views control interfaces in video control interface.
5th embodiment
Fifth embodiment of the invention provides a kind of Wireless Telecom Equipment 500, including at least one processor 510, at least One memorizer 520 and at least one program 530, at least one program 530 described is stored in described memorizer 520, institute State at least one program 530 to be configured to be performed following steps by described processor 510:
After receiving the full frame instruction of entrance, from acquisition for mobile terminal mobile terminal screen relative to webpage view control The side-play amount of datum mark;
Side-play amount according to described acquisition and the width of described mobile terminal screen and height, by described video views control Broadcast interface is stretched to the screen coincident with mobile terminal;
Wherein, described webpage view control shows for web page contents, and described video views control shows for video content Show, and described video views control is in described webpage view control.
Additionally, typically, mobile terminal of the present invention can be various hand-held terminal device, such as mobile phone, individual number Word assistants (PDA) etc., therefore protection scope of the present invention should not limit as certain certain types of mobile terminal.
Additionally, the method according to the invention is also implemented as the computer program performed by CPU.In this computer journey When sequence is performed by CPU, perform the above-mentioned functions limited in the method for the present invention.
Additionally, said method step and system unit can also utilize controller and make controller real for storage The computer readable storage devices of the computer program of existing above-mentioned steps or Elementary Function realizes.
In addition, it should be appreciated that computer readable storage devices as herein described (such as, memorizer) can be volatile Property memorizer or nonvolatile memory, or volatile memory and nonvolatile memory can be included.As example Son and nonrestrictive, nonvolatile memory can include read only memory (ROM), programming ROM (PROM), electrically programmable ROM(EPROM), electrically erasable programmable ROM(EEPROM) or flash memory.Volatile memory can include random access memory Memorizer (RAM), this RAM can serve as external cache.Nonrestrictive as an example, RAM can be with many The form of kind obtains, such as synchronous random access memory (DRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate SDRAM (DDR SDRAM), strengthen SDRAM(ESDRAM), synchronization link DRAM(SLDRAM) and direct Rambus RAM(DRRAM). The storage device of disclosed aspect is intended to include but not limited to the memorizer of these and other suitable type.
Those skilled in the art will also understand is that, in conjunction with the various illustrative logical blocks described by disclosure herein, list Unit, circuit and algorithm steps may be implemented as electronic hardware, computer software or a combination of both.Hard in order to clearly demonstrate Part and this interchangeability of software, it is entered by the function with regard to various exemplary components, square, unit, circuit and step Go general description.This function is implemented as software and is also implemented as hardware and depends on specifically applying and applying To the design constraint of whole system.Those skilled in the art can realize described for every kind of concrete application in every way Function, but this realization decision should not be interpreted as causing a departure from the scope of the present.
Can utilize in conjunction with various illustrative logical blocks, unit and the circuit described by disclosure herein and be designed to The following parts performing function described here realize or perform: general processor, digital signal processor (DSP), special collection Become circuit (ASIC), field programmable gate array (FPGA) or other PLD, discrete gate or transistor logic, divide Vertical nextport hardware component NextPort or any combination of these parts.General processor can be microprocessor, but alternatively, processes Device can be any conventional processors, controller, microcontroller or state machine.Processor can also be implemented as calculating equipment Combination, such as, DSP and the combination of microprocessor, multi-microprocessor, one or more microprocessor combine DSP core or any Other this configuration.
Step in conjunction with the method described by disclosure herein or algorithm can be directly contained in hardware, be held by processor In the software unit of row or in combination of the two.Software unit may reside within RAM memory, flash memory, ROM storage Device, eprom memory, eeprom memory, depositor, hard disk, removable dish, CD-ROM or known in the art any its In the storage medium of its form.Exemplary storage medium is coupled to processor so that processor can be from this storage medium Middle reading information or to this storage medium write information.In an alternative, described storage medium can be with processor collection Become together.Processor and storage medium may reside within ASIC.ASIC may reside within user terminal.A replacement In scheme, processor and storage medium can be resident in the user terminal as discrete assembly.
In one or more exemplary design, described function can be real in hardware, software, firmware or its combination in any Existing.If realized in software, then described function can be stored in computer-readable as one or more instructions or code Transmit on medium or by computer-readable medium.Computer-readable medium includes computer-readable storage medium and communication media, This communication media includes any medium contributing to that computer program is sent to another position from a position.Storage medium It can be any usable medium that can be accessed by a general purpose or special purpose computer.Nonrestrictive as an example, this computer Computer-readable recording medium can include RAM, ROM, EEPROM, CD-ROM or other optical disc memory apparatus, disk storage equipment or other magnetic Property storage device, or may be used for carrying or storage form is instruction or the required program code of data structure and can Other medium any accessed by universal or special computer or universal or special processor.Additionally, any connection can It is properly termed as computer-readable medium.Such as, if using coaxial cable, optical fiber cable, twisted-pair feeder, digital subscriber line (DSL) or the wireless technology of such as infrared ray, radio and microwave is come from website, server or other remote source send software, The most above-mentioned coaxial cable, optical fiber cable, twisted-pair feeder, DSL or the most infrared are first, the wireless technology of radio and microwave is included in The definition of medium.As used herein, disk and CD include compact disk (CD), laser disk, CD, digital versatile disc (DVD), floppy disk, Blu-ray disc, wherein disk the most magnetically reproduces data, and CD reproduces data with utilizing laser optics.On The combination stating content should also be as being included in the range of computer-readable medium.
Although content disclosed above shows the exemplary embodiment of the present invention, it should be noted that without departing substantially from power On the premise of profit requires the scope of the present invention limited, may be many modifications and revise.Real according to invention described herein Execute the function of the claim to a method of example, step and/or action to be not required to perform with any particular order.Although additionally, the present invention Element can describe or requirement with individual form, it is also contemplated that multiple, be odd number unless explicitly limited.
Although each embodiment described according to the present invention above with reference to figure is described, but people in the art Member should be appreciated that each embodiment being proposed the invention described above, it is also possible to does on the basis of without departing from present invention Go out various improvement.

Claims (13)

1. a video played in full screen method based on Android operation system, including:
After receiving the full frame instruction of entrance, from acquisition for mobile terminal mobile terminal screen relative to benchmark webpage view control The side-play amount of point;
Side-play amount according to described acquisition and the width of described mobile terminal screen and height, by the broadcast interface of video views control It is stretched to the screen coincident with mobile terminal;
Wherein, described webpage view control shows for web page contents, and described video views control shows for video content, with And described video views control is in described webpage view control.
Played in full screen method the most according to claim 1, wherein,
Described video views control is to join in described webpage view control after receiving video request program instruction.
Played in full screen method the most according to claim 1, wherein, described mobile terminal screen is relative to webpage view control The side-play amount of middle datum mark obtains from browser of mobile terminal kernel.
Played in full screen method the most according to claim 3, wherein,
Browser of mobile terminal kernel is described mobile whole after utilizing its scrollview object record webpage view control self-starting End screen is relative to the side-play amount of webpage view control datum mark.
Played in full screen method the most according to claim 1, wherein, described mobile terminal screen datum mark is mobile terminal screen The top left corner apex of curtain, the datum mark of described webpage view control is the mobile top left corner apex of webpage view control.
Played in full screen method the most according to claim 5, wherein, described side-play amount includes X-coordinate value and Y-coordinate value, institute Stating coordinate figure is to determine based on the coordinate system set up for initial point with the upper left corner of described video web page control, and
Side-play amount according to described acquisition and the width of described mobile terminal screen and height, by the interface of described video views control Border is stretched to the screen border with mobile terminal and overlaps and include:
The coordinate of the top left corner apex of described video views control is respectively set to the X-coordinate value in described side-play amount and Y sits Scale value;
Respectively by the width of described video views control and high width and the height being set to mobile terminal screen;And
Coordinate and width according to set video views control top left corner apex are high, weight in described video web page control interfaces The described video views control interfaces of new drafting.
Played in full screen method the most according to claim 1, wherein side-play amount and described movement according to described acquisition are whole The width of end screen and height, specifically wrap the screen coincident that the broadcast interface of described video views control is stretched to mobile terminal Include:
Call View.setLayoutParam function to incite somebody to action with the wide and a height of parameter of described side-play amount and described mobile terminal screen The broadcast interface of described video views control is stretched to the screen coincident with mobile terminal.
8., according to the played in full screen method according to any one of claim 1~7, also include:
Hide other view control of described mobile terminal;
Shield the part or all of function of described webpage view control.
9., according to the played in full screen method according to any one of claim 1~7, wherein, also include:
After receiving and exiting full frame instruction, from browser kernel, obtain the datum mark of described video views control relative to institute State the original offset amount of the datum mark of video web page control and original wide high level;And
Datum mark according to described video views control relative to the datum mark of described video web page control original offset amount with And original wide high level, the position before described video views control position in described webpage view control is moved back into stretching is also The wide height of described video views control is set to original wide high level.
10. a video played in full screen device based on Android operation system, described video played in full screen device includes:
Side-play amount acquiring unit is for after receiving the full frame instruction of entrance, relative from acquisition for mobile terminal mobile terminal screen Side-play amount in webpage view control datum mark;
Draw unit, according to the side-play amount of described acquisition and the width of described mobile terminal screen and height, by video views control Broadcast interface be stretched to the screen coincident with mobile terminal;
Wherein, described webpage view control shows for web page contents, and described video views control shows for video content, with And described video views control is in described webpage view control.
11. video played in full screen devices according to claim 10, wherein, also include:
Video views control adds unit, for after receiving video request program instruction, from acquisition for mobile terminal mobile terminal Before the screen side-play amount relative to webpage view control datum mark,
Described video views control is joined in described webpage view control.
12. video played in full screen devices according to claim 11, wherein, described draw unit farther includes:
Mobile unit, the X being respectively set in described side-play amount by the coordinate of the top left corner apex of described video views control sits Scale value and Y-coordinate value;
Wide height arranges unit, respectively by the width of described video views control and high width and the height being set to mobile terminal screen;With And
Interface drawing unit, coordinate and width according to set video views control top left corner apex are high, regard at described webpage Control interfaces repaints described video views control interfaces frequently.
13. 1 kinds of Wireless Telecom Equipments, comprise the video played in full screen described in any claim in claim 10~12 Device.
CN201310235109.9A 2013-06-14 2013-06-14 A kind of video played in full screen method and device based on Android operation system Active CN104243668B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310235109.9A CN104243668B (en) 2013-06-14 2013-06-14 A kind of video played in full screen method and device based on Android operation system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310235109.9A CN104243668B (en) 2013-06-14 2013-06-14 A kind of video played in full screen method and device based on Android operation system

Publications (2)

Publication Number Publication Date
CN104243668A CN104243668A (en) 2014-12-24
CN104243668B true CN104243668B (en) 2016-12-28

Family

ID=52230991

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310235109.9A Active CN104243668B (en) 2013-06-14 2013-06-14 A kind of video played in full screen method and device based on Android operation system

Country Status (1)

Country Link
CN (1) CN104243668B (en)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104574491A (en) * 2015-01-20 2015-04-29 成都品果科技有限公司 Multi-lattice special effect rendering method and system based on mobile terminal platform
CN105589696B (en) * 2015-12-22 2019-06-04 武汉斗鱼网络科技有限公司 A kind of exchange method and interactive device of clog-free full frame viewing video image
CN105847996A (en) 2016-05-25 2016-08-10 腾讯科技(深圳)有限公司 Video playing method and apparatus
CN106528163B (en) * 2016-11-23 2019-09-06 武汉斗鱼网络科技有限公司 A kind of page switching method and device
CN106681676A (en) * 2016-12-20 2017-05-17 天脉聚源(北京)传媒科技有限公司 Device and method for solving full screen functional fault
CN106919707B (en) * 2017-03-10 2020-04-07 腾讯科技(深圳)有限公司 Page display method and terminal based on H5
CN106878810A (en) * 2017-03-13 2017-06-20 福建中金在线信息科技有限公司 A kind of video broadcasting method and device
CN107197387B (en) * 2017-05-31 2020-04-24 聚好看科技股份有限公司 Method and device for displaying video information on webpage in time-sharing manner
CN107220356A (en) * 2017-06-02 2017-09-29 山大鲁能信息科技有限公司 The webpage fit method and its system of a kind of mobile phone terminal
CN109218831B (en) * 2018-11-26 2021-04-20 Oppo广东移动通信有限公司 Video playing down webpage processing method, electronic device and computer readable storage medium
CN109640158B (en) * 2019-02-02 2021-03-02 北京字节跳动网络技术有限公司 Control method, device, equipment and medium for video playing
CN111757164B (en) * 2020-07-29 2022-08-26 北京百度网讯科技有限公司 Video playing switching method and device, electronic equipment and storage medium
CN114173052A (en) * 2020-09-10 2022-03-11 西安诺瓦星云科技股份有限公司 Video processing method, video processing device and video processing equipment
CN112527165A (en) * 2020-12-16 2021-03-19 Oppo广东移动通信有限公司 Method, device and equipment for adjusting interface display state and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120092381A1 (en) * 2010-10-19 2012-04-19 Microsoft Corporation Snapping User Interface Elements Based On Touch Input
US9792363B2 (en) * 2011-02-01 2017-10-17 Vdopia, INC. Video display method
CN102905181B (en) * 2012-10-12 2015-10-21 北京奇艺世纪科技有限公司 A kind of methods, devices and systems realizing the online displaying video of mobile terminal

Also Published As

Publication number Publication date
CN104243668A (en) 2014-12-24

Similar Documents

Publication Publication Date Title
CN104243668B (en) A kind of video played in full screen method and device based on Android operation system
CN106951148B (en) Page switching method and device
US9721374B2 (en) Chart animation
US8610724B2 (en) Systems and methods for webpage adaptive rendering
CN107277641A (en) A kind of processing method and client of barrage information
AU2014308633B2 (en) Swipe toolbar to switch tabs
WO2016082586A1 (en) Webpage update method and apparatus
CN111770288B (en) Video editing method, device, terminal and storage medium
CN103986962A (en) Method and system for displaying suspended playing window
CN103593333B (en) A kind of processing method, terminal and the electronic equipment of e-book document
CN110070593B (en) Method, device, equipment and medium for displaying picture preview information
US20190230311A1 (en) Video interface display method and apparatus
CN104571877A (en) Display processing method and device for pages
CN110007829B (en) Content display method, device, terminal and storage medium
US20190378319A1 (en) Virtual scene display method and apparatus, and storage medium
CN109086105B (en) Page layout conversion method and device and electronic equipment
KR20080082119A (en) Mobile communication terminal and method of reproducing moving picture provided by webpage in mobile communication terminal
US20240118794A1 (en) Control display method, apparatus, and device, and medium
US11941728B2 (en) Previewing method and apparatus for effect application, and device, and storage medium
US9076489B1 (en) Circular timeline for video trimming
JP5010605B2 (en) Event processing device
CN109343770B (en) Interactive feedback method, apparatus and recording medium
CN111428455B (en) Form management method, device, equipment and storage medium
CN105491440A (en) Application method for playing control, terminal and server
CN115460448A (en) Media resource editing method and device, electronic equipment and storage medium

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20200529

Address after: 310051 room 508, floor 5, building 4, No. 699, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province

Patentee after: Alibaba (China) Co.,Ltd.

Address before: 510665, Guangdong, Guangzhou, Tianhe District rhyme Road, No. 16, building B, 3 floor of the legal department

Patentee before: GUANGZHOU UCWEB COMPUTER TECHNOLOGY Co.,Ltd.