First pass at text track selection, mostly complete

This commit is contained in:
Hampton Maxwell
2018-06-02 02:24:13 -07:00
parent 8858574405
commit 9764fe3be4
5 changed files with 130 additions and 1 deletions

View File

@@ -274,6 +274,13 @@ Video.propTypes = {
poster: PropTypes.string,
posterResizeMode: Image.propTypes.resizeMode,
repeat: PropTypes.bool,
selectedTextTrack: PropTypes.shape({
type: PropTypes.string.isRequired,
value: PropTypes.oneOfType([
PropTypes.string,
PropTypes.number
])
}),
paused: PropTypes.bool,
muted: PropTypes.bool,
volume: PropTypes.number,