` with the class `.fp-captions`.
* An internal `
` with the class `.fp-cue`.
* The html from the `VTTCue` which is dependent on the browser's implementation of [`getCueAsHTML()`](https://w3c.github.io/webvtt/#dom-vttcue-getcueashtml).
This is a raw HTML example:
```html
Todo mundo quer mais da vida ..
Esta é uma segunda linha
E um terceiro
```
With player versions before version 3.10.0, you must style the subtitles with custom CSS:
```css
/* make the subtitles bigger, fonts full black on a white background */
.fp-captions .fp-cue {font-size: 2em; color: black; background-color: white;}
```
## Listen to plugin events
This section describes the events you can capture to control and manage subtitles within your player instance. To understand event handling differences between CDN or npm implementations, see [Plugin events](/docs/wowza-flowplayer/plugins/about-plugins/#plugin-events).
| CDN event | npm event | Description |
| --- | --- | --- |
| `flowplayer.subtitles.events.TRACK_UPDATED` | `Subtitles.events.TRACK_UPDATED` | Emitted when a different track is selected from the menu and loaded by the player. Returns the `textTrack` which was selected. Empty if subtitles are disabled in the menu. Introduced with v3.4.1 of the player. |
info
There are two additional events that are bound to the subtitles menu web component and emitted when new text tracks are added to the menu or selected. For more, see [Web components subtitle events](/docs/wowza-flowplayer/player/web-components/component-events#subtitles-menu).
#### Example
The following example uses the `TRACK_UPDATED` event to capture when a different subtitle track is selected from the captions menu. It outputs the value of the selected track in the console.
```js
player.on(flowplayer.subtitles.events.TRACK_UPDATED, (event) => {
console.log("Track updated to", event.detail.id)
});
```
```js
player.on(Subtitles.events.TRACK_UPDATED, (event) => {
console.log("Track updated to", event.detail.id)
});
```
## More resources
Below is a list of useful resources to learn about, create, convert, and manage WebVTT subtitles.
#### Specifications and documentation
* [WebVTT EduTech wiki](http://edutechwiki.unige.ch/en/WebVTT)
* [Video subtitling and WebVTT](http://html5doctor.com/video-subtitling-and-webvtt/)
* [Conversion of 608/708 captions to WebVTT](https://dvcs.w3.org/hg/text-tracks/raw-file/default/608toVTT/608toVTT.html)
* [Learning center: Media accessibility information, guidelines, and research](https://dcmp.org/learn/213#CiY_resources)
* [BCP47 language subtag lookup](https://r12a.github.io/app-subtags/)
#### Validator and converter tools
* [Online WebVTT validator](https://quuz.org/webvtt/)
* [Javascript validator tool](https://github.com/annevk/webvtt) (source code)
* [Subtitles tools commercial site](https://subtitletools.com/)
* [Desktop SRT converter tool - CLI](https://github.com/nwoltman/srt-to-vtt-cl) (source code and Windows, macOS binaries)
* [Desktop SRT converter tool - Windows GUI](https://github.com/nwoltman/srt-to-vtt-converter)
* [Windows subtitle editor](https://www.nikse.dk/SubtitleEdit/) (source code)
* [EIA-608 to WebVTT Ruby Gem](https://gitlab.com/pkerling/subconv) (source code)