diff --git a/packages/cxl-ui/src/components/cxl-jw-player/index.html.js b/packages/cxl-ui/src/components/cxl-jw-player/index.html.js index bbc80b322..1b762091f 100644 --- a/packages/cxl-ui/src/components/cxl-jw-player/index.html.js +++ b/packages/cxl-ui/src/components/cxl-jw-player/index.html.js @@ -7,51 +7,47 @@ export const template = function () { return html` ${this.ready ? html` -
+
- ${this.captions - ? html` - -
- ${this._tracks.map( - (track, index) => - html`${track.data.text - ? html`${track.isChapter - ? html`

- ${track.data.text} -

` - : html` - - ${track.data.text} - - `}` - : nothing}` - )} -
- ` - : nothing} + +
+ ${this._tracks.map( + (track, index) => + html`${track.data.text + ? html`${track.isChapter + ? html`

+ ${track.data.text} +

` + : html` + + ${track.data.text} + + `}` + : nothing}` + )} +
` : nothing}