Method and system for webpage player to dynamically update total duration of video

A technology of dynamic update and player, applied in the field of video networking, which can solve the problems of inability to obtain the total duration of the video, inability to fast forward and rewind the video, etc.

Active Publication Date: 2018-04-24
海南乾唐视联信息技术有限公司
View PDF5 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, the player generally plays the recorded video. For the recorded video, the player can obtain the total video duration and play the video; but for the video that is being recorded, the player cannot obtain the total video duration.
[0004] When the inventor applied the prior technology, he found that for the video being recorded in the prior technology, since the player cannot obtain the total duration of the video, the player cannot fast forward and rewind the video when playing the video being recorded , and the player needs to be manually refreshed to continue playing new video clips

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and system for webpage player to dynamically update total duration of video
  • Method and system for webpage player to dynamically update total duration of video
  • Method and system for webpage player to dynamically update total duration of video

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0122] refer to Figure 5 , shows a flow chart of steps of a method embodiment of a method for dynamically updating the total duration of a video by a webpage player according to the present invention. The method can be applied to the Internet of Things, and may specifically include the following steps:

[0123] Step 501, after the client opens the webpage, load the JS component and the player component in the webpage.

[0124] When compiling the webpage, the server writes the codes of the JS component and the player component into the HTML (HyperText Markup Language, hypertext markup language) code of the webpage.

[0125] After the user opens a webpage in the browser of the client, the webpage includes a video player that can play videos, and the video player includes JW Player (Jeroen Wijering Player, webpage media player); then start loading in the webpage JS components and player components.

[0126] Step 502, the JS component reads video parameters from the video serve...

Embodiment 2

[0151] refer to Figure 6 , shows a flow chart of steps of a method embodiment of a method for dynamically updating the total duration of a video by a webpage player according to the present invention. The method can be applied to the Internet of Things, and may specifically include the following steps:

[0152] Step 601, after the client opens the webpage, load the JS component and the player component in the webpage.

[0153] Step 601 in this embodiment of the present invention is similar in principle to step 501 in Embodiment 1, and will not be described in detail here.

[0154] Step 602, the JS component reads video parameters from the video server; the video parameters include: video address and video type.

[0155] The JS component reads the video parameters stored in the video server by calling the video parameter interface of the video server. The video parameters include a video address and a video type, and the video type includes: a video that has been recorded and...

Embodiment 3

[0189] refer to Figure 7 , which shows a structural block diagram of a system embodiment of a webpage player dynamically updating the total duration of a video according to the present invention. The device can be applied to the Internet of Views, and can specifically include the following modules:

[0190] The loading module 701 is configured to load the JS component and the player component in the webpage after the client opens the webpage.

[0191] The video parameter reading module 702 is used for the JS component to read video parameters from the video server; the video parameters include: video address.

[0192]The video parameter sending module 703 is used for the JS component to call the interface of the player component, and send the video parameters in the JS component to the player component.

[0193] A video resource request module 704, configured for the player component to send a video resource request to the video server according to the video address in the v...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The embodiment of the invention provides a method and system for a webpage player to dynamically update total duration of a video and relates to the technical field of the articulated naturality web.According to the embodiment of the invention, a JS assembly reads video duration of a video resource from a video server; a player assembly reads the video duration of the video resource from the JS assembly and sets the video duration of the video resource according to the video duration; and the player assembly plays a video according to metadata and the video duration. The total duration of thevideo is dynamically updated through the JS assembly, so the problem that video fast forward and fast backward functions cannot be realized and new video segments only can be played by manually refreshing the player due to the fact that the player assembly cannot obtain the total duration of the video when a player plays a currently recorded video is solved, the video fast forward and fast backward can be carried out on the currently recorded video, and the user can watch the newly recorded video segments timely without refreshing the player.

Description

technical field [0001] The invention relates to the technical field of video networking, in particular to a method and a system for dynamically updating the total duration of a video by a webpage player. Background technique [0002] With the rapid development of network technology and the rapid growth of information resources, players have also become an important tool for people to obtain information in their lives. Upload the video on the Internet of Vision terminal, and the user can watch the video on other terminals. The user can watch the recorded video uploaded by the Internet of Vision terminal, or watch the video being recorded uploaded by the Internet of Vision terminal. [0003] At present, the player generally plays the recorded video. For the recorded video, the player can obtain the total video duration and play the video; but for the video that is being recorded, the player cannot obtain the total video duration. [0004] When the inventor applied the prior t...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): H04N21/458H04N21/442H04N21/443H04N21/472
CPCH04N21/44204H04N21/443H04N21/458H04N21/472
Inventor 牛永会陈婷王艳辉
Owner 海南乾唐视联信息技术有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products