No results found.
#import <VOCommonPlayerSubtitle.h>
Enable/disable subtitles display; Analytics display is disabled by default.
Enable/Disable the automatic adjustment for subtitle position/font size.
Automatic adjustment of subtitle is disabled by default.
Preview subtitle by sending some sample text to be rendered.
To preview the subtitle, this API must be called in main thread.
Reset all parameters to their default values.
Subtitles will be presented as specified in the subtitle stream.
Set the subtitle bounding box, which overrides the subtitle settings from parser.
The valid value is from 0 to 100. The parameter value will be ignored sometimes, such as: The topPercent is ignored if the gravity isn't top and subtitle exceeds the bounding box.
Set the background color of subtitle font.
Set the background color opacity rate of subtitle font.
Enable/Disable subtitle font bold.
Set subtitle font color.
Set subtitle font edge color.
Set the opacity rate of subtitle font edge color.
Set subtitle font edge type.
Enable/Disable subtitle font italics.
Set subtitle font name.
Set he opacity rate of subtitle font color.
Set subtitle font size scale.
Enable/Disable subtitle font underlined.
Set the gravity of the bounding box.
Set file/URL path for external subtitles (for example, smi, srt files, etc.).
Set character sets to be trimmed from the beginning or end of subtitle.
Set window background color.
Set the opacity rate of window background color.