Esempi: Formattazione dei sottotitoli

È possibile specificare la formattazione dei sottotitoli.

Esempio 1: specificare esplicitamente i valori di formato

// Set CC style.
var tf = new AdobePSDK.TextFormat(
      AdobePSDK.TextFormat.FONT_DEFAULT,
      AdobePSDK.TextFormat.COLOR_DEFAULT,
      AdobePSDK.TextFormat.COLOR_DEFAULT,
      AdobePSDK.TextFormat.FONT_EDGE_DEFAULT,
      AdobePSDK.TextFormat.COLOR_DEFAULT,
      AdobePSDK.TextFormat.COLOR_DEFAULT,
      AdobePSDK.TextFormat.SIZE_DEFAULT,
      AdobePSDK.TextFormat.DEFAULT_OPACITY,
      AdobePSDK.TextFormat.DEFAULT_OPACITY,
      AdobePSDK.TextFormat.DEFAULT_OPACITY;
 mediaPlayer.CCStyle(tf);
IMPORTANTE

Il TVSDK del browser non supporta il bordo del font, il colore di riempimento o l’opacità del riempimento.

In questa pagina