CN108319683B - Web page display method, device and terminal - Google Patents
Web page display method, device and terminal Download PDFInfo
- Publication number
- CN108319683B CN108319683B CN201810098209.4A CN201810098209A CN108319683B CN 108319683 B CN108319683 B CN 108319683B CN 201810098209 A CN201810098209 A CN 201810098209A CN 108319683 B CN108319683 B CN 108319683B
- Authority
- CN
- China
- Prior art keywords
- content
- area
- target page
- video
- page content
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/957—Browsing optimisation, e.g. caching or content distillation
- G06F16/9577—Optimising the visualization of content, e.g. distillation of HTML documents
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
- Information Transfer Between Computers (AREA)
Abstract
一种网页显示方法、装置及终端。该方法包括:显示网页页面;在网页页面的上层显示视频播放区域;当网页页面中存在具有绘制需求的目标页面内容时,在网页页面的上层绘制目标页面内容,且隐藏视频播放区域。在本申请实施例中,在网页页面的上层显示有视频播放区域的情况下,如果有需要在网页页面中绘制并显示的目标页面内容,则在网页页面中绘制并显示上述目标页面内容,并将视频播放区域隐藏,视频播放区域被隐藏之后不会对目标页面内容造成遮挡,从而用户可以完整地查看到上述目标页面内容,整体显示性能得到提升。
A web page display method, device and terminal. The method includes: displaying a web page; displaying a video playing area on the upper layer of the web page; when there is target page content with drawing requirements in the web page, drawing the target page content on the upper layer of the web page and hiding the video playing area. In the embodiment of the present application, when a video playback area is displayed on the upper layer of the webpage, if there is target page content that needs to be drawn and displayed on the webpage, the above target page content is drawn and displayed on the webpage, and By hiding the video play area, the content of the target page will not be blocked after the video play area is hidden, so that the user can completely view the content of the above target page, and the overall display performance is improved.
Description
技术领域technical field
本申请实施例涉及浏览器技术领域,特别涉及一种网页显示方法、装置及终端。The embodiments of the present application relate to the technical field of browsers, and in particular, to a web page display method, device, and terminal.
背景技术Background technique
随着浏览器技术的发展,浏览器的功能也日益强大,例如,目前的浏览器通常具有视频播放功能。With the development of browser technology, the functions of the browser are also increasingly powerful. For example, the current browser usually has a video playback function.
相关技术中,当用户通过浏览器观看视频时,为了对于不同的网页所提供的视频均能提供一致的观看体验,通常由浏览器来接管视频的播放。具体地,浏览器在接收到播放指令后创建视频节点,根据视频节点的层叠样式表(Cascading Style Sheets,CSS)属性在网页页面的上层渲染并绘制视频播放区域,之后在该视频播放区域中播放视频。In the related art, when a user watches a video through a browser, in order to provide a consistent viewing experience for videos provided by different webpages, the browser usually takes over the playing of the video. Specifically, the browser creates a video node after receiving the play instruction, renders and draws the video play area on the upper layer of the webpage according to the Cascading Style Sheets (CSS) attribute of the video node, and then plays the video in the video play area. video.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供一种网页显示方法、装置及终端。所述技术方案如下:Embodiments of the present application provide a web page display method, device, and terminal. The technical solution is as follows:
一方面,本申请实施例提供一种网页显示方法,所述方法包括:On the one hand, an embodiment of the present application provides a web page display method, the method includes:
显示网页页面,所述网页页面中包含视频内容;Displaying a web page, the web page contains video content;
在所述网页页面的上层显示视频播放区域,所述视频播放区域是用于播放所述视频内容的显示区域;Displaying a video playing area on the upper layer of the webpage, the video playing area is a display area for playing the video content;
当所述网页页面中存在具有绘制需求的目标页面内容时,在所述网页页面的上层绘制所述目标页面内容,且隐藏所述视频播放区域。When there is target page content with drawing requirements in the webpage, the target page content is drawn on the upper layer of the webpage, and the video playing area is hidden.
另一方面,本申请实施例提供一种网页显示装置,所述装置包括:On the other hand, an embodiment of the present application provides a webpage display device, and the device includes:
页面显示模块,用于显示网页页面,所述网页页面中包含视频内容;a page display module, used to display a web page, the web page contains video content;
区域显示模块,用于在所述网页页面的上层显示视频播放区域,所述视频播放区域是用于播放所述视频内容的显示区域;an area display module, configured to display a video playing area on the upper layer of the web page, where the video playing area is a display area for playing the video content;
所述页面显示模块,还用于当所述网页页面中存在具有绘制需求的目标页面内容时,在所述网页页面中绘制所述目标页面内容;The page display module is further configured to draw the target page content in the webpage when there is a target page content with a drawing requirement in the webpage;
隐藏模块,用于隐藏所述视频播放区域。The hiding module is used to hide the video playing area.
再一方面,本申请实施例提供一种终端,所述终端包括处理器和存储器,所述存储器存储有计算机程序,所述计算机程序由所述处理器加载并执行以实现上述方面所述的网页显示方法。In another aspect, an embodiment of the present application provides a terminal, the terminal includes a processor and a memory, the memory stores a computer program, and the computer program is loaded and executed by the processor to implement the web page described in the above aspect Display method.
又一方面,本申请实施例提供一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机程序,所述计算机程序由处理器加载并执行以实现上述方面所述的网页显示方法。In another aspect, an embodiment of the present application provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and the computer program is loaded and executed by a processor to implement the web page display method described in the above aspect .
本申请实施例提供的技术方案可以带来如下有益效果:The technical solutions provided in the embodiments of the present application can bring the following beneficial effects:
通过在网页页面的上层显示有视频播放区域的情况下,如果有需要在网页页面中进行绘制的目标页面内容,则在网页页面中绘制上述目标页面内容,并将视频播放区域隐藏,视频播放区域被隐藏之后不会对目标页面内容造成遮挡,从而用户可以完整地查看到上述目标页面内容,整体显示性能得到提升。By displaying the video playing area on the upper layer of the web page, if there is target page content that needs to be drawn in the web page, draw the above target page content in the web page, hide the video playing area, and hide the video playing area. After being hidden, the content of the target page will not be blocked, so that the user can completely view the content of the target page, and the overall display performance is improved.
附图说明Description of drawings
图1是相关技术提供的网页显示方法的界面示意图;1 is a schematic interface diagram of a web page display method provided by the related art;
图2是本申请一个实施例提供的网页显示方法的流程图;2 is a flowchart of a web page display method provided by an embodiment of the present application;
图3是图2所示实施例涉及的界面示意图;Fig. 3 is the interface schematic diagram involved in the embodiment shown in Fig. 2;
图4是本申请另一个实施例提供的网页显示方法的流程图;4 is a flowchart of a web page display method provided by another embodiment of the present application;
图5是本申请一个实施例提供的网页显示装置的框图;FIG. 5 is a block diagram of a webpage display device provided by an embodiment of the present application;
图6是本申请一个实施例提供的终端的结构示意图。FIG. 6 is a schematic structural diagram of a terminal provided by an embodiment of the present application.
具体实施方式Detailed ways
为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施方式作进一步地详细描述。In order to make the objectives, technical solutions and advantages of the present application clearer, the embodiments of the present application will be further described in detail below with reference to the accompanying drawings.
相关技术中,当网页页面中存在有需要在网页页面的上层进行显示的目标网页内容时,目标网页内容会被视频播放区域遮挡,导致用户无法完整地查看到目标网页内容,进而无法与该目标网页内容进行交互。结合参考图1,其示出了相关技术提供的网页显示方法的界面示意图,网页页面10中包含导航控件12,且网页页面10的上层显示有视频播放区域11,当用户触发导航控件12之后,网页页面10中包括导航控件12对应的下一级页面内容13,其中,导航控件12对应的下一级页面内容13被视频播放区域11遮挡住。In the related art, when there is a target web page content that needs to be displayed on the upper layer of the web page, the target web page content will be blocked by the video playback area, so that the user cannot fully view the target web page content, and thus cannot interact with the target web page content. interact with web content. 1, which shows a schematic interface diagram of a web page display method provided by the related art, the
本申请实施例提供了一种网页显示方法、装置及终端,在网页页面的上层显示有视频播放区域的情况下,如果有需要在网页页面中绘制的目标页面内容,则在网页页面中绘制上述目标页面内容,并将视频播放区域隐藏,视频播放区域被隐藏之后不会对目标页面内容造成遮挡,从而用户可以完整地查看到上述目标页面内容,整体显示性能得到提升。The embodiments of the present application provide a web page display method, device, and terminal. When a video playback area is displayed on the upper layer of the web page, if there is target page content that needs to be drawn on the web page, the above-mentioned content is drawn on the web page. The content of the target page is hidden, and the video playback area is hidden. After the video playback area is hidden, the content of the target page will not be blocked, so that the user can completely view the content of the target page, and the overall display performance is improved.
在本申请实施例中,各步骤的执行主体可以是终端。示例性地,上述终端可以是手机、平板电脑、电子书阅读器、多媒体播放设备、个人计算机(Personal Computer,PC)等电子设备。In this embodiment of the present application, the execution subject of each step may be a terminal. Exemplarily, the above-mentioned terminal may be an electronic device such as a mobile phone, a tablet computer, an e-book reader, a multimedia playing device, a personal computer (Personal Computer, PC).
可选地,终端中安装运行有浏览器,各步骤的执行主体可以是该浏览器。其中,浏览器是指可以显示网页服务器或者文件系统的超文本标记语言(Hyper Text MarkupLanguage,HTML)文件内容,并让用户与这些文件内容交互的一种软件。示例性地,浏览器可以是火狐(Firefox)浏览器、谷歌(Chrome)浏览器、欧朋(Opera)浏览器、UC浏览器等。Optionally, a browser is installed and run in the terminal, and the execution body of each step may be the browser. The browser refers to a kind of software that can display the content of a Hyper Text Markup Language (HTML) file of a web server or a file system, and allow a user to interact with the content of the file. Exemplarily, the browser may be a Firefox (Firefox) browser, a Google (Chrome) browser, an Opera (Opera) browser, a UC browser, and the like.
为了便于说明,在下述方法实施例中,仅以各步骤的执行主体是浏览器为例进行介绍说明,但对此不构成限定。For the convenience of description, in the following method embodiments, only a browser is used as an example for the execution subject of each step for description, but this is not a limitation.
图2是本申请一个实施例提供的网页显示方法的流程图。该方法可以包括如下几个步骤。FIG. 2 is a flowchart of a web page display method provided by an embodiment of the present application. The method may include the following steps.
步骤201,显示网页页面。
网页页面是网页文件对应的展示页面,网页文件可以包括HTML文件、CSS样式文件、视图文件等等。HTML文件用于配置网页页面所包括的页面内容,CSS样式文件用于配置网页页面的展现形式,视图文件用于配置网页页面中的页面内容的结构。网页页面通常可以包括文字、图片、音频、视频等内容。在本申请实施例中,网页页面中包含视频内容。A web page is a display page corresponding to a web page file, and the web page file may include an HTML file, a CSS style file, a view file, and the like. The HTML file is used to configure the page content included in the web page, the CSS style file is used to configure the presentation form of the web page, and the view file is used to configure the structure of the page content in the web page. Web pages usually include text, pictures, audio, video and other content. In this embodiment of the present application, the web page includes video content.
在本申请的一些实施例中,浏览器根据用户的触发指令向服务器发送携带统一资源定位符(Uniform Resource Locator,URL)的页面访问请求,服务器返回与该URL相对应的网页文件,浏览器接收上述网页文件之后对网页文件进行解析和渲染,之后显示上述网页文件对应的网页页面。In some embodiments of the present application, the browser sends a page access request carrying a Uniform Resource Locator (URL) to the server according to a trigger instruction of the user, the server returns a web page file corresponding to the URL, and the browser receives The web page file is then parsed and rendered, and then the web page corresponding to the web page file is displayed.
步骤202,在网页页面的上层显示视频播放区域。
视频播放区域是用于播放视频内容的显示区域。视频播放区域除用于显示视频内容之外,还可用于显示供用户控制视频播放的相关操作控件。上述相关操作控件包括暂停控件、音量调节控件、亮度调节控件、快进控件等等,本申请实施例对此不作限定。The video playback area is a display area for playing video content. In addition to displaying the video content, the video playing area can also be used to display related operation controls for the user to control the video playing. The above-mentioned related operation controls include a pause control, a volume adjustment control, a brightness adjustment control, a fast forward control, and the like, which are not limited in this embodiment of the present application.
在本申请的一些实施例中,浏览器在接收到对应于视频内容的播放指令之后,在网页页面的上层显示视频播放区域。播放指令由用户触发,用于触发浏览器播放视频内容。示例性地,播放指令是浏览器接收到的对应于视频内容的点击信号。具体地,浏览器在接收到播放指令后显示视频播放区域的过程如下:浏览器创建一个视频节点,并对上述视频节点进行渲染,之后根据预设样式文件所包括的视频节点的样式在网页页面的上层绘制出视频播放区域。In some embodiments of the present application, after receiving a playback instruction corresponding to the video content, the browser displays a video playback area on the upper layer of the web page. The play instruction is triggered by the user and is used to trigger the browser to play the video content. Exemplarily, the play instruction is a click signal corresponding to the video content received by the browser. Specifically, the process for the browser to display the video playback area after receiving the playback instruction is as follows: the browser creates a video node, renders the above-mentioned video node, and then displays the video node on the webpage according to the style of the video node included in the preset style file. The upper layer of the draws the video playback area.
步骤203,当网页页面中存在具有绘制需求的目标页面内容时,在网页页面中绘制目标页面内容,且隐藏视频播放区域。
绘制需求是指在网页页面中进行绘制的需求。目标页面内容可以是能够供用户进行交互操作的UI元素,例如登录弹窗、搜索弹窗、导航栏等等,本申请实施例对此不作限定。在本申请的一些实施例中,当浏览器接收到对应于网页页面中已显示的页面内容的触发指令之后,网页页面中存在具有绘制需求的目标页面内容,该目标页面内容是通过上述已显示的页面内容呼出显示的内容。The drawing requirement refers to the requirement for drawing on the webpage. The content of the target page may be a UI element that can be used for interactive operations by the user, such as a login popup window, a search popup window, a navigation bar, etc., which is not limited in this embodiment of the present application. In some embodiments of the present application, after the browser receives a trigger instruction corresponding to the displayed page content in the web page, there is target page content with drawing requirements in the web page, and the target page content is displayed by the above-mentioned The content of the page calls out the displayed content.
在本申请的一些实施例中,隐藏视频播放区域可以通过如下几种方式实现。In some embodiments of the present application, hiding the video playback area may be implemented in the following manners.
在第一种可能的实现方式中,浏览器将视频播放区域的可视化属性设置为隐藏。可视化属性用于规定页面内容为可见还是隐藏。可视化属性可以采用css visibility来表示,css visibility的值可以为visible(可见)、hidden(隐藏)、collapse(折叠)和inherit(继承父类的css visibility)中的任意一种;其中,当页面内容的css visibility的值为hidden时,或者,当页面内容的css visibility的值为inherit,且页面内容的父类的cssvisibility的值为hidden时,此时页面内容被隐藏。In the first possible implementation, the browser sets the visual property of the video playback area to hidden. Visual properties are used to specify whether page content is visible or hidden. The visual property can be represented by css visibility, and the value of css visibility can be any one of visible (visible), hidden (hidden), collapse (collapse) and inherit (inherit the css visibility of the parent class); among them, when the page content When the value of the css visibility is hidden, or, when the value of the css visibility of the page content is inherit, and the value of the cssvisibility of the parent class of the page content is hidden, the page content is hidden at this time.
在第二种可能的实现方式中,浏览器将视频播放区域的显示属性设置为空。显示属性用于规定页面内容的显示形式。显示属性可以采用display来表示,display的值可以为none(空)、block(块显示)、inline(行内显示)等等;其中,当display的值为none时,此时页面内容不会显示。In the second possible implementation manner, the browser sets the display property of the video playback area to be empty. Display attributes are used to specify the display form of page content. The display attribute can be represented by display, and the value of display can be none (empty), block (block display), inline (inline display), etc. Among them, when the value of display is none, the page content will not be displayed at this time.
在第三种可能的实现方式中,浏览器将视频播放区域所具有的背景设置为透明。在本申请的一些实施例中,浏览器将视频播放区域所具有的背景的透明度设置为0时,此时视频播放区域所具有的背景为透明,用户无法查看到视频播放区域。In a third possible implementation manner, the browser sets the background of the video playback area to be transparent. In some embodiments of the present application, when the browser sets the transparency of the background of the video playback area to 0, the background of the video playback area is transparent, and the user cannot view the video playback area.
在其它可能的实现方式中,浏览器还可以通过调用隐藏函数来隐藏视频播放区域。例如,上述隐藏函数可以是set Visibility(View.GONE)方法,也可以是setVisibility(View.UNVISIBILITY)方法。In other possible implementation manners, the browser can also hide the video playing area by calling the hide function. For example, the above hidden function may be a set Visibility(View.GONE) method or a setVisibility(View.UNVISIBILITY) method.
由浏览器控制视频播放时,视频播放区域通常位于网页页面的上层,网页页面中的部分页面内容可能被视频播放区域遮挡住,用户无法查看到被遮挡的页面内容,也无法对上述页面内容进行交互操作,因此在本申请实施例中,在确定出具有绘制需求的目标页面内容之后,浏览器隐藏视频播放区域,以使得被视频播放区域覆盖的页面内容能够直接展示给用户。When the video playback is controlled by the browser, the video playback area is usually located on the upper layer of the web page, and part of the page content in the web page may be blocked by the video playback area. Therefore, in this embodiment of the present application, after determining the target page content with drawing requirements, the browser hides the video play area, so that the page content covered by the video play area can be directly displayed to the user.
结合参考图3,其示出了本申请一个示例性实施例示出的网页显示的界面示意图。网页页面30的上层显示有视频播放区域31,网页页面30中未被视频播放区域31覆盖的区域中显示有部分页面内容32,用户点击上述页面内容32之后,由于网页页面30中存在具有绘制需求的目标页面内容33,因此浏览器在网页页面30中绘制目标页面内容33,并隐藏显示视频播放区域31。Referring to FIG. 3 in conjunction with FIG. 3 , it shows a schematic diagram of an interface displayed by a web page according to an exemplary embodiment of the present application. A
需要说明的是,本申请实施例对在网页页面的上层显示目标页面内容,以及隐藏视频播放区域的执行顺序不作限定。浏览器可以先在网页页面的上层显示目标页面内容,再隐藏视频播放区域;也可以先隐藏视频播放区域,再在网页页面的上层显示目标页面内容;还可以在网页页面的上层显示目标页面内容的同时隐藏视频播放区域。It should be noted that the embodiment of the present application does not limit the execution order of displaying the content of the target page on the upper layer of the webpage and hiding the video playing area. The browser can first display the target page content on the upper layer of the web page, and then hide the video playback area; it can also hide the video playback area first, and then display the target page content on the upper layer of the web page; it can also display the target page content on the upper layer of the web page. while hiding the video playback area.
在本申请的一些实施例中,当隐藏视频播放区域时,浏览器暂停播放视频内容,也即在视频播放区域被隐藏的过程中,用户所观看的视频内容的进度保持不变,避免视频播放区域被隐藏时浏览器继续播放视频内容导致用户错过上述继续播放的视频内容的情况发生。In some embodiments of the present application, when the video playback area is hidden, the browser pauses to play the video content, that is, during the process of the video playback area being hidden, the progress of the video content watched by the user remains unchanged to avoid video playback. When the area is hidden, the browser continues to play the video content, causing the user to miss the above-mentioned continued playing of the video content.
综上所述,本申请实施例提供的方法,通过在网页页面的上层显示有视频播放区域的情况下,如果有需要在网页页面中绘制的目标页面内容,则在网页页面中绘制上述目标页面内容,并将视频播放区域隐藏,视频播放区域被隐藏之后不会对目标页面内容造成遮挡,从而用户可以完整地查看到上述目标页面内容,整体显示性能得到提升。To sum up, in the method provided by the embodiments of the present application, in the case where a video playing area is displayed on the upper layer of the web page, if there is target page content that needs to be drawn in the web page, the above target page is drawn in the web page. The content of the target page is hidden, and the video play area is hidden. After the video play area is hidden, the content of the target page will not be blocked, so that the user can completely view the content of the target page, and the overall display performance is improved.
另外,还通过在隐藏视频播放区域的同时暂停播放视频内容,避免视频播放区域被隐藏时浏览器继续播放视频内容导致用户错过视频内容的情况发生。In addition, the video content is paused while the video playback area is hidden, so as to avoid the situation that the browser continues to play the video content when the video playback area is hidden, causing the user to miss the video content.
图4是本申请另一个实施例提供的网页显示方法的流程图。该方法可以包括如下几个步骤。FIG. 4 is a flowchart of a web page display method provided by another embodiment of the present application. The method may include the following steps.
步骤401,显示网页页面。
网页页面中包含视频内容。Web pages contain video content.
步骤402,在网页页面的上层显示视频播放区域。Step 402: Display a video playing area on the upper layer of the webpage.
视频播放区域是用于播放视频内容的显示区域。The video playback area is a display area for playing video content.
步骤403,当网页页面中存在具有绘制需求的目标页面内容时,获取目标页面内容的可见属性。
目标页面内容的可见属性用于指示用户是否可以看见目标页面内容。可见属性包括可见与不可见。当目标页面内容的可见属性为可见时,此时用户可以看见目标页面内容;当目标页面内容的可见属性为不可见时,此时用户不可以看见目标页面内容。The visible property of the target page content is used to indicate whether the user can see the target page content. Visible properties include visible and invisible. When the visible attribute of the target page content is visible, the user can see the target page content at this time; when the visible attribute of the target page content is invisible, the user cannot see the target page content at this time.
可见属性可以由目标页面内容的可视化属性以及显示属性共同决定。在本申请实施例中,浏览器可以直接从目标页面内容对应的样式文件中读取目标页面内容的可视化属性以及显示属性,进而获取目标页面内容的可见属性。另外,对于可视化属性以及显示属性的解释说明,可以参考步骤203,此处不作赘述。The visible attribute can be determined by the visual attribute and display attribute of the target page content. In the embodiment of the present application, the browser can directly read the visual attribute and display attribute of the target page content from the style file corresponding to the target page content, and then obtain the visible attribute of the target page content. In addition, for the explanation of the visualization attribute and the display attribute, reference may be made to step 203, which will not be repeated here.
步骤404,当目标页面内容的可见属性指示目标页面内容可见时,获取目标页面内容的显示层级。
当目标页面内容的可视化属性不为隐藏且目标页面内容的显示属性不为空时,目标页面内容的可见属性为可见。当目标页面内容的可视化属性为隐藏,或者,目标页面内容的显示属性为空时,目标页面内容的可见属性为不可见。When the visible property of the target page content is not hidden and the display property of the target page content is not empty, the visible property of the target page content is visible. When the visible property of the target page content is hidden, or, when the display property of the target page content is empty, the visible property of the target page content is invisible.
显示层级用于指示页面内容在网页页面中的显示顺序。显示层级可以采用z序来表示。页面内容的z序的数值越大,则该页面内容在网页页面中的显示层级越靠前;页面内容的z序的数值越小,则该页面内容在网页页面中的显示层级越靠后。通常来说,z序大的页面内容通常会覆盖z序小的页面内容。另外,各个页面内容的z序也存储在样式文件中,浏览器可直接读取目标页面内容的z序,以确定目标页面内容的显示层级。The display level is used to indicate the order in which the page content is displayed in the web page. The display hierarchy can be represented in z-order. The larger the value of the z-order of the page content, the higher the display level of the page content in the web page; the smaller the value of the z-order of the page content, the lower the display level of the page content in the web page. Generally speaking, the content of a page with a large z-order usually overwrites the content of a page with a small z-order. In addition, the z-order of each page content is also stored in the style file, and the browser can directly read the z-order of the target page content to determine the display level of the target page content.
步骤405,若目标页面内容的显示层级大于网页页面中已显示的页面内容的最大显示层级,则检测目标页面内容是否具有背景。
当目标页面内容的显示层级大于网页页面中已显示的页面内容的最大显示层级时,目标页面内容应该在网页页面中的显示顺序最靠前;当目标页面内容的显示层级小于网页页面中已显示的页面内容的最大显示层级时,则目标页面内容在该网页页面中的显示顺序并非最靠前。When the display level of the target page content is greater than the maximum display level of the displayed page content on the web page, the target page content should be displayed in the frontmost order in the web page; When the maximum display level of the page content of the target page is reached, the display order of the target page content in the web page is not the frontmost.
在本申请的一些实施例中,若目标页面内容的显示层级大于网页页面中已显示的页面内容的最大显示层级,则浏览器直接执行在网页页面中绘制目标页面内容,且隐藏所述视频播放区域的步骤。在本申请的另一些实施例中,在目标页面内容的显示层级大于网页页面中已显示的页面内容的最大显示层级时,浏览器还通过进一步判断目标页面内容是否具有背景,以确定是否执行在网页页面中绘制目标页面内容,且隐藏所述视频播放区域的步骤。In some embodiments of the present application, if the display level of the target page content is greater than the maximum display level of the displayed page content in the webpage, the browser directly executes the rendering of the target page content in the webpage, and hides the video playback area steps. In other embodiments of the present application, when the display level of the target page content is greater than the maximum display level of the displayed page content in the webpage, the browser further determines whether the target page content has a background to determine whether to execute the The step of drawing the content of the target page in the webpage and hiding the video playing area.
目标页面内容所具有的背景用于规定目标页面内容的颜色、布局、特效等等。浏览器可以直接检测目标页面内容的样式文件中是否包括background(背景),进而确定目标页面内容是否具有背景。The background of the target page content is used to specify the color, layout, special effects, etc. of the target page content. The browser can directly detect whether the style file of the content of the target page includes a background, and then determine whether the content of the target page has a background.
步骤406,若目标页面内容具有背景,则获取目标页面内容和视频播放区域的重叠部分面积。
浏览器在检测出目标页面内容的样式文件中包括background,则确定目标页面内容具有背景,浏览器在检测出目标页面内容的样式文件中不包括background,则确定出目标页面内容不具有背景。If the browser includes background in the style file that detects the content of the target page, it determines that the content of the target page has a background, and if the browser does not include background in the style file that detects the content of the target page, it determines that the content of the target page does not have a background.
目标页面内容和视频播放区域的重叠部分面积是指目标页面内容与视频播放区域之间的重叠部分所占用的面积。可选地,样式文件包括目标页面内容的Rect以及视频播放区域的Rect。其中,目标页面内容的Rect包括目标页面内容的左上角的顶点坐标、长、宽;视频播放区域的Rect包括视频播放区域的左上角的顶点坐标、长和宽。浏览器读取目标页面内容的Rect以及视频播放区域的Rect之后,计算得到目标页面内容和视频播放区域的重叠部分的长与宽,进而计算目标页面内容和视频播放区域的重叠部分面积。The area of the overlapping portion of the target page content and the video playing area refers to the area occupied by the overlapping portion between the target page content and the video playing area. Optionally, the style file includes the Rect of the target page content and the Rect of the video playback area. The Rect of the target page content includes the vertex coordinates, length and width of the upper left corner of the target page content; the Rect of the video playback area includes the vertex coordinates, length and width of the upper left corner of the video playback area. After the browser reads the Rect of the target page content and the Rect of the video playback area, it calculates the length and width of the overlapped part of the target page content and the video playback area, and then calculates the overlapped area of the target page content and the video playback area.
在本申请的一些实施例中,在目标页面内容具有背景时,浏览器直接执行在网页页面中绘制目标页面内容,且隐藏所述视频播放区域的步骤。在本申请的另一些实施例中,在确定出目标页面内容具有背景之后,浏览器还进一步判断标页面内容和视频播放区域的重叠部分面积是否符合预设条件,以确定是否执行在网页页面中绘制目标页面内容,且隐藏所述视频播放区域的步骤。In some embodiments of the present application, when the content of the target page has a background, the browser directly executes the steps of drawing the content of the target page in the webpage and hiding the video playing area. In other embodiments of the present application, after determining that the target page content has a background, the browser further judges whether the area of the overlapped portion of the target page content and the video playback area conforms to a preset condition, so as to determine whether to execute the execution in the web page. The step of drawing the content of the target page and hiding the video playing area.
步骤407,检测重叠部分面积是否符合预设条件。Step 407: Detect whether the area of the overlapped portion meets a preset condition.
预设条件可以根据实际经验设定,本申请实施例对此不作限定。示例性地,预设条件是重叠部分面积达到预设数值。预设数值也可以根据实际需求设定,本申请实施例对此不作限定。The preset condition may be set according to actual experience, which is not limited in this embodiment of the present application. Exemplarily, the preset condition is that the area of the overlapping portion reaches a preset value. The preset value may also be set according to actual requirements, which is not limited in this embodiment of the present application.
在本申请的一些实施例中,步骤407可以包括如下几个子步骤:In some embodiments of the present application,
步骤407a,计算重叠部分面积在目标页面内容中的面积占比;Step 407a, calculating the area ratio of the overlapping area in the target page content;
步骤407b,检测面积占比是否大于预设阈值;Step 407b, detecting whether the area ratio is greater than a preset threshold;
步骤407c,若面积占比大于预设阈值,则确定重叠部分面积符合预设条件。Step 407c, if the area ratio is greater than the preset threshold, it is determined that the area of the overlapped portion meets the preset condition.
重叠部分面积在目标页面内容中的面积占比是指重叠部分面积与目标页面内容的面积之间的比值。例如,重叠部分面积为150,目标页面内容的面积为240,此时重叠部分面积在目标页面内容中的面积占比为150/240=62.5%。The area ratio of the area of the overlapping part to the content of the target page refers to the ratio between the area of the overlapping part and the area of the content of the target page. For example, the area of the overlapping portion is 150, and the area of the target page content is 240. At this time, the area of the overlapping portion accounts for 150/240=62.5% of the target page content.
预设阈值可以根据实际经验设定,本申请实施例对此不作限定。例如,预设阈值为70%。若面积占比小于或等于预设阈值,则确定重叠部分面积不符合预设条件。The preset threshold may be set according to actual experience, which is not limited in this embodiment of the present application. For example, the preset threshold is 70%. If the area ratio is less than or equal to the preset threshold, it is determined that the area of the overlapping portion does not meet the preset condition.
为了让目标页面内容尽可能地被用户清楚、完整地查看到,因此在本申请实施例中,通过重叠部分面积与目标页面内容的面积占比以确定重叠部分面积是否符合预设条件。In order to make the content of the target page as clear and complete as possible for the user to view, in this embodiment of the present application, the ratio of the area of the overlapped part to the content of the target page is used to determine whether the area of the overlapped part meets the preset condition.
步骤408,若重叠部分面积符合预设条件,则在网页页面中绘制目标页面内容,且隐藏视频播放区域。
在本申请的一些实施例中,当隐藏视频播放区域时,浏览器暂停播放视频内容。In some embodiments of the present application, when the video playing area is hidden, the browser pauses playing the video content.
若重叠部分面积不符合预设条件,则浏览器不执行在网页页面中绘制目标显示内容,以及隐藏视频播放区域的步骤。If the area of the overlapping portion does not meet the preset condition, the browser does not perform the steps of drawing the target display content in the webpage and hiding the video playing area.
需要说明的是,在本申请实施例中,浏览器通过依次判断目标页面内容的可见属性是否指示目标页面内容可见、判断目标页面内容的显示层级是否大于网页页面中已显示的页面内容的最大显示层级、判断目标页面内容是否具有背景、判断目标页面内容和视频播放区域的重叠部分面积是否符合预设条件,以确定浏览器是否需要执行在网页页面中绘制目标显示内容,以及隐藏视频播放区域的步骤。在其它实施例中,上述判断步骤还可以有其它的执行顺序,本申请实施例对此不作限定。It should be noted that, in this embodiment of the present application, the browser sequentially determines whether the visible attribute of the target page content indicates that the target page content is visible, and determines whether the display level of the target page content is greater than the maximum display level of the displayed page content in the webpage. level, determine whether the target page content has a background, determine whether the overlapping area of the target page content and the video playback area meets the preset conditions, and determine whether the browser needs to execute the rendering of the target display content in the web page and hide the video playback area. step. In other embodiments, the above judgment step may also have other execution sequences, which are not limited in this embodiment of the present application.
步骤409,当目标页面内容取消显示时,或者当接收到对应于视频播放区域的呼出指示时,显示视频播放区域。
在本申请实施例中,浏览器隐藏播放视频区域之后,还可以在特定的触发条件下重新显示视频播放区域。In this embodiment of the present application, after the browser hides the playing video area, it can also redisplay the video playing area under a specific trigger condition.
在一种可能的实现方式中,当目标页面内容取消显示时,浏览器显示视频播放区域。在一个示例中,在浏览器接收到对应于目标页面内容的交互操作信号之后,目标页面内容取消显示。例如,目标页面内容为登录弹窗,若用户完成登录操作,则登录弹窗取消显示。在另一个示例中,在浏览器接收到对应于目标页面内容的取消操作信号之后,目标页面内容取消显示。例如,目标页面内容为搜索弹窗,搜索弹窗的左上角显示有用于取消显示搜索弹窗的操作控件“×”,当浏览器接收到对应于“×”的触发信号时,取消显示搜索弹窗。In a possible implementation manner, when the content of the target page is cancelled, the browser displays the video playing area. In one example, after the browser receives the interactive operation signal corresponding to the content of the target page, the content of the target page is canceled from being displayed. For example, the content of the target page is a login pop-up window. If the user completes the login operation, the login pop-up window will be canceled. In another example, after the browser receives a cancel operation signal corresponding to the content of the target page, the content of the target page is canceled from being displayed. For example, the content of the target page is a search pop-up window, and the upper left corner of the search pop-up window displays an operation control "×" for canceling the display of the search pop-up window. When the browser receives a trigger signal corresponding to "×", it cancels the display of the search pop-up window. window.
在另一种可能的实现方式中,当接收到对应于视频播放区域的呼出指示时,浏览器显示视频播放区域。呼出指示由用户触发,用于触发浏览器重新显示视频播放区域。在一个示例中,当用户触发网页页面中的空白区域时,浏览器接收到对应于视频播放区域的呼出指示。In another possible implementation manner, when receiving a call-out instruction corresponding to the video play area, the browser displays the video play area. The call-out instruction is triggered by the user and is used to trigger the browser to redisplay the video playback area. In one example, when the user triggers a blank area in the web page, the browser receives a call-out instruction corresponding to the video playing area.
在本申请的一些实施例中,当显示视频播放区域时,从暂停位置开始继续播放视频内容。浏览器在显示视频播放区域之后播放的视频内容与隐藏视频播放区域之前播放的视频内容可以相同,也可以不同。若浏览器在显示视频播放区域之后播放的视频内容与隐藏视频播放区域之前播放的视频内容相同,则浏览器在显示视频播放区域时,从暂停位置开始继续播放视频内容,从而避免用户错过部分视频内容的播放过程。In some embodiments of the present application, when the video playing area is displayed, the video content continues to be played from the paused position. The video content played by the browser after the video playback area is displayed may be the same or different from the video content played before the video playback area is hidden. If the video content played by the browser after the video playback area is displayed is the same as the video content played before the video playback area is hidden, the browser will continue to play the video content from the paused position when the video playback area is displayed, so as to prevent the user from missing part of the video The playback process of the content.
综上所述,本申请实施例提供的方法,通过在网页页面的上层显示有视频播放区域的情况下,如果有需要在网页页面中绘制的目标页面内容,则在网页页面中绘制上述目标页面内容,并将视频播放区域隐藏,视频播放区域被隐藏之后不会对目标页面内容造成遮挡,从而用户可以完整地查看到上述目标页面内容,整体显示性能得到提升。To sum up, in the method provided by the embodiments of the present application, in the case where a video playing area is displayed on the upper layer of the web page, if there is target page content that needs to be drawn in the web page, the above target page is drawn in the web page. The content of the target page is hidden, and the video play area is hidden. After the video play area is hidden, the content of the target page will not be blocked, so that the user can completely view the content of the target page, and the overall display performance is improved.
另外,还通过从目标页面内容的可见属性、目标页面内容的显示层级、目标页面内容是否具有背景、目标页面内容与视频播放区域之间的重叠部分面积多个维度以判断是否需要执行在网页页面中绘制所述目标页面内容,且隐藏视频播放区域的步骤,避免在不必要的情况下将视频播放区域隐藏的情况发生。In addition, it is also judged whether it needs to be executed on the webpage by taking into account the visible attributes of the target page content, the display level of the target page content, whether the target page content has a background, and the area of the overlapping part between the target page content and the video playback area. The step of drawing the content of the target page and hiding the video play area in the step of avoiding the situation of hiding the video play area under unnecessary circumstances.
另外,还通过在显示视频播放区域时,从暂停位置自动继续播放视频内容,无需用户手动进行操作,从而提高播放效率。In addition, when the video playback area is displayed, the video content is automatically resumed from the paused position, and the user does not need to perform manual operation, thereby improving the playback efficiency.
下述为本申请装置实施例,可以用于执行本申请方法实施例。对于本申请装置实施例中未披露的细节,请参照本申请方法实施例。The following are apparatus embodiments of the present application, which can be used to execute the method embodiments of the present application. For details not disclosed in the device embodiments of the present application, please refer to the method embodiments of the present application.
请参考图5,其示出了本申请一个实施例提供的网页显示装置的框图。该装置具有实现上述方法示例的功能,所述功能可以由硬件实现,也可以由硬件执行相应的软件实现。该装置可以包括:页面显示模块501、区域显示模块502和隐藏模块503。Please refer to FIG. 5 , which shows a block diagram of a webpage display apparatus provided by an embodiment of the present application. The apparatus has the function of implementing the above method example, and the function may be implemented by hardware or by executing corresponding software by hardware. The apparatus may include: a
页面显示模块501,用于显示网页页面,所述网页页面中包含视频内容。The
区域显示模块502,用于在所述网页页面的上层显示视频播放区域,所述视频播放区域是用于播放所述视频内容的显示区域。The
所述页面显示模块501,还用于当所述网页页面中存在具有绘制需求的目标页面内容时,在所述网页页面中绘制所述目标页面内容。The
隐藏模块503,用于隐藏所述视频播放区域。The
综上所述,本申请实施例提供的装置,通过在网页页面的上层显示有视频播放区域的情况下,如果有需要在网页页面的上层进行显示的目标页面内容,则在网页页面的上层显示上述目标页面内容,并将视频播放区域隐藏,视频播放区域被隐藏之后不会对目标页面内容造成遮挡,从而用户可以完整地查看到上述目标页面内容,整体显示性能得到提升。To sum up, in the device provided by the embodiments of the present application, when a video playing area is displayed on the upper layer of the webpage, if there is target page content that needs to be displayed on the upper layer of the webpage, the content of the target page that needs to be displayed on the upper layer of the webpage is displayed on the upper layer of the webpage. The content of the above target page is hidden, and the video play area is hidden. After the video play area is hidden, the content of the target page will not be blocked, so that the user can completely view the content of the above target page, and the overall display performance is improved.
在基于图5实施例提供的一个可选实施例中,所述装置还包括:属性获取模块、层级获取模块(图中未示出)。In an optional embodiment provided based on the embodiment of FIG. 5 , the apparatus further includes: an attribute acquisition module and a level acquisition module (not shown in the figure).
属性获取模块,用于当所述网页页面中存在具有绘制需求的目标页面内容时,获取所述目标页面内容的可见属性。The attribute obtaining module is configured to obtain the visible attribute of the target page content when there is target page content with drawing requirements in the webpage.
层级获取模块,用于当所述目标页面内容的可见属性指示所述目标页面内容可见时,获取所述目标页面内容的显示层级。A level acquisition module, configured to acquire the display level of the target page content when the visible attribute of the target page content indicates that the target page content is visible.
所述页面显示模块501,还用于若所述目标页面内容的显示层级大于所述网页页面中已显示的页面内容的最大显示层级,则执行所述在所述网页页面中绘制所述目标页面内容的步骤。The
所述隐藏模块503,还用于若所述目标页面内容的显示层级大于所述网页页面中已显示的页面内容的最大显示层级,则执行所述隐藏所述视频播放区域的步骤。The
在本申请的一些实施例中,所述装置还包括:背景检测模块、面积获取模块和条件检测模块(图中未示出)。In some embodiments of the present application, the apparatus further includes: a background detection module, an area acquisition module and a condition detection module (not shown in the figure).
背景检测模块,用于若所述目标页面内容的显示层级大于所述网页页面中已显示的页面内容的最大显示层级,则检测所述目标页面内容是否具有背景。The background detection module is configured to detect whether the target page content has a background if the display level of the target page content is greater than the maximum display level of the page content displayed in the webpage page.
面积获取模块,用于若所述目标页面内容具有所述背景,则获取所述目标页面内容和所述视频播放区域的重叠部分面积。An area acquisition module, configured to acquire the area of the overlapping portion of the target page content and the video playing area if the target page content has the background.
条件检测模块,用于检测所述重叠部分面积是否符合预设条件。A condition detection module is used to detect whether the area of the overlapping portion meets a preset condition.
所述页面显示模块501,还用于若所述重叠部分面积符合所述预设条件,则执行所述在所述网页页面中绘制所述目标页面内容的步骤。The
所述隐藏模块503,还用于若所述重叠部分面积符合所述预设条件,则执行所述隐藏所述视频播放区域的步骤。The
在本申请的一些实施例中,所述条件检测模块,用于:In some embodiments of the present application, the condition detection module is used for:
计算所述重叠部分面积在所述目标页面内容中的面积占比;Calculate the area ratio of the overlapping portion area in the target page content;
检测所述面积占比是否大于预设阈值;Detecting whether the area ratio is greater than a preset threshold;
若所述面积占比大于所述预设阈值,则确定所述重叠部分面积符合所述预设条件。If the area ratio is greater than the preset threshold, it is determined that the area of the overlapping portion meets the preset condition.
在基于图5实施例提供的另一个可选实施例中,所述隐藏模块503,用于:In another optional embodiment provided based on the embodiment in FIG. 5 , the
将所述视频播放区域的可视化属性设置为隐藏;setting the visual property of the video playback area to be hidden;
或者,or,
将所述视频播放区域的显示属性设置为空;setting the display attribute of the video playback area to be empty;
或者,or,
将所述视频播放区域所具有的背景设置为透明。The background of the video playing area is set to be transparent.
在基于图5实施例提供的另一个可选实施例中,所述区域显示模块502,还用于当所述目标页面内容取消显示时,或者当接收到对应于所述视频播放区域的呼出指示时,显示所述视频播放区域。In another optional embodiment provided based on the embodiment of FIG. 5, the
在本申请的一些实施例中,所述装置还包括:播放模块(图中未示出)。In some embodiments of the present application, the apparatus further includes: a playback module (not shown in the figure).
所述播放模块,用于当隐藏所述视频播放区域时,暂停播放所述视频内容。The playing module is configured to pause the playing of the video content when the video playing area is hidden.
所述播放模块,还用于当显示所述视频播放区域时,从暂停位置开始继续播放所述视频内容。The playing module is further configured to continue playing the video content from the paused position when the video playing area is displayed.
需要说明的是,上述实施例提供的装置在实现其功能时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将设备的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的装置与方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that, when the device provided in the above embodiment realizes its functions, only the division of the above functional modules is used as an example for illustration. The internal structure is divided into different functional modules to complete all or part of the functions described above. In addition, the apparatus and method embodiments provided in the above embodiments belong to the same concept, and the specific implementation process thereof is detailed in the method embodiments, which will not be repeated here.
参考图6,其示出了本申请一个示例性实施例提供的终端的结构方框图。本申请中的终端可以包括一个或多个如下部件:处理器610和存储器620。Referring to FIG. 6, it shows a structural block diagram of a terminal provided by an exemplary embodiment of the present application. The terminal in this application may include one or more of the following components: a
处理器610可以包括一个或者多个处理核心。处理器610利用各种接口和线路连接整个终端内的各个部分,通过运行或执行存储在存储器620内的指令、程序、代码集或指令集,以及调用存储在存储器620内的数据,执行终端的各种功能和处理数据。可选地,处理器610可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable LogicArray,PLA)中的至少一种硬件形式来实现。处理器610可集成中央处理器(CentralProcessing Unit,CPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统和应用程序等;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器610中,单独通过一块芯片进行实现。
可选地,处理器610执行存储器620中的程序指令时实现下上述各个方法实施例提供的网页显示方法。Optionally, when the
存储器620可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory)。可选地,该存储器620包括非瞬时性计算机可读介质(non-transitory computer-readable storage medium)。存储器620可用于存储指令、程序、代码、代码集或指令集。存储器620可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于至少一个功能的指令、用于实现上述各个方法实施例的指令等;存储数据区可存储根据终端的使用所创建的数据等。The
上述终端的结构仅是示意性的,在实际实现时,终端可以包括更多或更少的组件,比如:显示屏等,本实施例对此不作限定。The above-mentioned structure of the terminal is only illustrative. In actual implementation, the terminal may include more or less components, such as a display screen, etc., which is not limited in this embodiment.
本领域技术人员可以理解,图6中示出的结构并不构成对终端600的限定,可以包括比图示更多或更少的组件,或者组合某些组件,或者采用不同的组件布置。Those skilled in the art can understand that the structure shown in FIG. 6 does not constitute a limitation on the terminal 600, and may include more or less components than the one shown, or combine some components, or adopt different component arrangements.
在示例性实施例中,还提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机程序,所述计算机程序由终端的处理器加载并执行以实现上述方法实施例中的各个步骤。In an exemplary embodiment, a computer-readable storage medium is also provided, and a computer program is stored in the computer-readable storage medium, and the computer program is loaded and executed by the processor of the terminal to implement the above method embodiments. of the various steps.
在示例性实施例中,还提供了一种计算机程序产品,当该计算机程序产品被执行时,其用于实现上述方法实施例中的各个步骤的功能。In an exemplary embodiment, a computer program product is also provided, when the computer program product is executed, it is used to implement the functions of the various steps in the above method embodiments.
应当理解的是,在本文中提及的“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。It should be understood that references herein to "a plurality" means two or more. "And/or", which describes the association relationship of the associated objects, means that there can be three kinds of relationships, for example, A and/or B, which can mean that A exists alone, A and B exist at the same time, and B exists alone. The character "/" generally indicates that the associated objects are an "or" relationship.
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。The above-mentioned serial numbers of the embodiments of the present application are only for description, and do not represent the advantages or disadvantages of the embodiments.
以上所述仅为本申请的示例性实施例,并不用以限制本申请,凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。The above are only exemplary embodiments of the present application and are not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application shall be included in the protection of the present application. within the range.
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810098209.4A CN108319683B (en) | 2018-01-31 | 2018-01-31 | Web page display method, device and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810098209.4A CN108319683B (en) | 2018-01-31 | 2018-01-31 | Web page display method, device and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108319683A CN108319683A (en) | 2018-07-24 |
CN108319683B true CN108319683B (en) | 2021-05-25 |
Family
ID=62891359
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810098209.4A Expired - Fee Related CN108319683B (en) | 2018-01-31 | 2018-01-31 | Web page display method, device and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108319683B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110971955B (en) * | 2018-09-30 | 2022-06-07 | 北京京东尚科信息技术有限公司 | Page processing method and device, electronic equipment and storage medium |
CN109753617B (en) * | 2019-01-14 | 2021-08-31 | 广州虎牙信息科技有限公司 | A page display method, device and storage medium |
CN110659432A (en) * | 2019-08-30 | 2020-01-07 | 联想(北京)有限公司 | Information processing method and device and computer storage medium |
CN110650352B (en) * | 2019-09-06 | 2020-12-08 | 四川天邑康和通信股份有限公司 | Video processing method of IPTV browser |
CN110717125B (en) * | 2019-10-09 | 2022-07-12 | 北京无限光场科技有限公司 | Page display method and device, terminal equipment and medium |
CN111459601A (en) * | 2020-04-07 | 2020-07-28 | 北京字节跳动网络技术有限公司 | Data processing method and device, electronic equipment and computer readable medium |
CN113485778B (en) * | 2021-06-25 | 2023-06-13 | 青岛海尔科技有限公司 | Page data processing method and device, storage medium and electronic device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8543919B1 (en) * | 2004-03-04 | 2013-09-24 | Google Inc. | In-page full screen internet video method |
CN107613362A (en) * | 2017-10-20 | 2018-01-19 | 维沃移动通信有限公司 | A video display control method and mobile terminal |
CN107608616A (en) * | 2017-09-12 | 2018-01-19 | 中广热点云科技有限公司 | A kind of audio/video player system and method for mobile terminal privacy |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8266522B2 (en) * | 2009-04-17 | 2012-09-11 | Jokaroo Entertainment Inc. | Method and device for temporally displaying advertising content on a webpage |
CN104735518B (en) * | 2015-03-31 | 2019-02-22 | 北京奇艺世纪科技有限公司 | A kind of information displaying method and device |
CN106371815A (en) * | 2015-07-23 | 2017-02-01 | 广州市动景计算机科技有限公司 | Semi-transparent display method and device of webpage skin |
CN105426524B (en) * | 2015-12-08 | 2019-05-31 | 北京奇虎科技有限公司 | A kind of web interface methods of exhibiting and device |
CN105930059A (en) * | 2016-04-20 | 2016-09-07 | 网易(杭州)网络有限公司 | Display method and apparatus for mobile terminal |
-
2018
- 2018-01-31 CN CN201810098209.4A patent/CN108319683B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8543919B1 (en) * | 2004-03-04 | 2013-09-24 | Google Inc. | In-page full screen internet video method |
CN107608616A (en) * | 2017-09-12 | 2018-01-19 | 中广热点云科技有限公司 | A kind of audio/video player system and method for mobile terminal privacy |
CN107613362A (en) * | 2017-10-20 | 2018-01-19 | 维沃移动通信有限公司 | A video display control method and mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN108319683A (en) | 2018-07-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108319683B (en) | Web page display method, device and terminal | |
US8266544B1 (en) | HTML pop-up control | |
US8756519B2 (en) | Techniques for sharing content on a web page | |
US8769398B2 (en) | Animation control methods and systems | |
CN105893446B (en) | Method for intelligent web reference preloading based on user behavior prediction | |
US10402078B2 (en) | Method and apparatus for interactive movement of displayed content | |
US11029835B2 (en) | Systems and methods for delayed content overlay | |
US9563710B2 (en) | Smooth navigation between content oriented pages | |
US20130080910A1 (en) | Dynamic visualization of page element access rates in a web application | |
CN104268251A (en) | Playing method and device of video elements in web page | |
JP2011128204A (en) | Advertisement distribution device, method, and program | |
US10656773B2 (en) | Alternative presentation of occluded high-presence material within an ecommerce environment | |
US20150058713A1 (en) | Method and apparatus for sharing media content and method and apparatus for displaying media content | |
US20130080871A1 (en) | Method for retrieving a representation of an annotated web document, associated computer program and electronic device | |
Srinivasa et al. | Augmented Reality adaptive web content | |
WO2016192546A1 (en) | Method and device for updating data point of dynamic curve | |
CN106155654B (en) | Method and device for shielding webpage operation and electronic equipment | |
EP3043251A1 (en) | Method of displaying content and electronic device implementing same | |
CN104598571A (en) | Method and device for playing multimedia resource | |
CN108345683A (en) | Webpage display method, device, terminal and storage medium | |
JP5563703B2 (en) | Content distribution apparatus, content distribution method, content distribution program, and terminal program | |
CN110007831B (en) | Page turning control method and device and terminal equipment | |
CN105426524A (en) | Web interface displaying method and device | |
CN106201185B (en) | Method, device and mobile device for positioning input box in browser | |
JP6339550B2 (en) | Terminal program, terminal device, and terminal control method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20210525 |
|
CF01 | Termination of patent right due to non-payment of annual fee |