Ein Theme-Element kann beliebig viele untergeordnete Style-Elemente enthalten, die wiederum Inline-CSS-Code enthalten, der auf bestimmte Komponenten oder Komponentenklassen in einem Player angewendet werden soll.
A Theme element can include any number of Style child elements that contain inline CSS to apply to specific components or classes of components in a player.
Sie können das theme-Element in BEML verwenden, um ein Design für eine Playervorlage festzulegen.
Set a theme for a player template using the BEML theme element
Sie können Skins für alle Komponenten in der Playervorlage festlegen, indem Sie das Style-Element im Theme-Element der Playervorlage verwenden.
Wenn Sie beispielsweise „bodyFont", „titleFont" und „linkFont" auf die Systemschriftart Times New Roman einstellen möchten, definieren Sie das Theme-Element wie folgt
For example, to set the bodyFont, titleFont, and linkFont to system Times New Roman, use a Theme element like this
Schriftarten können global im Theme-Element einer Playervorlage angegeben werden.
Im Theme-Element können drei globale Schriftartattribute verwendet werden, und zwar für Haupttext, Titel und Links (für Schaltflächen wird meist die Link-Schriftart verwendet).
There are three global fonts attributes you can use in the Theme element, for body, title, and link (buttons generally use the link font).
Wenn eine Playervorlage kein Theme-Element enthält, ist es nicht möglich, die Stile der Player, die auf dieser Playervorlage basieren, mithilfe des Veröffentlichungsmoduls zu ändern.
Note that if a player template does not include a Theme element, then you will not be able to use the Publishing module to modify the styles of a player that is based on that player template.