CN104853254A - Video playing method and mobile terminal - Google Patents
Video playing method and mobile terminal Download PDFInfo
- Publication number
- CN104853254A CN104853254A CN201510274413.3A CN201510274413A CN104853254A CN 104853254 A CN104853254 A CN 104853254A CN 201510274413 A CN201510274413 A CN 201510274413A CN 104853254 A CN104853254 A CN 104853254A
- Authority
- CN
- China
- Prior art keywords
- player
- video
- mobile terminal
- prerequisite
- switching
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 27
- 230000001960 triggered effect Effects 0.000 description 8
- 238000010586 diagram Methods 0.000 description 4
- 230000002123 temporal effect Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 241000278713 Theora Species 0.000 description 1
- 241000282485 Vulpes vulpes Species 0.000 description 1
- 239000000654 additive Substances 0.000 description 1
- 230000000996 additive effect Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 235000008954 quail grass Nutrition 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/478—Supplemental services, e.g. displaying phone caller identification, shopping application
- H04N21/4782—Web browsing, e.g. WebTV
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/231—Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Information Transfer Between Computers (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The embodiment of the invention discloses a video playing method, which is used for selecting a video player for playing videos to improve the user experience. The method in the embodiment of the invention comprises the following steps: receiving a webpage comprising an HTML5 video tag through a mobile terminal; judging whether a preset condition for switching the player is satisfied or not, and if so, switching a webpage player corresponding to the HTML5 video tag to a target player; and playing a video file received by the mobile terminal through the target player. The embodiment of the invention also discloses a mobile terminal, which can be used for selecting a video player for playing videos to improve the user experience.
Description
Technical field
The present invention relates to multimedia technology field, particularly relate to a kind of video broadcasting method and mobile terminal.
Background technology
HTML5 be the 5th generation HTML standard criterion, existing HTML5 media player utilizes HTML5 assembly, CSS (CSS, Cascading Style Sheets) assembly and JavaScript assembly realize, with CSS component construction player interface, obtain video parameter with JavaScript assembly, obtain video content and broadcasting with the <video> label in HTML5 assembly.The video playback plug-in unit provided in Mobile solution market at present or local video player, the video format of HTML5 can be supported, abundant video capability can also be provided for user, such as download, F.F., rewind, screen locking, definition are selected, gesture or share.
In prior art, mobile terminal provides the process of video roughly as follows for user, when user is by terminal browsing video website, video server can identify by identification terminal, if terminal supports HTML5, video server can provide user interface and the video of HTML5 to user, terminal can play-over by browser the video that video server provides.
Because HTML5 standard is not yet used widely, the video player that <video> label is corresponding only can support several simple function, comprises beginning, suspends and progress bar, the operable function of user is very limited, therefore the non-constant of Consumer's Experience.
Summary of the invention
In view of this, embodiment of the present invention first aspect provides a kind of video broadcasting method, comprising:
Mobile terminal receiving package contains the webpage of HTML5 video tab;
Above-mentioned mobile terminal judges whether to meet the prerequisite switching player, if so, then web player corresponding for above-mentioned HTML5 video tab is switched to destination player;
The video file that above-mentioned mobile terminal is received by above-mentioned destination player broadcasting mobile terminal.
In conjunction with the first aspect of the embodiment of the present invention, in the first possible execution mode of embodiment of the present invention first aspect, above-mentioned destination player is video playback plug-in unit or local video player.
In conjunction with the first aspect of the embodiment of the present invention, or the first possible execution mode of embodiment of the present invention first aspect, in the execution mode that the second of embodiment of the present invention first aspect is possible, above-mentioned mobile terminal comprises before judging whether to meet the prerequisite switching player:
Above-mentioned mobile terminal passes through web player receiver, video file corresponding to HTML5 video tab;
Then above-mentioned mobile terminal judges whether that meeting the prerequisite switching player comprises:
Whether above-mentioned mobile terminal detects the decoding efficiency of above-mentioned video file lower than preset threshold value, if so, then determines to meet the prerequisite switching player.
In conjunction with the execution mode that the second of embodiment of the present invention first aspect is possible, in the third possible execution mode of embodiment of the present invention first aspect, above-mentioned mobile terminal judges whether that meeting the prerequisite switching player comprises:
Whether the duration that above-mentioned mobile terminal detects above-mentioned video file exceedes preset duration, if so, then determines to meet the prerequisite switching player.
In conjunction with the first aspect of the embodiment of the present invention, or the first possible execution mode of embodiment of the present invention first aspect, in 4th kind of possible execution mode of embodiment of the present invention first aspect, the webpage that above-mentioned mobile terminal receiving package contains HTML5 video tab comprises:
Above-mentioned mobile terminal contains the webpage of HTML5 video tab by browser receiving package;
Then above-mentioned mobile terminal judges whether that meeting the prerequisite switching player comprises:
Whether above-mentioned mobile terminal detects above-mentioned browser is preset browser, if so, then determines to meet the prerequisite switching player.
Second aspect present invention provides a kind of mobile terminal, comprising:
Receiver module, contains the webpage of HTML5 video tab for receiving package;
Judge module, meets for judging whether the prerequisite switching player, if so, then triggers handover module and web player corresponding for above-mentioned HTML5 video tab is switched to destination player;
Handover module, for switching to destination player by web player corresponding for above-mentioned HTML5 video tab;
Playing module, for playing the video file that above-mentioned mobile terminal receives by above-mentioned destination player.
In conjunction with the second aspect of the embodiment of the present invention, in the first possible execution mode of embodiment of the present invention second aspect, above-mentioned destination player is video playback plug-in unit or local video player.
In conjunction with the second aspect of the embodiment of the present invention, or the first possible execution mode of embodiment of the present invention second aspect, in the execution mode that the second of embodiment of the present invention second aspect is possible, above-mentioned receiver module is also for by web player receiver, video file corresponding to HTML5 video tab;
Then whether above-mentioned judge module is specifically for detecting the decoding efficiency of above-mentioned video file lower than preset threshold value, if so, then determines to meet the prerequisite switching player.
In conjunction with the execution mode that the second of embodiment of the present invention second aspect is possible, in the third possible execution mode of embodiment of the present invention second aspect, whether above-mentioned judge module exceedes preset duration specifically for the duration detecting above-mentioned video file, if so, then determine to meet the prerequisite switching player.
In conjunction with the second aspect of the embodiment of the present invention, or the first possible execution mode of embodiment of the present invention second aspect, in 4th kind of possible execution mode of embodiment of the present invention second aspect, above-mentioned receiver module is browser, then whether above-mentioned judge module is preset browser specifically for detecting above-mentioned browser, if so, then determine to meet the prerequisite switching player.
In the embodiment of the present invention, mobile terminal receiving package contains the webpage of video tab, judge whether to meet the prerequisite switching player, if, then web player corresponding for HTML5 video tab is switched to destination player, by the video that destination player broadcasting mobile terminal receives, mobile terminal can when the playing function of web player be not enough or result of broadcast is short of, change by video playback plug-in unit or local video player plays video, due to the feature richness of video playback plug-in unit or local video player, user can regulate the video play according to the demand of oneself and preference, improve Consumer's Experience.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is an embodiment schematic diagram of video broadcasting method in the embodiment of the present invention;
Fig. 2 is another embodiment schematic diagram of video broadcasting method in the embodiment of the present invention;
Fig. 3 is an embodiment schematic diagram of mobile terminal in the embodiment of the present invention;
Fig. 4 is another embodiment schematic diagram of mobile terminal in the embodiment of the present invention.
Embodiment
Embodiments providing a kind of video broadcasting method, for selecting video player displaying video according to the actual requirements, improve Consumer's Experience.
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those skilled in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Refer to Fig. 1, in the embodiment of the present invention, an embodiment of video broadcasting method comprises:
101, mobile terminal receiving package contains the webpage of HTML5 video tab;
When user accesses HTML5 webpage, the HTML5 page is sent to mobile terminal according to the request of mobile terminal by Web server, and mobile terminal receiving package can contain the webpage of video tab.
102, mobile terminal judges whether to meet and switches the prerequisite of player, if so, then triggered step 103;
Wherein, HTML5 video tab is video label, and web player corresponding to HTML5 video tab is by HTML5 assembly, and CSS assembly and JavaScript assembly realize.
Mobile terminal judges whether to meet the prerequisite switching player, if so, shows that web player playing function is not enough or result of broadcast is short of, needs to change player, triggered step 103; When mobile terminal is determined not meet the prerequisite switching player, show not need to change player, the web player that mobile terminal can continue through <video> label corresponding carrys out displaying video.
103, web player corresponding for HTML5 video tab is switched to destination player by mobile terminal;
When determining to meet the prerequisite switching player, web player corresponding for HTML5 video tab is switched to destination player by mobile terminal.
104, mobile terminal plays the video file that receives of mobile terminal by destination player.
Mobile terminal can obtain by destination player the video address that video label specifies, video address and URL(uniform resource locator) (URL, Uniform Resource Locator), destination player from video server receiver, video file, and plays the video file that receives according to video URL.
In the embodiment of the present invention, mobile terminal receiving package contains the webpage of video tab, judge whether to meet the prerequisite switching player, if, then web player corresponding for HTML5 video tab is switched to destination player, by the video that destination player broadcasting mobile terminal receives, mobile terminal can when the playing function of web player be not enough or result of broadcast is short of, change by video playback plug-in unit or local video player plays video, due to the feature richness of video playback plug-in unit or local video player, user can regulate the video play according to the demand of oneself and preference, improve Consumer's Experience.
In actual applications, mobile terminal can trigger the condition switching player in several ways, and specifically refer to Fig. 2, in the embodiment of the present invention, another embodiment of video broadcasting method comprises:
201, mobile terminal receiving package contains the webpage of video tab;
Mobile terminal can utilize browser or WebView control Web page loading, the HTML5 page is sent to browser or WebView control according to the request of mobile terminal by Web server, and mobile terminal contains the webpage of video tab by browser or WebView control receiving package.
202, mobile terminal passes through web player receiver, video file corresponding to HTML5 video tab;
Wherein, HTML5 video tab is video label, and Video label supports Ogg now, the video of MPEG4, WebM tri-kinds of forms, and respectively with Theora, H.264, VP8 video encoding standard is corresponding.
203, whether mobile terminal detects the decoding efficiency of video file lower than preset threshold value, if so, then determines to meet the prerequisite switching player, triggered step 204, if not, then determines not meet the prerequisite switching player, triggered step 206;
Concrete, the size of preset threshold value can be set to the efficiency mean value that mobile terminal adopts hard decoder mode decoded video, and also can be set to the efficiency mean value of soft decoding according to user's request, concrete numerical value is not construed as limiting herein.Existing HTML5 assembly carrys out decoded video by hard decoder mode, namely by video card GPU, video is decoded, decoding efficiency is lower, decoding required time is longer, when whether the decoding efficiency that mobile terminal detects video is lower than preset threshold value, show that decoding efficiency is too low, easily cause sound asynchronous with picture, the faults such as broadcasting pictures or audio cards pause, video time delay, affecting user watches video, when switching to destination player, because destination player can select soft decoding, significantly can improve decoding efficiency, thus realize the lifting to result of broadcast.
Mobile terminal can also judge whether to meet the prerequisite switching player, shown in specific as follows by additive method:
Optionally, as another embodiment of video broadcasting method in the embodiment of the present invention, the webpage that above-mentioned mobile terminal receiving package contains HTML5 video tab comprises:
Above-mentioned mobile terminal contains the webpage of HTML5 video tab by browser receiving package;
Then above-mentioned mobile terminal judges whether that meeting the prerequisite switching player comprises:
Whether above-mentioned mobile terminal detects above-mentioned browser is preset browser, if so, then determines to meet the prerequisite switching player, triggered step 204, if not, then determines not meet the prerequisite switching player, triggered step 206;
Concrete, preset browser is the browser compatible bad with HTML5, and such as, the Opera mini browser of version 5.0-7.0, or red fox browser, can also be other compatible bad browsers, be not construed as limiting herein.Because the standard of HTML5 is not yet ripe, various different browser is different to the degree of support of HTML5.When mobile terminal utilizes preset browser to watch video, because preset browser well can not support HTML5, so there will be sound and picture is asynchronous, broadcasting pictures or audio cards such as to pause at the fault, even cannot displaying video, therefore need to switch player.Such as, the video of H.264 coded format do not supported by Opera browser, when receiving the video of H.264 form, cannot watch video, need to be switched to the player can playing H.264 form, H.264 current video playback plug-in unit or local video player all can be supported.When above-mentioned browser is not preset browser, showing browser and HTML5 compatibility better, can be good at supporting HTML5, displaying video that can be smooth, without the need to switching player, then determining not meet the prerequisite switching player.
Optionally, as another embodiment of video broadcasting method in the embodiment of the present invention, whether the duration that above-mentioned mobile terminal detects above-mentioned video file exceedes preset duration, if, then determine to meet the prerequisite switching player, triggered step 204, if not, then determine not meet the prerequisite switching player, triggered step 206;
Concrete, preset duration can be 20 minutes, and 30 minutes or other durations, concrete numerical value is not construed as limiting herein.Browser can utilize JavaScript assembly to obtain total duration of video from video server, the web player corresponding due to video label does not possess F.F., the functions such as rewind, when user watches the longer video of reproduction time, if the video segment of user to current broadcasting is lost interest in, web player but cannot skip current video segment, the demand that user skips current video segment can not be met, affect Consumer's Experience, need to carry out switching player, and video playback plug-in unit or local video player all can support the function such as F.F. or rewind, therefore when the duration of above-mentioned video file exceedes preset duration, can determine to meet the prerequisite switching player, when the duration of above-mentioned video file is no more than preset duration, show that video is shorter, do not affect Consumer's Experience, determine not meet the prerequisite switching player.
It should be noted that, mobile terminal can also set other prerequisites to trigger switching player, is not construed as limiting herein.
204, web player corresponding for HTML5 video tab is switched to destination player by mobile terminal;
When mobile terminal is determined to meet the prerequisite switching player, web player corresponding for video label can be switched to destination player.
Wherein, destination player is video playback plug-in unit or local video player;
When destination player is video playback plug-in unit, browser stops performing <video> label, loads video playback plug-in unit.It should be noted that, browser can load video playback plug-in unit by Asynchronous loading mode, does not block the loading of webpage, can improve webpage loading velocity.
When destination player is local video player, terminating mobile terminal performs <video> label, opens local video player.
205, mobile terminal plays the video file that receives of mobile terminal by destination player.
Mobile terminal obtains video playback parameter by JavaScript assembly, video playback parameter comprises URL and the video playback temporal information of video file, this URL and video playback temporal information are sent to destination player, destination player obtains video file according to this URL and video playback temporal information from video server, and decoding is playing video file also.Video time broadcast information is the moment that video has been play, and destination player can according to video playback time recording of video play position, from the video playback position playing video file of record.
Be understandable that, mobile terminal can also from starting position playing video file, and specific implementation process with reference to prior art, can repeat no more herein.
206, mobile terminal plays by web player corresponding to HTML5 video tab the video file that mobile terminal receives.
When moving the prerequisite determining not meet switching player, mobile terminal can continue through the web player that in webpage, <video> label is corresponding and carry out playing video file.Be understandable that, mobile terminal can also perform other operations, is not construed as limiting herein.
In the embodiment of the present invention, mobile terminal receiving package contains the webpage of video tab, judge whether to meet the prerequisite switching player, if, then web player corresponding for HTML5 video tab is switched to destination player, by the video that destination player broadcasting mobile terminal receives, mobile terminal can when the playing function of web player be not enough or result of broadcast is short of, change by video playback plug-in unit or local video player plays video, due to the feature richness of video playback plug-in unit or local video player, user can regulate the video play according to the demand of oneself and preference, improve Consumer's Experience.
Secondly, embodiments provide the scene that multiple specific implementation in actual applications switches, improve feasibility and the flexibility of scheme implementation.
For ease of understanding, with an embody rule scene, video broadcasting method in the embodiment of the present invention is described below:
Mobile terminal is for mobile phone, and user opens mobile phone browser, the URL address of input HTML5 video, or points to the hyperlink of URL of this video, URL address with " http: // .../media/first.mp4 " be example;
Mobile phone browser loads the webpage that video server sends, video file is for first.mp4, video tab with <video src=" http: // .../media/first.mp4 " autoplay=" autoplay ", type=' video/mp4 ' ></video> is example, and mobile phone browser utilizes web player corresponding to this video tab receive and play first.mp4;
Destination player is for video playback plug-in unit, mobile phone judges that whether the decoding efficiency of first.mp4 is lower than default efficiency, if, then stop performing <video> label, load video playback plug-in unit, if not, then continue to utilize above-mentioned web player receive and play first.mp4;
Mobile phone is received by video playback plug-in unit and plays first.mp4.
Refer to Fig. 3, in the embodiment of the present invention, an embodiment of mobile terminal comprises:
Receiver module 301, contains the webpage of HTML5 video tab for receiving package;
Judge module 302, meets for judging whether the prerequisite switching player, if so, then triggers handover module 303 and web player corresponding for above-mentioned HTML5 video tab is switched to destination player;
Handover module 303, for switching to destination player by web player corresponding for HTML5 video tab;
Playing module 304, for playing the video that above-mentioned mobile terminal receives by above-mentioned destination player.
In the embodiment of the present invention, receiver module 301 receiving package contains the webpage of video tab, judge module 302 judges whether to meet the prerequisite switching player, if, then web player corresponding for HTML5 video tab is switched to destination player by handover module 303, the video that playing module 304 is received by destination player broadcasting mobile terminal, mobile terminal can when the playing function of web player be not enough or result of broadcast is short of, change by video playback plug-in unit or local video player plays video, due to the feature richness of video playback plug-in unit or local video player, user can regulate the video play according to the demand of oneself and preference, improve Consumer's Experience.
Refer to Fig. 4, in the embodiment of the present invention, another embodiment of mobile terminal comprises:
Receiver module 401, contains the webpage of video tab for receiving package;
Judge module 402, the prerequisite switching player is met for judging whether, if, then trigger handover module 403 and web player corresponding for HTML5 video tab is switched to destination player, if not, then the web player 405 that triggering HTML5 video tab is corresponding plays the video file that above-mentioned mobile terminal receives;
Handover module 403, for switching to destination player by web player corresponding for HTML5 video tab;
Playing module 404, for playing the video file that above-mentioned mobile terminal receives by above-mentioned destination player;
Web player 405, for playing the video file that above-mentioned mobile terminal receives.
Wherein, above-mentioned receiver module 401 can be browser or WebView control; Destination player is video playback plug-in unit or local video player.
Above-mentioned receiver module 401 is also for passing through web player receiver, video file corresponding to HTML5 video tab;
Then whether above-mentioned judge module 402 is specifically for detecting the decoding efficiency of above-mentioned video file lower than preset threshold value, if so, then determines to meet the prerequisite switching player, trigger handover module 403, if not, then determine not meet the prerequisite switching player, trigger web pages player 405.
Each module in the present embodiment to embodiment illustrated in fig. 3 in each module similar, in the present embodiment, the specific implementation process of each module can consult the embodiment of the method shown in Fig. 2, repeats no more herein.
Optionally, whether above-mentioned judge module 402 exceedes preset duration specifically for the duration detecting above-mentioned video file, if, then determine to meet the prerequisite switching player, trigger handover module 403, if not, then determine not meet the prerequisite switching player, trigger web pages player 405.
Optionally, above-mentioned receiver module 401 is browser, then whether above-mentioned judge module 402 is preset browser specifically for detecting above-mentioned browser, if, then determine to meet the prerequisite switching player, trigger handover module 403, if not, then determine not meet the prerequisite switching player, trigger web pages player 405.
Each module in the present embodiment to embodiment illustrated in fig. 3 in each module similar, in the present embodiment, the specific implementation process of each module can consult the embodiment of the method shown in Fig. 2, repeats no more herein.
In the embodiment of the present invention, receiver module 401 receiving package contains the webpage of video tab, judge module 402 judges whether to meet the prerequisite switching player, if, then web player corresponding for HTML5 video tab is switched to destination player by handover module 403, the video that playing module 404 is received by destination player broadcasting mobile terminal, mobile terminal can when the playing function of web player be not enough or result of broadcast is short of, change by video playback plug-in unit or local video player plays video, due to the feature richness of video playback plug-in unit or local video player, user can regulate the video play according to the demand of oneself and preference, improve Consumer's Experience.
Secondly, embodiments provide the multiple implementation of judge module 402 embody rule, add feasibility and the flexibility of scheme implementation.
Below with an embody rule scene to being described in detail alternately between each module of mobile terminal in the embodiment of the present invention:
Mobile terminal is for mobile phone, and user opens receiver module 401, the URL address of input HTML5 video, or points to the hyperlink of URL of this video, URL address with " http: // .../media/first.mp4 " be example;
Receiver module 401 loads the webpage that video server sends, video file is for first.mp4, video tab is with <video src=http: // .../media/first.mp4autoplay=" autoplay ", type=' video/mp4 ' ></video> is example, and receiver module 401 utilizes web player corresponding to this video tab receive and play first.mp4;
Destination player is for video playback plug-in unit, judge module 402 judges that whether the decoding efficiency of first.mp4 is lower than default efficiency, if, then handover module 403 stops performing <video> label, load video playback plug-in unit, if not, then web player 405 receives and plays first.mp4;
Playing module 404 is received by video playback plug-in unit and plays first.mp4.
The above, above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein portion of techniques feature; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.
Claims (10)
1. a video broadcasting method, is characterized in that, comprising:
Mobile terminal receiving package contains the webpage of HTML5 video tab;
Described mobile terminal judges whether to meet the prerequisite switching player, if so, then web player corresponding for described HTML5 video tab is switched to destination player;
The video file that described mobile terminal is received by described destination player broadcasting mobile terminal.
2. video broadcasting method according to claim 1, is characterized in that, described destination player is video playback plug-in unit or local video player.
3. video broadcasting method according to claim 1 and 2, is characterized in that, described mobile terminal comprises before judging whether the prerequisite of satisfied switching player:
Described mobile terminal passes through web player receiver, video file corresponding to HTML5 video tab;
Then described mobile terminal judges whether that meeting the prerequisite switching player comprises:
Whether described mobile terminal detects the decoding efficiency of described video file lower than preset threshold value, if so, then determines to meet the prerequisite switching player.
4. video broadcasting method according to claim 3, is characterized in that, described mobile terminal judges whether that meeting the prerequisite switching player comprises:
Whether the duration that described mobile terminal detects described video file exceedes preset duration, if so, then determines to meet the prerequisite switching player.
5. video broadcasting method according to claim 1 and 2, is characterized in that, the webpage that described mobile terminal receiving package contains HTML5 video tab comprises:
Described mobile terminal contains the webpage of HTML5 video tab by browser receiving package;
Then described mobile terminal judges whether that meeting the prerequisite switching player comprises:
Whether described mobile terminal detects described browser is preset browser, if so, then determines to meet the prerequisite switching player.
6. a mobile terminal, is characterized in that, comprising:
Receiver module, contains the webpage of HTML5 video tab for receiving package;
Judge module, meets for judging whether the prerequisite switching player, if so, then triggers handover module and web player corresponding for described HTML5 video tab is switched to destination player;
Handover module, for switching to destination player by web player corresponding for described HTML5 video tab;
Playing module, for playing the video file that mobile terminal receives by described destination player.
7. mobile terminal according to claim 6, is characterized in that, described destination player is video playback plug-in unit or local video player.
8. the mobile terminal according to claim 6 or 7, is characterized in that, described receiver module is also for passing through web player receiver, video file corresponding to HTML5 video tab;
Then whether described judge module is specifically for detecting the decoding efficiency of described video file lower than preset threshold value, if so, then determines to meet the prerequisite switching player.
9. mobile terminal according to claim 8, is characterized in that, whether described judge module exceedes preset duration specifically for the duration detecting described video file, if so, then determines to meet the prerequisite switching player.
10. the mobile terminal according to claim 6 or 7, is characterized in that, described receiver module is browser, then whether described judge module is preset browser specifically for detecting described browser, if so, then determines to meet the prerequisite switching player.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510274413.3A CN104853254A (en) | 2015-05-26 | 2015-05-26 | Video playing method and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510274413.3A CN104853254A (en) | 2015-05-26 | 2015-05-26 | Video playing method and mobile terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104853254A true CN104853254A (en) | 2015-08-19 |
Family
ID=53852547
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510274413.3A Pending CN104853254A (en) | 2015-05-26 | 2015-05-26 | Video playing method and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104853254A (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105956133A (en) * | 2016-05-10 | 2016-09-21 | 腾讯科技(深圳)有限公司 | Method and apparatus for displaying file in intelligent terminal |
CN106303638A (en) * | 2016-08-30 | 2017-01-04 | 北京奇艺世纪科技有限公司 | A kind of audio and video playing method and device based on HTML5 player |
CN107087231A (en) * | 2017-03-31 | 2017-08-22 | 北京潘达互娱科技有限公司 | Video data player method and device |
CN107277586A (en) * | 2017-07-19 | 2017-10-20 | 西安领讯卓越信息技术有限公司 | A kind of mobile terminal video player method |
CN107295403A (en) * | 2017-08-24 | 2017-10-24 | 四川长虹电器股份有限公司 | The method that seamless connection is played between video |
CN107959888A (en) * | 2016-10-14 | 2018-04-24 | 北京视联动力国际信息技术有限公司 | A kind of method and system of web player dynamic more new video total duration |
CN109756754A (en) * | 2017-11-01 | 2019-05-14 | 腾讯科技(深圳)有限公司 | Video broadcasting method, device, storage medium and electronic device |
CN109753332A (en) * | 2019-01-10 | 2019-05-14 | 北京字节跳动网络技术有限公司 | Method and apparatus for showing information |
CN110225404A (en) * | 2019-06-17 | 2019-09-10 | 深圳市正易龙科技有限公司 | Video broadcasting method, terminal and computer readable storage medium |
CN114845162A (en) * | 2021-02-01 | 2022-08-02 | 北京字节跳动网络技术有限公司 | Video playing method and device, electronic equipment and storage medium |
Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050135790A1 (en) * | 2003-12-23 | 2005-06-23 | Sandisk Corporation | Digital media player with resolution adjustment capabilities |
CN1992743A (en) * | 2005-12-31 | 2007-07-04 | 英华达(南京)科技有限公司 | Method and apparatus for realizing function of network telephone on electronic player |
WO2009062413A1 (en) * | 2007-11-15 | 2009-05-22 | Huawei Technologies Co., Ltd. | Mobile terminal and the method of displaying short messages thereof, media player |
CN201726462U (en) * | 2010-07-14 | 2011-01-26 | 福建新大陆通信科技股份有限公司 | Set-top box with light sensing system |
CN101964842A (en) * | 2010-09-13 | 2011-02-02 | 复旦大学 | Mobile phone terminal-based self-organized video synchronous sharing player |
CN102185978A (en) * | 2011-05-20 | 2011-09-14 | 中兴通讯股份有限公司 | Method and device for controlling display of mobile television on mobile terminal |
CN102571633A (en) * | 2012-01-09 | 2012-07-11 | 华为技术有限公司 | Method for demonstrating user state, demonstration terminal and server |
CN102739627A (en) * | 2011-04-14 | 2012-10-17 | 深圳市快播科技有限公司 | Method and system for switching and playing video |
US20120317473A1 (en) * | 2010-12-20 | 2012-12-13 | Pullen Benjamin Allen | Media player web service |
CN103064958A (en) * | 2012-12-31 | 2013-04-24 | 乐视致新电子科技(天津)有限公司 | Method for automatic recognition and analysis of browser and based on hyper text makeup language (HTML) 5 video label |
CN103248646A (en) * | 2012-02-08 | 2013-08-14 | 北京磊友信息科技有限公司 | System for realizing social service |
WO2013179769A1 (en) * | 2012-05-28 | 2013-12-05 | 船井電機株式会社 | Electronic apparatus, electronic apparatus system, and electronic apparatus control method |
CN103546821A (en) * | 2013-10-30 | 2014-01-29 | 乐视致新电子科技(天津)有限公司 | Method and device for regulating video playing interface |
CN104113780A (en) * | 2014-06-25 | 2014-10-22 | 小米科技有限责任公司 | Advertisement processing method and apparatus |
US20140337414A1 (en) * | 2013-05-13 | 2014-11-13 | Sina Sojoodi | Dynamic rendering for software applications |
-
2015
- 2015-05-26 CN CN201510274413.3A patent/CN104853254A/en active Pending
Patent Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050135790A1 (en) * | 2003-12-23 | 2005-06-23 | Sandisk Corporation | Digital media player with resolution adjustment capabilities |
CN1992743A (en) * | 2005-12-31 | 2007-07-04 | 英华达(南京)科技有限公司 | Method and apparatus for realizing function of network telephone on electronic player |
WO2009062413A1 (en) * | 2007-11-15 | 2009-05-22 | Huawei Technologies Co., Ltd. | Mobile terminal and the method of displaying short messages thereof, media player |
CN201726462U (en) * | 2010-07-14 | 2011-01-26 | 福建新大陆通信科技股份有限公司 | Set-top box with light sensing system |
CN101964842A (en) * | 2010-09-13 | 2011-02-02 | 复旦大学 | Mobile phone terminal-based self-organized video synchronous sharing player |
US20120317473A1 (en) * | 2010-12-20 | 2012-12-13 | Pullen Benjamin Allen | Media player web service |
CN102739627A (en) * | 2011-04-14 | 2012-10-17 | 深圳市快播科技有限公司 | Method and system for switching and playing video |
CN102185978A (en) * | 2011-05-20 | 2011-09-14 | 中兴通讯股份有限公司 | Method and device for controlling display of mobile television on mobile terminal |
CN102571633A (en) * | 2012-01-09 | 2012-07-11 | 华为技术有限公司 | Method for demonstrating user state, demonstration terminal and server |
CN103248646A (en) * | 2012-02-08 | 2013-08-14 | 北京磊友信息科技有限公司 | System for realizing social service |
WO2013179769A1 (en) * | 2012-05-28 | 2013-12-05 | 船井電機株式会社 | Electronic apparatus, electronic apparatus system, and electronic apparatus control method |
CN103064958A (en) * | 2012-12-31 | 2013-04-24 | 乐视致新电子科技(天津)有限公司 | Method for automatic recognition and analysis of browser and based on hyper text makeup language (HTML) 5 video label |
US20140337414A1 (en) * | 2013-05-13 | 2014-11-13 | Sina Sojoodi | Dynamic rendering for software applications |
CN103546821A (en) * | 2013-10-30 | 2014-01-29 | 乐视致新电子科技(天津)有限公司 | Method and device for regulating video playing interface |
CN104113780A (en) * | 2014-06-25 | 2014-10-22 | 小米科技有限责任公司 | Advertisement processing method and apparatus |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105956133A (en) * | 2016-05-10 | 2016-09-21 | 腾讯科技(深圳)有限公司 | Method and apparatus for displaying file in intelligent terminal |
CN106303638A (en) * | 2016-08-30 | 2017-01-04 | 北京奇艺世纪科技有限公司 | A kind of audio and video playing method and device based on HTML5 player |
CN106303638B (en) * | 2016-08-30 | 2019-09-17 | 北京奇艺世纪科技有限公司 | A kind of audio and video playing method and device based on HTML5 player |
CN107959888B (en) * | 2016-10-14 | 2019-03-19 | 视联动力信息技术股份有限公司 | A kind of method and system of web player dynamic more new video total duration |
CN107959888A (en) * | 2016-10-14 | 2018-04-24 | 北京视联动力国际信息技术有限公司 | A kind of method and system of web player dynamic more new video total duration |
CN107087231A (en) * | 2017-03-31 | 2017-08-22 | 北京潘达互娱科技有限公司 | Video data player method and device |
CN107277586A (en) * | 2017-07-19 | 2017-10-20 | 西安领讯卓越信息技术有限公司 | A kind of mobile terminal video player method |
CN107277586B (en) * | 2017-07-19 | 2019-11-05 | 西安领讯卓越信息技术有限公司 | A kind of mobile terminal video playback method |
CN107295403A (en) * | 2017-08-24 | 2017-10-24 | 四川长虹电器股份有限公司 | The method that seamless connection is played between video |
CN109756754A (en) * | 2017-11-01 | 2019-05-14 | 腾讯科技(深圳)有限公司 | Video broadcasting method, device, storage medium and electronic device |
CN109753332A (en) * | 2019-01-10 | 2019-05-14 | 北京字节跳动网络技术有限公司 | Method and apparatus for showing information |
CN110225404A (en) * | 2019-06-17 | 2019-09-10 | 深圳市正易龙科技有限公司 | Video broadcasting method, terminal and computer readable storage medium |
CN114845162A (en) * | 2021-02-01 | 2022-08-02 | 北京字节跳动网络技术有限公司 | Video playing method and device, electronic equipment and storage medium |
CN114845162B (en) * | 2021-02-01 | 2024-04-02 | 北京字节跳动网络技术有限公司 | Video playing method and device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104853254A (en) | Video playing method and mobile terminal | |
US10582253B2 (en) | Method, device, and electronic terminal for video recording | |
JP6562992B2 (en) | Trick playback in digital video streaming | |
US10225613B2 (en) | Method and apparatus for video playing processing and television | |
KR101472015B1 (en) | Apparatus for controlling reproduction of contents and method thereof | |
CN110784750B (en) | Video playing method and device and computer equipment | |
WO2013145936A1 (en) | Control device, control method, program, and control system | |
CN102595221A (en) | Multi-screen interaction system and corresponding multimedia intelligent terminals | |
US11368749B2 (en) | Substituting alternative media for presentation during variable speed operation | |
US20150046941A1 (en) | Video display device, video display method, and program | |
CN110913278B (en) | Video playing method, display terminal and storage medium | |
JP2008160837A (en) | Method and apparatus for encoding/decoding multimedia data with preview function | |
CN111510755A (en) | Audio and video switching method and device, computer equipment and readable storage medium | |
CN105828121A (en) | Advertisement data playing and injecting method and device | |
CN106878807B (en) | Video switching method and device | |
CN108769806B (en) | Media content display method and device | |
CN105187897A (en) | Multi-segment media file cross-segment playing method and system | |
JP2006310977A (en) | Channel switching support apparatus, output signal switching method, and channel switching support program | |
CN106020792A (en) | Display control method and display control device | |
JP4655065B2 (en) | Content distribution system, content distribution system distribution server and display terminal, and content distribution program | |
CN113709447B (en) | Method and device for detecting playing performance of terminal equipment | |
KR101358812B1 (en) | An terminal apparatus and a settop box for transmitting a multimedia data during mirroring, a method therefor | |
CN106162380A (en) | A kind of Online Video call method and system | |
CN112019858B (en) | Video playing method and device, computer equipment and storage medium | |
CN105338411A (en) | Video play processing method and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20171128 Address after: SED science and technology building, No. 1 Shenzhen Road, 518000 street and Guangdong Province, Nanshan District Guangdong 201 room Applicant after: Shenzhen City Li Ao Technology Co., Ltd. Address before: 518057 national communication No. 5, No. 5, Shenzhen, Shenzhen, Guangdong province 2118 Applicant before: SHENZHEN LEO NETWORK TECHNOLOGY CO., LTD. |
|
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20150819 |