CN103699657A - Method and device for playing and processing multimedia of web pages - Google Patents

Method and device for playing and processing multimedia of web pages Download PDF

Info

Publication number
CN103699657A
CN103699657A CN201310739851.3A CN201310739851A CN103699657A CN 103699657 A CN103699657 A CN 103699657A CN 201310739851 A CN201310739851 A CN 201310739851A CN 103699657 A CN103699657 A CN 103699657A
Authority
CN
China
Prior art keywords
webpage
player
height
title
client
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201310739851.3A
Other languages
Chinese (zh)
Inventor
张博
李时斌
吴海波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
LeTV Information Technology Beijing Co Ltd
Original Assignee
LeTV Information Technology Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by LeTV Information Technology Beijing Co Ltd filed Critical LeTV Information Technology Beijing Co Ltd
Priority to CN201310739851.3A priority Critical patent/CN103699657A/en
Publication of CN103699657A publication Critical patent/CN103699657A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching

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)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a method and a device for playing and processing multimedia of web pages. By the aid of the method and the device, problems that operation interfaces of players cannot be completely displayed on screens of clients, running loads of systems are increased and the video buffer speed is reduced in the prior art can be solved. The method includes receiving a playing request of a client, acquiring a corresponding web page, determining the width of the web page, adjusting the size of the web page and determining the position of a player in the adjusted web page and the position of a corresponding title in the web page; adjusting the position of the player in the web page and the position of the corresponding title in the web page with the adjusted size according to the height of a playing interface of the client, and playing multimedia which is required to be played by the client. The method and the device have the advantages that the operation interface of the player can be completely displayed on the client, a user does not need to adjust the page, running loads of a system can be reduced, the video buffer speed can be increased, and accordingly the video watching efficiency can be ultimately improved for the user.

Description

