Manufacturing and playing method for HTML advertisement files
A production method and a technology of a playback method, which are applied in the field of production and playback of HTML advertisement files, can solve the problems of inability to play, have no flexibility and immediacy, and the format of advertisement files is not universal enough, and achieve an enhanced flexibility and convenience. Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0032] see figure 1 , is a schematic flow chart of a method for making an HTML advertisement file provided by the present invention, and the method includes the following steps:
[0033] Step 101: Obtain data information of an advertisement template.
[0034] In this embodiment, the advertising template of the present invention is made based on HTML5 Canvas. The data information of the advertisement template includes: the size information of the canvas where the template is located, the type and quantity of each area in the template, and the position information of each area on the canvas.
[0035] In this embodiment, obtaining the data information of the advertisement template specifically includes: obtaining the data information of the pre-stored advertisement template; or obtaining the data information of the user-defined advertisement template. The steps for a user to create a custom ad template are as follows: Create a Canvas, the user sets the corresponding area on the...
Embodiment 2
[0048] see figure 2 , figure 2 Provide a kind of playing method of HTML advertisement file for this embodiment, be applicable to playing the advertisement file of HTML format, it mainly comprises the following steps:
[0049] Step 201: Open and load an advertisement file in HTML format.
[0050] In this embodiment, there are two main ways to open the advertisement file in HTML format, one is to directly double-click the advertisement file in HTML format, and the other is to open the HTML advertisement file by loading the browser. When a browser is used to open and play an advertisement, the system needs to load the data information in the advertisement file so that the script file can control the size, position, switching and animation effect of the video or picture material in the HTML.
[0051] In this embodiment, the data information in the advertisement file to be loaded may include, but is not limited to: the length and width of the current device screen, the document...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 