CN104243668A - Video full-screen playing method and device based on Android operating system - Google Patents
Video full-screen playing method and device based on Android operating system Download PDFInfo
- Publication number
- CN104243668A CN104243668A CN201310235109.9A CN201310235109A CN104243668A CN 104243668 A CN104243668 A CN 104243668A CN 201310235109 A CN201310235109 A CN 201310235109A CN 104243668 A CN104243668 A CN 104243668A
- Authority
- CN
- China
- Prior art keywords
- control
- mobile terminal
- video
- screen
- wide
- 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.)
- Granted
Links
Landscapes
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention provides a video full-screen playing method based on an Android operating system. The method includes the steps that after a full-screen entering instruction is received, the offset of a mobile terminal screen relative to a datum point in a webpage view control is obtained from a mobile terminal; according to the obtained offset and the width and the height of the mobile terminal screen, the playing interface of a video view control is stretched to coincide with the mobile terminal screen; the webpage view control is used for displaying webpage content, the video view control is used for displaying video content, and the video view control is located in the webpage view control. With the method, no time delay is caused when a user performs full-screen switching on a video, and the video can be seamlessly switched to be in a full-screen mode without waiting.
Description
Technical field
The present invention relates to mobile video and play field, particularly a kind of video played in full screen method based on Android operation system and device.
Background technology
At present, along with the raising of the mobile communication equipment performances such as mobile phone and the development of HTML5 technology, the demand realizing video playback capability in browser of mobile terminal becomes more and more obvious.Therefore, numerous browser manufacturer all supports HTML5 video playback gradually, the function of video player that allowed browser have.
Browser kernel is responsible for loading webpage, show and the part of execution of JS, is the core of browser.Webpage kernel comprises the typesetting engine for web page element typesetting.When HTML5 video play by browser, video is actually a node of webpage, and size and position are controlled by browser typesetting engine.The web page joint of video is used as ordinary node and is treated by browser.Therefore, generally, video area just shows as a part of webpage, and can't be displayed in full screen, user, except seeing video, also sees other element of webpage.View is control Android operation system being used for show, and is referred to as view control.
But, because mobile phone screen is relatively little at present, wants to have good experience if user watches HTML5 video, all can utilize the full frame function of video, allow video area be paved with whole mobile phone screen.
At present, Android operation system enters the full frame implementation of HTML5 video and mainly contains two kinds:
The first, when video needs to enter full frame, the dialog box of a full screen display can be created, then the View(VideoView of display video, under be called video views control) remove out from old View sets, then this video views control to be added in dialog box.
The second, when video needs to enter full frame, at the View(WebView of display web page, under be called webpage view control) top add one full screen display View, then video views control is removed out from old View sets, then this video views control is added on the View of full screen display.
All with above two kinds of modes are similar for other implementation.
But these implementations have very serious defect.Because, under the mechanism of existing Android operation system, when video views control is removed from View tree, buffered data (system mechanism reason) will inevitably be lost, this just causes and in video display process, carries out full frame switching at every turn, video all must cushion again, and so user needs wait tens seconds or tens of second after full frame switching, again could watch video.This Consumer's Experience is very poor, but also wastes the flow of user.All browsers in current Android operation system, the full frame switching of video all needs again to cushion.
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, carries out with the browser solved in current Android operation system the problem all needing again buffers video data when video is full frame to be switched.
Another object of the present invention is to provide a kind of video played in full screen device based on Android operation system, carries out with the browser solved in current Android operation system the problem all needing again buffers video data when video is full frame to be switched.
Another object of the present invention is to provide a kind of Wireless Telecom Equipment, and this equipment browser that can solve in current Android operation system carries out the problem all needing again buffers video data when video is full frame to be switched.
According to an aspect of the present invention, a kind of video played in full screen method based on Android operation system, comprising:
After receiving and entering full frame instruction, from the side-play amount of acquisition for mobile terminal mobile terminal screen relative to datum mark webpage view control;
According to the side-play amount of described acquisition and the wide and high of described mobile terminal screen, the broadcast interface of described video views control is stretched to the screen coincident with mobile terminal;
Wherein, described webpage view control is used for web page contents display, and described video views control is used for video content display, 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, comprising:
Side-play amount acquiring unit, for after receiving and entering full frame instruction, from the side-play amount of acquisition for mobile terminal mobile terminal screen relative to webpage view control datum mark;
Draw unit, according to the side-play amount of described acquisition and the wide and high of described mobile terminal screen, is stretched to the screen coincident with mobile terminal by the broadcast interface of described video views control;
Wherein, described webpage view control is used for web page contents display, and described video views control is used for video content display, and described video views control is in described webpage view control.
According to a further aspect in the invention, provide a kind of Wireless Telecom Equipment, comprise the above-mentioned video played in full screen device based on Android operation system.
Video played in full screen method based on Android operation system provided by the invention and device can be experienced in the optimizing user broadcasting of viewing and admiring video on a web browser.Use technical scheme of the present invention, user when carrying out the full frame switching of video, without any time delay, without the need to waiting for that just can realize seamless switching is screen mode toggle.And solve reload loss buffered data spent by the problem of added flow.
In order to realize above-mentioned and relevant object, will describe in detail and the feature particularly pointed out in the claims after one or more aspect of the present invention comprises.Explanation below and accompanying drawing describe some illustrative aspects of the present invention in detail.But what these aspects indicated is only some modes that can use in the various modes of principle of the present invention.In addition, the present invention is intended to comprise all these aspects and their equivalent.
Accompanying drawing explanation
According to following detailed description of carrying out with reference to accompanying drawing, above and other object of the present invention, feature and advantage will become more apparent.In the accompanying drawings:
Fig. 1 shows the flow chart of the video played in full screen method video broadcasting method based on Android operation system according to the first embodiment of the present invention;
Fig. 2 shows the flow chart of the video played in full screen method based on Android operation system according to a second embodiment of the present invention;
The video played in full screen method based on Android operation system that according to the third embodiment of the invention Fig. 3 A shows enters full frame flow chart;
The video played in full screen method based on Android operation system that according to the third embodiment of the invention Fig. 3 B shows exits full frame flow chart;
Fig. 4 shows the block diagram of a kind of video played in full screen device 400 based on Android operation system that fourth embodiment of the invention provides;
Fig. 5 shows the block diagram of a kind of Wireless Telecom Equipment that fifth embodiment of the invention provides;
Label identical in all of the figs indicates similar or corresponding feature or function.
Embodiment
The following describes disclosed by the invention a kind of based on the video played in full screen device video broadcasting method of Android operation system and the various aspects of device.It is to be understood that instruction herein can with varied form imbody, and in this article disclosed any concrete structure, function or both be only representational.Based on instruction herein, those skilled in the art are it is to be understood that an aspect disclosed herein can realize independent of any other side, and the two or more aspects in these aspects can combine according to various mode.Such as, aspect, implement device or the hands-on approach of any number described in this paper can be used.In addition, other structure, function or except one or more aspect described in this paper or be not the 26S Proteasome Structure and Function of one or more aspect described in this paper can be used, realize this device or put into practice this method.In addition, any aspect described herein can comprise at least one element of claim.
Before not using the present invention program, due to the restriction of Android operation system mechanism, user be no matter from non-full frame switch to full frame, or from full frame switch to non-full frame, video views control all can cause video data to reload from removing View tree, need wait ten seconds or longer time, this is concerning being difficult to user to stand and unnecessary.If the playout length of a video only has one or two minute, but the time that user has taken tens seconds wait for, this can allow user feel to be difficult to accept.Meanwhile, because need again to cushion, the flow of user is wasted.
In order to solve problems of the prior art, the present invention is using the child node of video views control (VideoView) as webpage view control (WebView), is namely added in webpage view control by video views control.When needs enter video full frame time, calculate the scrolling position of current web page view control, then allow video views control stretch on this scrolling position, the broadcast interface of video views control is stretched to the screen coincident with mobile terminal.Video views control need not be removed and add in a new View by this implementation from View tree, and therefore, video can not cushion again.Video playback can be carried out immediately, without the need to waiting for after user carries out full frame switching.
Each embodiment of the present invention is described below with reference to accompanying drawings.
first embodiment
Fig. 1 shows the flow chart of the video played in full screen device video broadcasting method based on Android operation system according to the first embodiment of the present invention, wherein, the method performs based on the browser client program in the video played in full screen device mobile terminal of Android operation system by being arranged on.
As shown in Figure 1, a kind of video played in full screen device based on Android operation system, for controlling webpage view control and video views control, described video views control is the child node of webpage view control, and described method comprises:
In step s 110, after receiving and entering full frame instruction, from the side-play amount of acquisition for mobile terminal mobile terminal screen relative to datum mark webpage view control.
Particularly, after what browser client received that user sends enter full frame instruction, from browser of mobile terminal kernel, the side-play amount of described mobile terminal screen relative to datum mark in webpage view control is obtained.Browser of mobile terminal kernel to utilize after its scrollview object record webpage view control self-starting described mobile terminal screen relative to the side-play amount of webpage view control datum mark.
The datum mark of mobile terminal screen and the 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 wide and high of described mobile terminal screen, the broadcast interface of described video views control is stretched to the screen coincident with mobile terminal;
Particularly, described side-play amount comprises X-coordinate value and Y-coordinate value, described coordinate figure determines based on the coordinate system set up for initial point with the top left corner apex of described video web page control, and according to the side-play amount of described acquisition and the wide and high of described mobile terminal screen, being stretched to by the interface boundary of described video views control overlaps with the screen border of mobile terminal comprises: the coordinate of the top left corner apex of described video views control is set to respectively the X-coordinate value in described side-play amount and Y-coordinate value; Respectively the wide and high of described video views control is set to the wide and high of mobile terminal screen; And according to the coordinate of set video views control top left corner apex and wide height, in described video web page control interfaces, repaint described video views control interfaces.
In an example of the present invention, browser by the View.setLayoutParam function of calling system, and makes the broadcast interface of described video views control be stretched to the screen coincident with mobile terminal with the wide and high of described side-play amount and described mobile terminal screen for parameter.
Wherein, it should be noted that described webpage view control shows for web page contents, described video views control is used for video content display, and described video views control is in described webpage view control.
In a preferred embodiment, before step S110, browser client is after receiving the video request program instruction that user sends, and described video views control joins in described webpage view control by browser client.
In a preferred embodiment, after step S120, the method also comprises hiding described video views control related control.
In a preferred embodiment, after step S120, the method also comprises the described video views control correlation function of shielding.
According to the video broadcasting method of the first embodiment, after user carries out full frame switching, browser client does not need to reload 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 the flow chart of the video played in full screen method based on Android operation system according to a second embodiment of the present invention.Wherein, the method is performed by the browser client program be arranged on based on Android operation system.This embodiment step is all identical with each step in the first embodiment, unlike, also comprise after step S120:
Step S130, after receiving and exiting full frame instruction, the datum mark obtaining described video views control from described browser kernel 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 the datum mark of described video views control relative to the original offset amount of the datum mark of described video web page control and original wide high level, the wide height of described video views control is also set to original wide high level by the position before the position of described video views control in described webpage view control is moved back into stretching.
Particularly, after what browser client received that user sends exit full frame instruction, Query Browser kernel record, according to the original offset amount of described video views control coordinate relative to described webpage view control and the former wide and former height of described video views control of described browser kernel record, the position before then the position of just described video views control in described webpage view control is moved back into stretching; And respectively the wide and high of described video views control is set to the former wide of recorded described 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, browser 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 wide and former height of described video views control described webpage view control is reduced to former be not switched to full frame before position and size, do not need to reload video data, video playback can be carried out immediately.Not only there is no time delay, and there is no extra flow.
It should be noted that, the video played in full screen device based on Android operation system provided by the invention not only by browser client software simulating, can also can be realized by other all kinds of client software, such as mobile video client end of playing back software simulating.Therefore, the description of above-described embodiment to the inventive method is not limited to protection scope of the present invention.
3rd embodiment
The video played in full screen method based on Android operation system that according to the third embodiment of the invention Fig. 3 A shows enters full frame flow chart.The method comprises:
In step 301, browser client is play in the process of HTML5 video, and user clicks 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 difference (x of the distance of the initial point of webpage view control and the initial point of mobile phone screen, y), vector (x, y) namely between the initial point (top left corner apex of mobile phone screen) of mobile phone screen and the initial point (top left corner apex of webpage view control) of webpage view control.
In step 304, video views control is moved on to the (x of webpage view control, y) position, namely make the position of video views control for (x, y), this position is just in time the initial point of mobile phone screen, namely the coordinate of the relative webpage view control of the top left corner apex of mobile phone screen.
In step 305, the wide height arranging video views control is the wide, high of mobile phone screen.
Within step 306, hiding browser may appear at the control above video views control, such as network address input field 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 may be subjected to displacement during performing top-operation, therefore will recalculate vector (x, y), then video views control is moved to (x, y) position.
The video played in full screen method based on Android operation system that according to the third embodiment of the invention Fig. 3 B shows exits full frame flow chart.The method comprises:
In step 311, in the process of browser played in full screen HTML5 video, what user clicked video exits full frame button.
In step 312, browser listens to the click event exiting full frame button.
In step 313, calculate video views control under non-screen mode toggle relative to the tram of webpage view control and wide height (i.e. original position, former wide and former height, can to the typesetting engine inquiry in browser kernel, typesetting engine have recorded correct coordinates and the size of each web page element), namely before entering screen mode toggle video view control relative to the original position of webpage view control, former wide and former height.
In a step 314, video views control is moved on to the original position of webpage view control.
In step 315, the wide height arranging video views control is former wide and former height.
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, without any delay, therefore user is also without the need to waiting for, can seamless switching be screen mode toggle, be supplied to the better full frame experience of user, and solve the problem of added flow waste.
4th embodiment
Fig. 4 shows the block diagram of a kind of video played in full screen device 400 based on Android operation system according to a fourth embodiment of the invention.
As shown in Figure 4, this video played in full screen device 400 comprises
Side-play amount acquiring unit 410, for after receiving and entering full frame instruction, from the side-play amount of acquisition for mobile terminal mobile terminal screen relative to webpage view control datum mark;
Draw unit 420, according to the side-play amount of described acquisition and the wide and high of described mobile terminal screen, is stretched to the screen coincident with mobile terminal by the broadcast interface of described video views control;
Wherein, described webpage view control is used for web page contents display, and described video views control is used for video content display, and described video views control is in described webpage view control.
In addition, various amendment can also be carried out to the video played in full screen device 400 of the present embodiment.
In a preferred embodiment, described video played in full screen device 400 also comprises video views control and adds unit, for after receiving video request program instruction, before the side-play amount of acquisition for mobile terminal mobile terminal screen relative to webpage view control datum mark
Described video views control is joined in described webpage view control.
In a preferred embodiment, described video played in full screen device 400 also comprises:
Mobile unit, is set to the X-coordinate value in described side-play amount and Y-coordinate value respectively by the coordinate of the top left corner apex of described video views control;
Wide high setting unit, is set to the wide and high of mobile terminal screen by the wide and high of described video views control respectively; And
Interface drawing unit, according to coordinate and the wide height of set video views control top left corner apex, repaints described video views control interfaces in described video web page control interfaces.
5th embodiment
Fifth embodiment of the invention provides a kind of Wireless Telecom Equipment 500, comprise at least one processor 510, at least one memory 520 and at least one program 530, at least one program 530 described is stored in described memory 520, and at least one program 530 described is configured to be performed following steps by described processor 510:
After receiving and entering full frame instruction, from the side-play amount of acquisition for mobile terminal mobile terminal screen relative to datum mark webpage view control;
According to the side-play amount of described acquisition and the wide and high of described mobile terminal screen, the broadcast interface of described video views control is stretched to the screen coincident with mobile terminal;
Wherein, described webpage view control is used for web page contents display, and described video views control is used for video content display, and described video views control is in described webpage view control.
In addition, typically, mobile terminal of the present invention can be various hand-held terminal device, such as mobile phone, PDA(Personal Digital Assistant) etc., and therefore protection scope of the present invention should not be defined as the mobile terminal of certain particular type.
In addition, the computer program performed by CPU can also be implemented as according to method of the present invention.When this computer program is performed by CPU, perform the above-mentioned functions limited in method of the present invention.
In addition, said method step and system unit also can utilize controller and realize for storing the computer readable storage devices making controller realize the computer program of above-mentioned steps or Elementary Function.
In addition, it is to be understood that computer readable storage devices as herein described (such as, memory) can be volatile memory or nonvolatile memory, or volatile memory and nonvolatile memory can be comprised.Nonrestrictive as an example, nonvolatile memory can comprise read-only memory (ROM), programming ROM (PROM), electrically programmable ROM(EPROM), electrically erasable programmable ROM(EEPROM) or flash memory.Volatile memory can comprise random-access memory (ram), and this RAM can serve as external cache.Nonrestrictive as an example, RAM can obtain in a variety of forms, 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 memory device of disclosed aspect is intended to the memory including but not limited to these and other suitable type.
Those skilled in the art will also understand is that, may be implemented as electronic hardware, computer software or both combinations in conjunction with various illustrative logical blocks, unit, circuit and the algorithm steps described by disclosure herein.In order to this interchangeability of hardware and software is clearly described, the function with regard to various exemplary components, square, unit, circuit and step has carried out general description to it.This function is implemented as software or is implemented as hardware and depends on embody rule and be applied to the design constraint of whole system.Those skilled in the art can realize described function in every way for often kind of embody rule, but this realization determines should not be interpreted as causing departing from the scope of the present invention.
The following parts being designed to perform function described here can be utilized to realize or perform in conjunction with various illustrative logical blocks, unit and the circuit described by disclosure herein: any combination of general processor, digital signal processor (DSP), application-specific integrated circuit (ASIC) (ASIC), field programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete nextport hardware component NextPort or these parts.General processor can be microprocessor, but alternatively, processor can be any conventional processors, controller, microcontroller or state machine.Processor also may be implemented as the combination of computing equipment, and such as, the combination of DSP and microprocessor, multi-microprocessor, one or more microprocessor are in conjunction with DSP core or other this configuration any.
In the software unit that step in conjunction with the method described by disclosure herein or algorithm can directly comprise within hardware, performed by processor or in the combination of both.Software unit can reside in the storage medium of RAM memory, flash memory, ROM memory, eprom memory, eeprom memory, register, hard disk, removable dish, CD-ROM or other form any known in the art.Exemplary storage medium is coupled to processor, make processor can from this storage medium reading information or to this storage medium written information.In an alternative, described storage medium can be integral to the processor together.Processor and storage medium can reside in ASIC.ASIC can be in the user terminal resident.In an alternative, processor and storage medium can be in the user terminal resident as discrete assembly.
In one or more exemplary design, described function can realize in hardware, software, firmware or its combination in any.If realized in software, then described function can be transmitted on a computer-readable medium or by computer-readable medium as one or more instruction or code storage.Computer-readable medium comprises computer-readable storage medium and communication media, and this communication media comprises any medium contributing to computer program being sent to another position from a position.Storage medium can be can by any usable medium of universal or special computer access.Nonrestrictive as an example, this computer-readable medium can comprise RAM, ROM, EEPROM, CD-ROM or other optical disc memory apparatus, disk storage device or other magnetic storage apparatus, or may be used for carrying or file layout be instruction or data structure required program code and can by other medium any of universal or special computer or universal or special processor access.In addition, any connection suitably can be called computer-readable medium.Such as, if use coaxial cable, optical fiber cable, twisted-pair feeder, the wireless technology of Digital Subscriber Line or such as infrared ray, radio and microwave is come from website, server or other remote source send software, then the wireless technology of above-mentioned coaxial cable, optical fiber cable, twisted-pair feeder, DSL or such as infrared first, radio and microwave includes the definition at medium.As used herein, disk and CD comprise compact disk (CD), laser disk, CD, digital versatile disc (DVD), floppy disk, Blu-ray disc, wherein the usual magnetically rendering data of disk, and cd-rom using laser optics ground rendering data.The combination of foregoing also should be included in the scope of computer-readable medium.
Although disclosed content shows exemplary embodiment of the present invention above, it should be noted that under the prerequisite not deviating from the scope of the present invention that claim limits, can multiple change and amendment be carried out.Need not perform with any particular order according to the function of the claim to a method of inventive embodiments described herein, step and/or action.In addition, although element of the present invention can, with individual formal description or requirement, also it is contemplated that multiple, be odd number unless explicitly limited.
Although describe each embodiment according to the present invention above with reference to figure to be described, it will be appreciated by those skilled in the art that each embodiment that the invention described above is proposed, various improvement can also be made on the basis not departing from content of the present invention.
Claims (13)
1., based on a video played in full screen method for Android operation system, comprising:
After receiving and entering full frame instruction, from the side-play amount of acquisition for mobile terminal mobile terminal screen relative to datum mark webpage view control;
According to the side-play amount of described acquisition and the wide and high of described mobile terminal screen, the broadcast interface of described video views control is stretched to the screen coincident with mobile terminal;
Wherein, described webpage view control is used for web page contents display, and described video views control is used for video content display, and described video views control is in described webpage view control.
2. played in full screen method according to claim 1, wherein,
Described video views control joins after receiving video request program instruction in described webpage view control.
3. played in full screen method according to claim 1, wherein, described mobile terminal screen obtains from browser of mobile terminal kernel relative to the side-play amount of datum mark in webpage view control.
4. played in full screen method according to claim 3, wherein,
Browser of mobile terminal kernel to utilize after its scrollview object record webpage view control self-starting described mobile terminal screen relative to the side-play amount of webpage view control datum mark.
5. played in full screen method according to claim 1, wherein, described mobile terminal screen datum mark is the top left corner apex of mobile terminal screen, and the datum mark of described webpage view control is the mobile top left corner apex of webpage view control.
6. played in full screen method according to claim 5, wherein, described side-play amount comprises X-coordinate value and Y-coordinate value, and described coordinate figure determines based on the coordinate system set up for initial point with the upper left corner of described video web page control, and
According to the side-play amount of described acquisition and the wide and high of described mobile terminal screen, being stretched to by the interface boundary of described video views control overlaps with the screen border of mobile terminal comprises:
The coordinate of the top left corner apex of described video views control is set to respectively the X-coordinate value in described side-play amount and Y-coordinate value;
Respectively the wide and high of described video views control is set to the wide and high of mobile terminal screen; And
According to coordinate and the wide height of set video views control top left corner apex, in described video web page control interfaces, repaint described video views control interfaces.
7. played in full screen method according to claim 1, wherein according to the side-play amount of described acquisition and the wide and high of described mobile terminal screen, is stretched to the broadcast interface of described video views control and specifically comprises with the screen coincident of mobile terminal:
Call View.setLayoutParam function and the broadcast interface of described video views control is stretched to the screen coincident with mobile terminal with the wide and high of described side-play amount and described mobile terminal screen for parameter.
8., according to the played in full screen method described in claim 1 ~ 7, also comprise:
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 described in claim 1 ~ 7, wherein, also comprise:
After receiving and exiting full frame instruction, the datum mark obtaining described video views control from described browser kernel 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 the datum mark of described video views control relative to the original offset amount of the datum mark of described video web page control and original wide high level, the wide height of described video views control is also set to original wide high level by the position before the position of described video views control in described webpage view control is moved back into stretching.
10., based on a video played in full screen device for Android operation system, described video played in full screen device comprises:
Side-play amount acquiring unit, for after receiving and entering full frame instruction, from the side-play amount of acquisition for mobile terminal mobile terminal screen relative to webpage view control datum mark;
Draw unit, according to the side-play amount of described acquisition and the wide and high of described mobile terminal screen, is stretched to the screen coincident with mobile terminal by the broadcast interface of described video views control;
Wherein, described webpage view control is used for web page contents display, and described video views control is used for video content display, and described video views control is in described webpage view control.
11. video play devices according to claim 10, wherein, also comprise:
Video views control adds unit, for after receiving video request program instruction, before the side-play amount of acquisition for mobile terminal mobile terminal screen relative to webpage view control datum mark,
Described video views control is joined in described webpage view control.
12. played in full screen devices according to claim 11, wherein, described draw unit comprises further:
Mobile unit, is set to the X-coordinate value in described side-play amount and Y-coordinate value respectively by the coordinate of the top left corner apex of described video views control;
Wide high setting unit, is set to the wide and high of mobile terminal screen by the wide and high of described video views control respectively; And
Interface drawing unit, according to coordinate and the wide height of set video views control top left corner apex, repaints described video views control interfaces in described video web page control interfaces.
13. 1 kinds of Wireless Telecom Equipments, comprise the video play device described in arbitrary claim in claim 11 ~ 13.
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 true CN104243668A (en) | 2014-12-24 |
CN104243668B 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) |
Cited By (14)
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 |
CN105589696A (en) * | 2015-12-22 | 2016-05-18 | 武汉斗鱼网络科技有限公司 | Interaction method and interaction device for non-blocking full screen video image watching |
CN105847996A (en) * | 2016-05-25 | 2016-08-10 | 腾讯科技(深圳)有限公司 | Video playing method and apparatus |
CN106528163A (en) * | 2016-11-23 | 2017-03-22 | 武汉斗鱼网络科技有限公司 | Page switching method and device |
CN106681676A (en) * | 2016-12-20 | 2017-05-17 | 天脉聚源(北京)传媒科技有限公司 | Device and method for solving full screen functional fault |
CN106878810A (en) * | 2017-03-13 | 2017-06-20 | 福建中金在线信息科技有限公司 | A kind of video broadcasting method and device |
CN107197387A (en) * | 2017-05-31 | 2017-09-22 | 聚好看科技股份有限公司 | Timesharing shows the method and device of video information on webpage |
CN107220356A (en) * | 2017-06-02 | 2017-09-29 | 山大鲁能信息科技有限公司 | The webpage fit method and its system of a kind of mobile phone terminal |
WO2018161811A1 (en) * | 2017-03-10 | 2018-09-13 | 腾讯科技(深圳)有限公司 | H5-based page displaying method and terminal |
CN109218831A (en) * | 2018-11-26 | 2019-01-15 | Oppo广东移动通信有限公司 | Web page processing method, electronic device and computer readable storage medium under video playing |
CN109640158A (en) * | 2019-02-02 | 2019-04-16 | 北京字节跳动网络技术有限公司 | A kind of control method of video playing, device, equipment and medium |
CN111757164A (en) * | 2020-07-29 | 2020-10-09 | 北京百度网讯科技有限公司 | 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 |
CN114546212A (en) * | 2020-12-16 | 2022-05-27 | Oppo广东移动通信有限公司 | Method, device and equipment for adjusting interface display state and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102436343A (en) * | 2010-10-19 | 2012-05-02 | 微软公司 | Snapping user interface elements based on touch input |
US20120194734A1 (en) * | 2011-02-01 | 2012-08-02 | Mcconville Ryan Patrick | Video display method |
CN102905181A (en) * | 2012-10-12 | 2013-01-30 | 北京奇艺世纪科技有限公司 | Method for realizing on-line video playing on mobile terminal, underlying library and system |
-
2013
- 2013-06-14 CN CN201310235109.9A patent/CN104243668B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102436343A (en) * | 2010-10-19 | 2012-05-02 | 微软公司 | Snapping user interface elements based on touch input |
US20120194734A1 (en) * | 2011-02-01 | 2012-08-02 | Mcconville Ryan Patrick | Video display method |
CN102905181A (en) * | 2012-10-12 | 2013-01-30 | 北京奇艺世纪科技有限公司 | Method for realizing on-line video playing on mobile terminal, underlying library and system |
Cited By (21)
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 |
CN105589696A (en) * | 2015-12-22 | 2016-05-18 | 武汉斗鱼网络科技有限公司 | Interaction method and interaction device for non-blocking full screen video image watching |
CN105847996A (en) * | 2016-05-25 | 2016-08-10 | 腾讯科技(深圳)有限公司 | Video playing method and apparatus |
US10643666B2 (en) | 2016-05-25 | 2020-05-05 | Tencent Technology (Shenzhen) Company Limited | Video play method and device, and computer storage medium |
WO2017202348A1 (en) * | 2016-05-25 | 2017-11-30 | 腾讯科技(深圳)有限公司 | Video playing method and device, and computer storage medium |
CN106528163A (en) * | 2016-11-23 | 2017-03-22 | 武汉斗鱼网络科技有限公司 | Page switching method and device |
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 |
WO2018161811A1 (en) * | 2017-03-10 | 2018-09-13 | 腾讯科技(深圳)有限公司 | H5-based page displaying method and terminal |
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 |
CN107197387A (en) * | 2017-05-31 | 2017-09-22 | 聚好看科技股份有限公司 | Timesharing shows the method and device of video information on webpage |
CN107220356A (en) * | 2017-06-02 | 2017-09-29 | 山大鲁能信息科技有限公司 | The webpage fit method and its system of a kind of mobile phone terminal |
CN109218831A (en) * | 2018-11-26 | 2019-01-15 | Oppo广东移动通信有限公司 | Web page processing method, electronic device and computer readable storage medium under video playing |
CN109640158A (en) * | 2019-02-02 | 2019-04-16 | 北京字节跳动网络技术有限公司 | A kind of control method of video playing, device, equipment and medium |
WO2020156056A1 (en) * | 2019-02-02 | 2020-08-06 | 北京字节跳动网络技术有限公司 | Video playing control method, apparatus and device, and medium |
CN111757164A (en) * | 2020-07-29 | 2020-10-09 | 北京百度网讯科技有限公司 | 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 |
CN114546212A (en) * | 2020-12-16 | 2022-05-27 | Oppo广东移动通信有限公司 | Method, device and equipment for adjusting interface display state and storage medium |
CN114546212B (en) * | 2020-12-16 | 2023-03-24 | Oppo广东移动通信有限公司 | Method, device and equipment for adjusting interface display state and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN104243668B (en) | 2016-12-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104243668A (en) | Video full-screen playing method and device based on Android operating system | |
AU2014308633B2 (en) | Swipe toolbar to switch tabs | |
US20140289058A1 (en) | Advertisement generation apparatus and terminal device | |
US11341706B2 (en) | Virtual scene display method and apparatus, and storage medium | |
CN103986962A (en) | Method and system for displaying suspended playing window | |
CN104571877A (en) | Display processing method and device for pages | |
CN101620502B (en) | Method and system for displaying information in handwriting area | |
CN110007829B (en) | Content display method, device, terminal and storage medium | |
US20190230311A1 (en) | Video interface display method and apparatus | |
WO2020220773A1 (en) | Method and apparatus for displaying picture preview information, electronic device and computer-readable storage medium | |
CN104765528A (en) | Display method and device of virtual keyboard | |
US11941728B2 (en) | Previewing method and apparatus for effect application, and device, and storage medium | |
US20240118794A1 (en) | Control display method, apparatus, and device, and medium | |
CN103702220A (en) | Video playing method and device | |
US9076489B1 (en) | Circular timeline for video trimming | |
JP2019008668A (en) | Client device, image processing system, image display method, and program | |
CN105511754A (en) | Page jump method and device based on page pull-down operation | |
CN112887794A (en) | Video editing method and device | |
CN106371755B (en) | Multi-screen interaction method and system | |
CN108008894B (en) | Content display method and device and terminal equipment | |
CN105100909A (en) | Tween interaction-type ad placement method and device based on intelligent terminal | |
CN111428455B (en) | Form management method, device, equipment and storage medium | |
CN106598398A (en) | Realization method for video full screen, and electronic equipment | |
CN115866314A (en) | Video playing method and device | |
KR101682942B1 (en) | A skipping apparatus and method of providing multi-media file streaming service |
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. |