onClosedCaptionEnabled method

void onClosedCaptionEnabled(
  1. bool enabled
)

enable or diable the visibility of ClosedCaptionFile

Implementation

void onClosedCaptionEnabled(bool enabled) {
  _closedCaptionEnabled.value = enabled;
}