Skip to content

Commit

Permalink
Merge pull request #125 from mendix/nc/video-fullscreen-android
Browse files Browse the repository at this point in the history
Add android fullscreen video player styles
  • Loading branch information
Ahmad-Elsayed authored Mar 24, 2022
2 parents eb9b415 + 1dca0ba commit c2f831c
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
12 changes: 12 additions & 0 deletions styles/native/ts/core/widgets/videoplayer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,16 @@ export const com_mendix_widget_native_videoplayer_VideoPlayer: VideoPlayerType =
video: {
// All ViewStyle properties are allowed
},
fullScreenVideoPlayer: {
// All ViewStyle properties are allowed
},
controlBtnContainerStyle: {
// All ViewStyle properties are allowed
},
fullScreenVideoStyle: {
// All ViewStyle properties are allowed
},
fullScreenActivityIndicatorStyle: {
// All ViewStyle properties are allowed
},
};
6 changes: 5 additions & 1 deletion styles/native/ts/types/widgets.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,11 @@ export interface VideoPlayerType {
indicator?: {
backgroundColor?: string,
},
video?: ViewStyle
video?: ViewStyle,
fullScreenVideoPlayer?: ViewStyle,
controlBtnContainerStyle?: ViewStyle,
fullScreenVideoStyle?: ViewStyle,
fullScreenActivityIndicatorStyle?: ViewStyle,
}

// Web View
Expand Down

0 comments on commit c2f831c

Please sign in to comment.