
Espacio de nombres:
CodiumSDK.CPL.HTMLTagsEnsamblado: CodiumSDK.dll

Class that represent an “video” tag. The audio tag is used to embed sound content in a document, such as music or other audio streams.
Métodos
Constructores
| Nombre | Descripción |
---|
 | Video() | Video |
 | Video(program, src, autoplay, controls, loop, muted, preload, height, width, poster, innerHTML, style, className, id, title) | Constructor for video |
#GetAttribute(name)

Get Attribute
C# |
public CodiumSDK.CPL.HTMLAttribute GetAttribute(System.String name); |
Regresa
CodiumSDK.CPL.HTMLAttribute
Parámetros
Nombre | Tipo | Descripción |
---|
name | System.String | Name of the Atrribute |
#Video()

Video
#Video(program, src, autoplay, controls, loop, muted, preload, height, width, poster, innerHTML, style, className, id, title)

Constructor for video
C# |
public Video(CodiumSDK.CPL.ProgramDefinition program, System.String src, System.Boolean autoplay, System.Boolean controls, System.Boolean loop, System.Boolean muted, CodiumSDK.CPL.HTMLTags.Audio.Preload preload, System.Int32 height, System.Int32 width, System.String poster, System.String innerHTML, System.String style, System.String className, System.String id, System.String title); |
Parámetros
Nombre | Tipo | Descripción |
---|
program | CodiumSDK.CPL.ProgramDefinition | Program Definition |
src | System.String | Specifies the URL of the video file |
autoplay | System.Boolean | Specifies that the video will start playing as soon as it is ready |
controls | System.Boolean | Specifies that video controls should be displayed (such as a play/pause button etc). |
loop | System.Boolean | Specifies that the video will start over again, every time it is finished |
muted | System.Boolean | Specifies that the audio output of the video should be muted |
preload | CodiumSDK.CPL.HTMLTags.Audio.Preload | Specifies if and how the author thinks the video should be loaded when the page loads |
height | System.Int32 | Sets the height of the video player |
width | System.Int32 | Sets the width of the video player |
poster | System.String | Specifies an image to be shown while the video is downloading, or until the user hits the play button |
innerHTML | System.String | Inner HTML |
style | System.String | Specifies an inline CSS style for an element |
className | System.String | Specifies one or more classnames for an element (refers to a class in a style sheet) |
id | System.String | Specifies a unique id for an element |
title | System.String | Specifies extra information about an element |