Do subtitles in WebVTT format support colors?

Hi everyone !
According to this documentation, we can get color for WebVTT subtitle :

WEBVTT

STYLE
::cue {
  background-image: linear-gradient(to bottom, dimgray, lightgray);
  color: papayawhip;
}

STYLE
::cue(b) {
  color: peachpuff;
}

I tried these without any success. Only italic and bold are supported.

Maybe i didn’t write the correct code or Peertube is missing something to activate these.
They mention CSS into the website.

Has someone succeed getting color on subtitle ? Or can someone explain why it doesn’t work ?
Thank you very much :slight_smile:

Hi,

Unfortunately it’s not supported by PeerTube. See VTT style formatting · Issue #8146 · videojs/video.js · GitHub for the source issue

Thank a lot. Well, i will keep as it is until the next update. :slight_smile:

I added two GitHub related issue i found, for references purpose :