VideoElement

data class VideoElement(val locator: Locator, val embeddedLink: Link, val attributes: List<Content.Attribute<*>> = emptyList()) : Content.EmbeddedElement, Content.TextualElement

A video clip.

Constructors

Link copied to clipboard
constructor(locator: Locator, embeddedLink: Link, attributes: List<Content.Attribute<*>> = emptyList())

Properties

Link copied to clipboard
Link copied to clipboard
open override val attributes: List<Content.Attribute<*>>

Associated list of attributes.

Link copied to clipboard
open override val embeddedLink: Link

Referenced resource in the publication.

Link copied to clipboard
open val language: Language?
Link copied to clipboard
open override val locator: Locator

Locator targeting this element in the Publication.

Link copied to clipboard
open val text: String?

Human-readable text representation for this element.

Functions

Link copied to clipboard
open fun <V> attribute(key: Content.AttributeKey<V>): V?

Gets the first attribute with the given key.

Link copied to clipboard
open fun <V> attributes(key: Content.AttributeKey<V>): List<V>

Gets all the attributes with the given key.