feat: add support of subtitles style configuration

This commit is contained in:
olivier bouillet
2022-07-05 23:58:30 +02:00
parent be0497cc09
commit b64c7dbea5
7 changed files with 107 additions and 0 deletions

View File

@@ -489,6 +489,13 @@ Video.propTypes = {
fullscreenAutorotate: PropTypes.bool,
fullscreenOrientation: PropTypes.oneOf(['all', 'landscape', 'portrait']),
progressUpdateInterval: PropTypes.number,
subtitleStyle: PropTypes.shape({
paddingTop: PropTypes.number,
paddingBottom: PropTypes.number,
paddingLeft: PropTypes.number,
paddingRight: PropTypes.number,
fontSize: PropTypes.number,
}),
useTextureView: PropTypes.bool,
useSecureView: PropTypes.bool,
hideShutterView: PropTypes.bool,