Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Audio ¶
type Audio struct { XMLName xml.Name `xml:"audio"` Src string `xml:"src,attr"` Params []Param `xml:"param"` }
Audio source
type Meta ¶
type Meta struct { XMLName xml.Name `xml:"meta"` Name string `xml:"name,attr"` Content string `xml:"content,attr"` }
Meta data for the SMIL file in general
type Param ¶
type Param struct { XMLName xml.Name `xml:"param"` Name string `xml:"name,attr"` Value string `xml:"value,attr"` ValueType string `xml:"valuetype,attr"` }
Param contains additional informaion for Audio, Video, Text such as resolution, language, etc.
type Switch ¶
type Switch struct { XMLName xml.Name `xml:"switch"` Videos []Video `xml:"video"` Audios []Audio `xml:"audio"` Subs []Textstream `xml:"textstream"` }
Switch element allows an author to specify a set of alternative elements from which only the first acceptable element is chosen. ^^ Above is copy pasted from https://www.w3.org/TR/SMIL2/smil-content.html#edef-switch Basically it's a wrapper saying everything in here is the same material in different formats
Click to show internal directories.
Click to hide internal directories.