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

Class that represent an “audio” 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 |
---|
 | Audio() | Audio |
 | Audio(program, src, autoplay, controls, loop, muted, preload, innerHTML, style, className, id, title) | Constructor for audio |
#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 |
#Audio()

Audio
#Audio(program, src, autoplay, controls, loop, muted, preload, innerHTML, style, className, id, title)

Constructor for audio
C# |
public Audio(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.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 audio file |
autoplay | System.Boolean | Specifies that the audio will start playing as soon as it is ready |
controls | System.Boolean | Specifies that audio controls should be displayed (such as a play/pause button etc) |
loop | System.Boolean | Specifies that the audio will start over again, every time it is finished |
muted | System.Boolean | Specifies that the audio output should be muted |
preload | CodiumSDK.CPL.HTMLTags.Audio.Preload | Specifies if and how the author thinks the audio should be loaded when the page loads |
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 |