Skip to content

Commit c2f831c

Browse files
Merge pull request #125 from mendix/nc/video-fullscreen-android
Add android fullscreen video player styles
2 parents eb9b415 + 1dca0ba commit c2f831c

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

styles/native/ts/core/widgets/videoplayer.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,16 @@ export const com_mendix_widget_native_videoplayer_VideoPlayer: VideoPlayerType =
2121
video: {
2222
// All ViewStyle properties are allowed
2323
},
24+
fullScreenVideoPlayer: {
25+
// All ViewStyle properties are allowed
26+
},
27+
controlBtnContainerStyle: {
28+
// All ViewStyle properties are allowed
29+
},
30+
fullScreenVideoStyle: {
31+
// All ViewStyle properties are allowed
32+
},
33+
fullScreenActivityIndicatorStyle: {
34+
// All ViewStyle properties are allowed
35+
},
2436
};

styles/native/ts/types/widgets.d.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -621,7 +621,11 @@ export interface VideoPlayerType {
621621
indicator?: {
622622
backgroundColor?: string,
623623
},
624-
video?: ViewStyle
624+
video?: ViewStyle,
625+
fullScreenVideoPlayer?: ViewStyle,
626+
controlBtnContainerStyle?: ViewStyle,
627+
fullScreenVideoStyle?: ViewStyle,
628+
fullScreenActivityIndicatorStyle?: ViewStyle,
625629
}
626630

627631
// Web View

0 commit comments

Comments
 (0)