Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Mobile terminal webpage video background processing method and system, and storage medium

A background processing and mobile terminal technology, which is applied in the field of web video background processing, can solve the problems that video element pop-up elements cannot be covered, web standards are not uniform, and videos cannot be automatically played, etc., so as to achieve low production costs, reduce production costs, The effect of lowering the generation threshold

Pending Publication Date: 2021-11-23
GAODING XIAMEN TECH CO LTD
View PDF7 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, mobile browsers are not uniform in the implementation of web standards. Using native video elements to implement video backgrounds on web pages will have many compatibility issues, such as: videos cannot be played automatically, video elements cannot be covered as pop-up elements, and playback cannot be hidden Buttons and videos will be played in full screen by default, which will cause the webpage video background to fail in mobile browsers

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
  • Mobile terminal webpage video background processing method and system, and storage medium
  • Mobile terminal webpage video background processing method and system, and storage medium
  • Mobile terminal webpage video background processing method and system, and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 2

[0067] A mobile webpage video background processing system, comprising:

[0068] An acquisition module, configured to acquire a video file and a video format type of the video file, wherein the video format type includes a first video format collection and a second video format collection;

[0069] The browser attribute judging module is used to obtain the browser userAgent attribute, judge whether the browser supports standard video elements and the video format type belongs to the first video format collection, if so, go to step S3, otherwise go to step S4 ;

[0070] A standard video element playback module, used to call the standard video element to play the video file as the video background if the browser supports the standard video element;

[0071] The drawing and playing module is used to decode the video file and draw it into multiple pictures frame by frame if the browser does not support standard video elements, and play the pictures in time sequence as the video b...

Embodiment 3

[0073] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the webpage video background processing method described in Embodiment 1 is realized.

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 invention relates to a mobile terminal webpage video background processing method and system and a storage medium, and the method comprises the following steps: S1, obtaining a video file and a video format type of the video file, wherein the video format type comprises a first video format set and a second video format set; S2, acquiring a user Agent attribute of a browser, if the browser supports a standard video element and the video format type belongs to a first video format set, turning to a step S3, and otherwise, turning to a step S4; S3, calling a standard video element to play the video file as a video background; S4, decoding the video file, drawing a plurality of pictures frame by frame, and playing the pictures as a video background according to a time sequence. According to the method, different video processing strategies are adopted for different browsers by obtaining the user Agent attributes of the browsers. Therefore, the mobile terminal browser is compatible, and the webpage video background is realized.

Description

technical field [0001] The invention relates to the field of webpage video background processing, and specifically refers to a mobile terminal webpage video background processing method, system, and storage medium. Background technique [0002] Webpage video background is that the browser uses dynamic video as the background of text, title, etc., showing a dynamic effect. [0003] At present, mobile browsers are not uniform in the implementation of web standards. Using native video elements to implement video backgrounds on web pages will have many compatibility issues, such as: videos cannot be played automatically, video elements cannot be covered as pop-up elements, and playback cannot be hidden Buttons and videos will be played in full screen by default, which will cause the webpage video background to fail in mobile browsers. Such as figure 1 as shown, figure 1 The picture on the left in the middle is a screenshot of the mobile terminal when the background of the web...

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): H04N5/262G06F16/957G06F16/958
CPCH04N5/262G06F16/958G06F16/9574G06F16/9577
Inventor 魏陈南唐斌
Owner GAODING XIAMEN TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products