Split fullscreen options into separate props
This commit is contained in:
7
Video.js
7
Video.js
@@ -282,11 +282,6 @@ Video.propTypes = {
|
||||
PropTypes.object
|
||||
]),
|
||||
fullscreen: PropTypes.bool,
|
||||
fullscreenOptions: PropTypes.shape({
|
||||
enabled: PropTypes.bool,
|
||||
preferredOrientation: PropTypes.string,
|
||||
autorotate: PropTypes.bool
|
||||
}),
|
||||
onVideoLoadStart: PropTypes.func,
|
||||
onVideoLoad: PropTypes.func,
|
||||
onVideoBuffer: PropTypes.func,
|
||||
@@ -359,6 +354,8 @@ Video.propTypes = {
|
||||
controls: PropTypes.bool,
|
||||
audioOnly: PropTypes.bool,
|
||||
currentTime: PropTypes.number,
|
||||
fullscreenAutorotate: PropTypes.bool,
|
||||
fullscreenOrientation: PropTypes.string,
|
||||
progressUpdateInterval: PropTypes.number,
|
||||
useTextureView: PropTypes.bool,
|
||||
onLoadStart: PropTypes.func,
|
||||
|
Reference in New Issue
Block a user