A kind of Web-page Multi-media play handling method and device
Technical field
The present invention relates to network multimedia and play field, relate in particular to a kind of Web-page Multi-media play handling method and device.
Background technology
In recent years, along with the universal and development of network service, our life of access that network is more and more stronger, the mankind have entered the information age, and network is gone out Information Communication by various types of websites.At present, the webpage of a lot of websites increases page browsing amount (Page View, PV) by video multimedia.Wherein, PV weighs the even leading indicator of an Internet news of an Internet news channel or website.
Because existing Webpage is all designed to title above corresponding video, so that when user selects the wider client of screen to watch the video of this Webpage, in the screen of client, shown a part for the operation interface of the title of video and the player of displaying video.Therefore user also needs just can watch whole player by page adjustment (as roller moves down or drop-down Moving-strip etc.), and user adjusts the page one time, the page refreshes once, the PV of the page increases once, user's PV reduces once, increase the operating load of system, reduced the buffer memory speed of video, affected the efficiency that user watches video.
Summary of the invention
The embodiment of the present invention provides a kind of Web-page Multi-media play handling method and device, in order to solve cannot completely the display the play operation interface of device of the screen of the client existing in prior art, user needs page adjustment, increased the operating load of system, reduce the buffer memory speed of video, finally affected the problem that user watches the efficiency of video.
The concrete technical scheme that the embodiment of the present invention provides is as follows:
First aspect, a kind of Web-page Multi-media play handling method, comprising:
Receive the playing request of client, in described playing request, carry the resolution of the height of the broadcast interface of described client, the current use of described client, and the sign of the multimedia place Webpage of described client-requested broadcasting;
The sign of the multimedia place Webpage of playing according to described client-requested is obtained corresponding Webpage, determines the width of described Webpage;
According to the width of the resolution of the current use of described client, described Webpage, the size of described Webpage is adjusted, and the position of player and the position of corresponding title in the Webpage after determine adjusting;
According to the height of the broadcast interface of described client, adjust the position of player in described Webpage and the position of corresponding title, and play the multimedia that described client-requested is play.
By this method, according to the position of the position of player in the height control Webpage of the broadcast interface of client and corresponding title, can make the operation interface of the complete device that displays the play of client, user does not need to do page adjustment, reduced the operating load of system, improve the buffer memory speed of video, finally improved the efficiency that user watches video.
In conjunction with first aspect, in the possible implementation of the first, according to the width of the resolution of the current use of described client, described Webpage, the size of described Webpage is adjusted, comprising:
According to the resolution of the current use of described client, determine that the target of described Webpage is adjusted width;
Using the ratio of the width of described target adjustment width and described Webpage as target resize ratio;
Using the long-pending height of the target adjustment as described Webpage of the height of described Webpage and described target resize ratio;
According to described target, adjust width, described target adjustment height, the size of described Webpage is adjusted.
By this method, can to the size of Webpage, adjust according to the resolution of the current use of client.
In conjunction with the possible implementation of the first of first aspect or first aspect, in the possible implementation of the second, the position of the position of player and corresponding title in the Webpage after determine adjusting, comprising:
Detect the Webpage after adjusting, determine the height of player in the upper left corner coordinate of player in described Webpage and described Webpage, and according to the height of player in the upper left corner coordinate of player in described Webpage and described Webpage, determine the position of player in the Webpage after adjusting;
Detect the Webpage after adjusting, determine the upper left corner coordinate of the title that in described Webpage, player is corresponding and the height of described title, and according to the upper left corner coordinate of described title and the height of described title, determine the position of the title that in the Webpage after adjusting, player is corresponding.
By this method, can determine the position of player in the Webpage after adjustment and the position of corresponding title.
In conjunction with the possible implementation of the second of first aspect, in the third possible implementation, according to the height of the broadcast interface of described client, adjust the position of player in described Webpage and the position of corresponding title, comprising:
When the height of judging the broadcast interface of described client is less than the height of player in the Webpage after adjustment and the height sum of corresponding title, by the location swap of the position of player in described Webpage and corresponding title, and the position of player in described Webpage is adjusted to the central authorities of the broadcast interface of described client.
By this method, in the time of can cannot presenting title and player at client terminal playing interface, device preferentially displays the play.
In conjunction with the third possible implementation of first aspect, in the 4th kind of possible implementation, according to the height of the broadcast interface of described client, after adjusting the position of described Webpage player and the position of corresponding title, further comprise:
The title that in described Webpage, player is corresponding is suspended in to the assigned address of described broadcast interface; Or,
The title that in described Webpage, player is corresponding is hidden.
By this method, can make the client first device that displays the play.
Second aspect, a kind of Web-page Multi-media playback process device, comprising:
Receiving element, for receiving the playing request of client, carries the resolution of the height of the broadcast interface of described client, the current use of described client in described playing request, and the sign of the multimedia place Webpage of described client-requested broadcasting;
Acquiring unit, for obtaining corresponding Webpage according to the sign of the multimedia place Webpage of described client-requested broadcasting, determines the width of described Webpage;
The first processing unit, for according to the width of the resolution of the current use of described client, described Webpage, adjusts the size of described Webpage, and the position of player and the position of corresponding title in the Webpage after determine adjusting;
The second processing unit, for according to the height of the broadcast interface of described client, adjusts the position of player in described Webpage and the position of corresponding title, and plays the multimedia that described client-requested is play.
Like this, Web-page Multi-media playback process device can be according to the position of the position of player in the height control Webpage of the broadcast interface of client and corresponding title, make the operation interface of the complete device that displays the play of client, user does not need to do page adjustment, reduced the operating load of system, improve the buffer memory speed of video, finally improved the efficiency that user watches video.
In conjunction with second aspect, in the possible implementation of the first, described the first processing unit, specifically for:
According to the resolution of the current use of described client, determine that the target of described Webpage is adjusted width;
Using the ratio of the width of described target adjustment width and described Webpage as target resize ratio;
Using the long-pending height of the target adjustment as described Webpage of the height of described Webpage and described target resize ratio;
According to described target, adjust width, described target adjustment height, the size of described Webpage is adjusted.
Like this, the first processing unit can be adjusted the size of Webpage according to the resolution of the current use of client.
In conjunction with the possible implementation of the first of second aspect or second aspect, in the possible implementation of the second, described the first processing unit, also for:
Detect the Webpage after adjusting, determine the height of player in the upper left corner coordinate of player in described Webpage and described Webpage, and according to the height of player in the upper left corner coordinate of player in described Webpage and described Webpage, determine the position of player in the Webpage after adjusting;
Detect the Webpage after adjusting, determine the upper left corner coordinate of the title that in described Webpage, player is corresponding and the height of described title, and according to the upper left corner coordinate of described title and the height of described title, determine the position of the title that in the Webpage after adjusting, player is corresponding.
Like this, the first processing unit can be determined the position of player in the Webpage after adjustment and the position of corresponding title.
In conjunction with the possible implementation of the second of second aspect, in the third possible implementation, described the second processing unit, specifically for:
When the height of judging the broadcast interface of described client is less than the height of player in the Webpage after adjustment and the height sum of corresponding title, by the location swap of the position of player in described Webpage and corresponding title, and the position of player in described Webpage is adjusted to the central authorities of the broadcast interface of described client.
Like this, when the second processing unit can cannot present title and player at client terminal playing interface, device preferentially displays the play.
In conjunction with the third possible implementation of second aspect, in the 4th kind of possible implementation, described the second processing unit, also for:
According to the height of the broadcast interface of described client, after adjusting the position of described Webpage player and the position of corresponding title, the title that in described Webpage, player is corresponding is suspended in to the assigned address of described broadcast interface; Or,
According to the height of the broadcast interface of described client, after adjusting the position of described Webpage player and the position of corresponding title, the title that in described Webpage, player is corresponding is hidden.
Like this, the second processing unit can make the client first device that displays the play.
Adopt technical solution of the present invention, by according to the position of the position of player in the height control Webpage of the broadcast interface of client and corresponding title, can make the operation interface of the complete device that displays the play of client, user does not need to do page adjustment, reduced the operating load of system, improve the buffer memory speed of video, finally improved the efficiency that user watches video.
Accompanying drawing explanation
A kind of Web-page Multi-media play handling method particular flow sheet that Fig. 1 provides for the embodiment of the present invention;
The Webpage adjustment instance graph one that Fig. 2 A provides for the embodiment of the present invention;
The Webpage that Fig. 2 B provides for the embodiment of the present invention is adjusted the design sketch of instance graph one correspondence;
The Webpage adjustment instance graph two that Fig. 3 A provides for the embodiment of the present invention;
The Webpage that Fig. 3 B provides for the embodiment of the present invention is adjusted the design sketch of instance graph two correspondences;
The Webpage adjustment instance graph three that Fig. 4 provides for the embodiment of the present invention;
The schematic diagram of a kind of Web-page Multi-media playback process device that Fig. 5 provides for the embodiment of the present invention.
Embodiment
Adopt technical solution of the present invention, can effectively avoid existing in prior art cannot completely the display the play operation interface of device of the screen of client, user needs page adjustment, increased the operating load of system, reduce the buffer memory speed of video, finally affected the problem that user watches the efficiency of video.
The embodiment of the present invention provides a kind of Web-page Multi-media play handling method, is applied to various multimedia treating apparatus, below in conjunction with accompanying drawing, the preferred embodiment of the present invention is elaborated.
Consult shown in Fig. 1, the concrete treatment scheme of a kind of Web-page Multi-media play handling method that the present embodiment provides comprises:
Step 101: receive the playing request of client, in this playing request, carry the height of the broadcast interface of this client, the resolution of the current use of this client, and the sign of the multimedia place Webpage of this client-requested broadcasting.
When user's wish is accessed certain video website, client need to be sent playing request to the server apparatus of this website, wherein in this playing request, carries the height of the broadcast interface of this client, the sign of the multimedia place Webpage of the resolution of the current use of this client, client-requested broadcasting.
Client type has a lot, such as common computer, panel computer, smart mobile phone etc., and client type is different, corresponding resolution is different, and a client can arrange different resolution, for example computer, can be set to 1024*768, or 1280*1024 etc.
Different client types, corresponding broadcast interface is also different, and for example the broadcast interface of computer is the current window of opening Webpage, the screen that the broadcast interface of smart mobile phone is mobile phone.Hence one can see that, client type is different, and the height of corresponding broadcast interface is also different, for the broadcast interface of computer, the height of broadcast interface is the height of opening the current window of Webpage, and the height that is mobile phone screen for the height of the broadcast interface of smart mobile phone.
Each webpage has the sign of specific Webpage in order to distinguish from webpage of the same type, and wherein, the sign of this Webpage can be the address of this Webpage.
Step 102: the sign of the multimedia place Webpage of playing according to client-requested is obtained corresponding Webpage, determines the width of this Webpage.
Because each Webpage has the sign of specific Webpage, so sign (as the address of this Webpage) of the multimedia place Webpage that can play according to the client-requested of carrying in the playing request of the client receiving, can determine corresponding Webpage, at server side, determine the width of this Webpage.
Step 103: according to the width of the resolution of the current use of client, Webpage, the size of this Webpage is adjusted, and the position of player and the position of corresponding title in the Webpage after determine adjusting.
Concrete, according to the width of the resolution of the current use of client, Webpage, the size of this Webpage is adjusted, comprising:
According to the resolution of the current use of this client, determine that the target of this Webpage is adjusted width;
Using the ratio of the width of this target adjustment width and this Webpage as target resize ratio;
Using the long-pending height of the target adjustment as this Webpage of the height of this Webpage and this target resize ratio;
According to this target, adjust width, this target adjustment height, the size of this Webpage is adjusted.
Wherein, the target of this Webpage is adjusted the cumulative width of all pixels across that width is the resolution of the current use of this client, for example, the resolution of the current use of this client is 1280*1024, this to browse the current display width of window be the cumulative width of 1280 pixels.
Consult shown in Fig. 2 A, wherein, client is mobile phone, its resolution is 800*640, former Webpage is for obtaining corresponding Webpage according to the sign of the multimedia place Webpage of client-requested broadcasting, according to the resolution of the current use of this client, the target adjustment width of determining this Webpage is the cumulative width of 800 pixels, then the ratio of adjusting width according to the width of former Webpage and target is as target resize ratio, using the long-pending height of the target adjustment as former Webpage of the height of former Webpage and target resize ratio, finally, former Webpage is adjusted into target and adjusts width, target adjustment height, completed the size adjustment to former Webpage, see the Webpage after adjustment in figure, if adopt the technique of expression of prior art, consult shown in Fig. 2 B, client cannot show whole player, user also needs the adjustment of carrying out again broadcast interface to process.
Concrete, determine the position of player in the Webpage after adjusting and the position of corresponding title, comprising:
Detect the Webpage after adjusting, determine the height of player in the upper left corner coordinate of player in this Webpage and this Webpage, and according to the height of player in the upper left corner coordinate of player in this Webpage and this Webpage, determine the position of player in the Webpage after adjusting;
Detect the Webpage after adjusting, determine the upper left corner coordinate of the title that in this Webpage, player is corresponding and the height of this title, and according to the upper left corner coordinate of this title and the height of this title, determine the position of the title that in the Webpage after adjusting, player is corresponding.
The coordinate of the upper left corner by determining player in Webpage and corresponding title in this Webpage, and the height of player and the height of corresponding title in this Webpage, can determine the position of player in this Webpage and corresponding title.
Step 104: according to the height of the broadcast interface of client, adjust and to have adjusted the position of player in the Webpage after size and the position of corresponding title, and play the multimedia that this client-requested is play.
Concrete, according to the height of the broadcast interface of client, adjust the position of player in Webpage and the position of corresponding title, comprising:
When the height of judging the broadcast interface of this client is less than the height of player in the Webpage after adjustment and the height sum of corresponding title, by the location swap of the position of player in this Webpage and corresponding title, and the position of player in this Webpage is adjusted to the central authorities of the broadcast interface of this client;
When the height of judging the broadcast interface of this client is more than or equal to the height of player in the Webpage after adjustment and the height sum of corresponding title, do not adjust the position of player in Webpage and the position of corresponding title.
Shown in Fig. 3 A, the height of judging the broadcast interface of client is more than or equal to the height sum of height and the corresponding title of player in the Webpage after adjustment, by the location swap of the position of player in this Webpage and corresponding title, be about to player the upper left corner move to before in Webpage on the coordinate in the upper left corner of corresponding title, by the below that moves to player of title corresponding to player.
Like this, consult shown in Fig. 3 B, user just, not by manually adjusting the broadcast interface of client, directly shows whole player.
According to the height of the broadcast interface of client, after the position of the position of adjustment Webpage player and corresponding title, further comprise:
The title that in this Webpage, player is corresponding is suspended in to the assigned address of broadcast interface; Or,
The title that in this Webpage, player is corresponding is hidden.
In practical application scene, can and need to adjust the position of the title that player is corresponding according to actual conditions, this title can be suspended in to the assigned address of broadcast interface, also this title can be hidden, or in the setting duration after displaying video, this title is suspended in to the assigned address of broadcast interface, afterwards this title is hidden.
For example, user watches by mobile phone the video that the video title in a certain video website is " ABC ", wherein, the resolution of mobile phone is X*Y, the flow process of a kind of Web-page Multi-media play handling method that the embodiment of the present invention provides is: the playing request that receives mobile phone (client), wherein, the height (the accumulation height of Y pixel) that has carried the broadcast interface of mobile phone in this playing request is, the address of " ABC " place Webpage of the resolution (X*Y) of the current use of this client, mobile phone request broadcasting, according to the address of Webpage, obtain corresponding Webpage, determine the width of this Webpage, according to the resolution X*Y of the current use of mobile phone, the target adjustment width of determining this Webpage is the cumulative width of X pixel, target resize ratio using the width of the cumulative width of X pixel/this Webpage as this Webpage, and according to this target resize ratio, the height and width of Webpage are adjusted, consult shown in Fig. 2 A, player in Webpage after detection is adjusted and corresponding title " ABC ", determine coordinate and the height in the upper left corner of player in this Webpage, the coordinate in the upper left corner of the title that in this Webpage, player is corresponding " ABC " and height, the position of the final position of determining player in the Webpage after adjusting and corresponding title, wherein in Webpage player below corresponding title, consult shown in Fig. 3 A, the height (accumulation of Y pixel highly) of judging the broadcast interface of mobile phone is less than the height sum of height and the corresponding title of player in the Webpage after adjustment, by the location swap of the position of player in Webpage and corresponding title, be about to player the upper left corner move to before in Webpage on the coordinate in the upper left corner of corresponding title, by the below that moves to player of title corresponding to player, the position of player in this Webpage is adjusted to the central authorities of the player of mobile phone, and the title that in this Webpage, player is corresponding " ABC " is suspended in to the upper right side of player, be used for the title of video of reminding user player plays, consult shown in Fig. 4.
Based on above-described embodiment, to consult shown in Fig. 5, the embodiment of the present invention also provides a kind of Web-page Multi-media playback process device, specifically comprises: receiving element 501, acquiring unit 502, the first processing unit 503 and the second processing unit 504, wherein
Receiving element 501, for receiving the playing request of client, carries the height of the broadcast interface of this client, the resolution of the current use of this client in this playing request, and the sign of the multimedia place Webpage of this client-requested broadcasting;
Acquiring unit 502, for obtaining corresponding Webpage according to the sign of the multimedia place Webpage of this client-requested broadcasting, determines the width of this Webpage;
The first processing unit 503, for according to the width of the resolution of the current use of this client, this Webpage, adjusts the size of this Webpage, and the position of player and the position of corresponding title in the Webpage after determine adjusting;
The second processing unit 504, for according to the height of the broadcast interface of this client, adjusts the position of player in this Webpage and the position of corresponding title, and plays the multimedia that this client-requested is play.
The first processing unit 503, specifically for:
According to the resolution of the current use of client, determine that the target of Webpage is adjusted width;
Using the ratio of the width of this target adjustment width and this Webpage as target resize ratio;
Using the long-pending height of the target adjustment as this Webpage of the height of this Webpage and this target resize ratio;
According to target, adjust width, target adjustment height, the size of this Webpage is adjusted.
The first processing unit 503, also for:
Detect the Webpage after adjusting, determine the height of player in the upper left corner coordinate of player in this Webpage and this Webpage, and according to the height of player in the upper left corner coordinate of player in this Webpage and this Webpage, determine the position of player in the Webpage after adjusting;
Detect the Webpage after adjusting, determine the upper left corner coordinate of the title that in this Webpage, player is corresponding and the height of this title, and according to the upper left corner coordinate of this title and the height of this title, determine the position of the title that in the Webpage after adjusting, player is corresponding.
The second processing unit 504, specifically for:
When the height of judging the broadcast interface of client is less than the height of player in the Webpage after adjustment and the height sum of corresponding title, by the location swap of the position of player in this Webpage and corresponding title, and the position of player in this Webpage is adjusted to the central authorities of the broadcast interface of this client.
The second processing unit 504, also for:
According to the height of the broadcast interface of client, after the position of the position of adjustment Webpage player and corresponding title, the title that in this Webpage, player is corresponding is suspended in to the assigned address of this broadcast interface; Or,
According to the height of the broadcast interface of client, after the position of the position of adjustment Webpage player and corresponding title, the title that in this Webpage, player is corresponding is hidden.
In sum, the embodiment of the present invention provides a kind of Web-page Multi-media play handling method and device, receive the playing request of client, obtain corresponding Webpage, determine the width of this Webpage, according to the width of the resolution of the current use of client, Webpage, the size of this Webpage is adjusted, and the position of player and the position of corresponding title in the Webpage after determine adjusting; According to the height of the broadcast interface of client, adjust and to have adjusted the position of player in the Webpage after size and the position of corresponding title, and play the multimedia that this client-requested is play.By according to the position of the position of player in the height control Webpage of the broadcast interface of client and corresponding title, can make the operation interface of the complete device that displays the play of client, user does not need to do page adjustment, reduced the operating load of system, improve the buffer memory speed of video, finally improved the efficiency that user watches video.
Although described the preferred embodiments of the present invention, once those skilled in the art obtain the basic creative concept of cicada, can make other change and modification to these embodiment.So claims are intended to all changes and the modification that are interpreted as comprising preferred embodiment and fall into the scope of the invention.
Obviously, those skilled in the art can carry out various changes and modification and not depart from the spirit and scope of the embodiment of the present invention the embodiment of the present invention.Like this, if within these of the embodiment of the present invention are revised and modification belongs to the scope of the claims in the present invention and equivalent technologies thereof, the present invention is also intended to comprise these changes and modification interior.

