Espacio de nombres: CodiumSDK.CPL.HTMLTags
Ensamblado: 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.
C#
public class Video : CodiumSDK.CPL.HTMLTagBase

Métodos

NombreDescripción
GetAttribute(name)Get Attribute

Constructores

NombreDescripció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

NombreTipoDescripción
nameSystem.StringName of the Atrribute

Video()

Video
C#
public 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

NombreTipoDescripción
programCodiumSDK.CPL.ProgramDefinitionProgram Definition
srcSystem.StringSpecifies the URL of the video file
autoplaySystem.BooleanSpecifies that the video will start playing as soon as it is ready
controlsSystem.BooleanSpecifies that video controls should be displayed (such as a play/pause button etc).
loopSystem.BooleanSpecifies that the video will start over again, every time it is finished
mutedSystem.BooleanSpecifies that the audio output of the video should be muted
preloadCodiumSDK.CPL.HTMLTags.Audio.PreloadSpecifies if and how the author thinks the video should be loaded when the page loads
heightSystem.Int32Sets the height of the video player
widthSystem.Int32Sets the width of the video player
posterSystem.StringSpecifies an image to be shown while the video is downloading, or until the user hits the play button
innerHTMLSystem.StringInner HTML
styleSystem.StringSpecifies an inline CSS style for an element
classNameSystem.StringSpecifies one or more classnames for an element (refers to a class in a style sheet)
idSystem.StringSpecifies a unique id for an element
titleSystem.StringSpecifies extra information about an element