Claims (10)

1. a Web-page Multi-media play handling method, is characterized in that, comprising:
Receive the playing request of client, in described playing request, carry the resolution of the height of the broadcast interface of described client, the current use of described client, and the sign of the multimedia place Webpage of described client-requested broadcasting;
The sign of the multimedia place Webpage of playing according to described client-requested is obtained corresponding Webpage, determines the width of described Webpage;
According to the width of the resolution of the current use of described client, described Webpage, the size of described Webpage is adjusted, and the position of player and the position of corresponding title in the Webpage after determine adjusting;
According to the height of the broadcast interface of described client, adjust the position of player in described Webpage and the position of corresponding title, and play the multimedia that described client-requested is play.
2. the method for claim 1, is characterized in that, according to the width of the resolution of the current use of described client, described Webpage, the size of described Webpage is adjusted, and comprising:
According to the resolution of the current use of described client, determine that the target of described Webpage is adjusted width;
Using the ratio of the width of described target adjustment width and described Webpage as target resize ratio;
Using the long-pending height of the target adjustment as described Webpage of the height of described Webpage and described target resize ratio;
According to described target, adjust width, described target adjustment height, the size of described Webpage is adjusted.
3. method as claimed in claim 1 or 2, is characterized in that, the position of the position of player and corresponding title in the Webpage after determine adjusting, comprising:
Detect the Webpage after adjusting, determine the height of player in the upper left corner coordinate of player in described Webpage and described Webpage, and according to the height of player in the upper left corner coordinate of player in described Webpage and described Webpage, determine the position of player in the Webpage after adjusting;
Detect the Webpage after adjusting, determine the upper left corner coordinate of the title that in described Webpage, player is corresponding and the height of described title, and according to the upper left corner coordinate of described title and the height of described title, determine the position of the title that in the Webpage after adjusting, player is corresponding.
4. method as claimed in claim 3, is characterized in that, according to the height of the broadcast interface of described client, adjusts the position of player in described Webpage and the position of corresponding title, comprising:
When the height of judging the broadcast interface of described client is less than the height of player in the Webpage after adjustment and the height sum of corresponding title, by the location swap of the position of player in described Webpage and corresponding title, and the position of player in described Webpage is adjusted to the central authorities of the broadcast interface of described client.
5. method as claimed in claim 4, is characterized in that, according to the height of the broadcast interface of described client, after adjusting the position of described Webpage player and the position of corresponding title, further comprises:
The title that in described Webpage, player is corresponding is suspended in to the assigned address of described broadcast interface; Or,
The title that in described Webpage, player is corresponding is hidden.
6. a Web-page Multi-media playback process device, is characterized in that, comprising:
Receiving element, for receiving the playing request of client, carries the resolution of the height of the broadcast interface of described client, the current use of described client in described playing request, and the sign of the multimedia place Webpage of described client-requested broadcasting;
Acquiring unit, for obtaining corresponding Webpage according to the sign of the multimedia place Webpage of described client-requested broadcasting, determines the width of described Webpage;
The first processing unit, for according to the width of the resolution of the current use of described client, described Webpage, adjusts the size of described Webpage, and the position of player and the position of corresponding title in the Webpage after determine adjusting;
The second processing unit, for according to the height of the broadcast interface of described client, adjusts the position of player in described Webpage and the position of corresponding title, and plays the multimedia that described client-requested is play.
7. device as claimed in claim 6, is characterized in that, described the first processing unit, specifically for:
According to the resolution of the current use of described client, determine that the target of described Webpage is adjusted width;
Using the ratio of the width of described target adjustment width and described Webpage as target resize ratio;
Using the long-pending height of the target adjustment as described Webpage of the height of described Webpage and described target resize ratio;
According to described target, adjust width, described target adjustment height, the size of described Webpage is adjusted.
8. the device as described in claim 6 or 7, is characterized in that, described the first processing unit, also for:
Detect the Webpage after adjusting, determine the height of player in the upper left corner coordinate of player in described Webpage and described Webpage, and according to the height of player in the upper left corner coordinate of player in described Webpage and described Webpage, determine the position of player in the Webpage after adjusting;
Detect the Webpage after adjusting, determine the upper left corner coordinate of the title that in described Webpage, player is corresponding and the height of described title, and according to the upper left corner coordinate of described title and the height of described title, determine the position of the title that in the Webpage after adjusting, player is corresponding.
9. device as claimed in claim 8, is characterized in that, described the second processing unit, specifically for:
When the height of judging the broadcast interface of described client is less than the height of player in the Webpage after adjustment and the height sum of corresponding title, by the location swap of the position of player in described Webpage and corresponding title, and the position of player in described Webpage is adjusted to the central authorities of the broadcast interface of described client.
10. device as claimed in claim 9, is characterized in that, described the second processing unit, also for:
According to the height of the broadcast interface of described client, after adjusting the position of described Webpage player and the position of corresponding title, the title that in described Webpage, player is corresponding is suspended in to the assigned address of described broadcast interface; Or,
According to the height of the broadcast interface of described client, after adjusting the position of described Webpage player and the position of corresponding title, the title that in described Webpage, player is corresponding is hidden.
CN201310739851.3A 2013-12-26 2013-12-26 Method and device for playing and processing multimedia of web pages Pending CN103699657A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310739851.3A CN103699657A (en) 2013-12-26 2013-12-26 Method and device for playing and processing multimedia of web pages

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310739851.3A CN103699657A (en) 2013-12-26 2013-12-26 Method and device for playing and processing multimedia of web pages

Publications (1)

Publication Number Publication Date
CN103699657A true CN103699657A (en) 2014-04-02

Family

ID=50361185

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310739851.3A Pending CN103699657A (en) 2013-12-26 2013-12-26 Method and device for playing and processing multimedia of web pages

Country Status (1)

Country Link
CN (1) CN103699657A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105898510A (en) * 2015-12-08 2016-08-24 乐视网信息技术(北京)股份有限公司 Method and device for configuring video player in webpage
CN105975635A (en) * 2016-06-24 2016-09-28 武汉斗鱼网络科技有限公司 Interaction method and device capable of realizing adaptive grids at front end
CN106484883A (en) * 2016-10-17 2017-03-08 北京邮电大学 webpage loading method and device
CN106484741A (en) * 2015-09-01 2017-03-08 北京国双科技有限公司 The method and device that a kind of single page application accesses data collection and sends
CN114071243A (en) * 2021-11-16 2022-02-18 上海商汤智能科技有限公司 Video playing method and device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1471794A (en) * 2000-10-24 2004-01-28 汤姆森许可公司 Method of sizing an embedded media player page
CN101115068A (en) * 2007-07-19 2008-01-30 潘晓梅 Method and system for adjusting web page display contents on client terminal
CN101183292A (en) * 2006-11-16 2008-05-21 Lg电子株式会社 Mobile terminal and screen display method thereof
CN101883089A (en) * 2010-04-22 2010-11-10 深圳市酷开网络科技有限公司 Method, device and system for displaying Internet webpage on play terminal
CN103105999A (en) * 2013-01-17 2013-05-15 广东欧珀移动通信有限公司 Video window adjustment method and mobile intelligent terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1471794A (en) * 2000-10-24 2004-01-28 汤姆森许可公司 Method of sizing an embedded media player page
CN101183292A (en) * 2006-11-16 2008-05-21 Lg电子株式会社 Mobile terminal and screen display method thereof
CN101115068A (en) * 2007-07-19 2008-01-30 潘晓梅 Method and system for adjusting web page display contents on client terminal
CN101883089A (en) * 2010-04-22 2010-11-10 深圳市酷开网络科技有限公司 Method, device and system for displaying Internet webpage on play terminal
CN103105999A (en) * 2013-01-17 2013-05-15 广东欧珀移动通信有限公司 Video window adjustment method and mobile intelligent terminal

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106484741A (en) * 2015-09-01 2017-03-08 北京国双科技有限公司 The method and device that a kind of single page application accesses data collection and sends
CN106484741B (en) * 2015-09-01 2019-06-18 北京国双科技有限公司 A kind of method and device of single page application access data collection and transmission
CN105898510A (en) * 2015-12-08 2016-08-24 乐视网信息技术(北京)股份有限公司 Method and device for configuring video player in webpage
WO2017096893A1 (en) * 2015-12-08 2017-06-15 乐视控股(北京)有限公司 Method and apparatus for configuring video player in web page
CN105975635A (en) * 2016-06-24 2016-09-28 武汉斗鱼网络科技有限公司 Interaction method and device capable of realizing adaptive grids at front end
CN106484883A (en) * 2016-10-17 2017-03-08 北京邮电大学 webpage loading method and device
CN114071243A (en) * 2021-11-16 2022-02-18 上海商汤智能科技有限公司 Video playing method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN113157906B (en) Recommendation information display method, device, equipment and storage medium
US9672539B2 (en) Advertisement generation apparatus and terminal device
KR101786917B1 (en) Systems and methods for displaying fixed-scale content on mobile devices
CN103699657A (en) Method and device for playing and processing multimedia of web pages
CN103970894A (en) Method and system for displaying interface streaming layout in adaptive adjustment mode
AU2014308633B2 (en) Swipe toolbar to switch tabs
JP2011128204A (en) Advertisement distribution device, method, and program
CN103294767A (en) Multimedia information display method and device for browser
CN108989869B (en) Video picture playing method, device, equipment and computer readable storage medium
US11757955B2 (en) Information switching and sharing method, device, electronic apparatus, and storage medium
EP4343512A1 (en) Control display method and apparatus, device, and medium
CN103678497A (en) Method and system for adjusting browse display of search page
US20120124468A1 (en) Electronic Apparatus Having a Touch-Controlled Interface and Method of Displaying Figures Related to Files within a certain Time Period
JP5697780B1 (en) Distribution device, display control device, display control method, and display control program
CN104765539A (en) Message display method and device
CN112486611A (en) Page switching display method and device, storage medium and electronic equipment
CN111638818B (en) Window position adjusting method and device and electronic equipment
CN110647369B (en) Page dynamic display method and device, mobile terminal and storage medium
JP5563703B2 (en) Content distribution apparatus, content distribution method, content distribution program, and terminal program
US20200219148A1 (en) Systems and methods for view-based advertisement selection
CN102325273B (en) Video terminal and display method of screen menu type page data of same
CN103744867A (en) Method and device for setting Web page backgrounds and browser
CN106598398A (en) Realization method for video full screen, and electronic equipment
CN103455503A (en) Word stock collection method, webpage rendering method, device and system
JP2016042372A (en) Program for terminal, terminal device and terminal control method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20140402

RJ01 Rejection of invention patent application after publication