Skip to content

Commit 134aea7

Browse files
Merge remote-tracking branch 'origin/main' into fix/issue-27664
2 parents 157d524 + f012fa2 commit 134aea7

18 files changed

Lines changed: 1035 additions & 187 deletions

‎apps/mobile/src/components/MediaVideoPlayer.tsx‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ interface MediaVideoPlayerProps {
140140
readonly paused?: boolean;
141141
readonly onPlaybackStart?: () => void;
142142
readonly actionsSource?: MediaActionsSource;
143+
readonly borderRadius?: number;
143144
}
144145

145146
function MediaVideoPlayerContent(props: MediaVideoPlayerProps) {
@@ -152,7 +153,10 @@ function MediaVideoPlayerContent(props: MediaVideoPlayerProps) {
152153
<View
153154
collapsable={false}
154155
className="overflow-hidden rounded-[10px] bg-black"
155-
style={props.expanded ? { flex: 1 } : { width: "100%", maxWidth: 480, aspectRatio: 16 / 9 }}
156+
style={[
157+
props.expanded ? { flex: 1 } : { width: "100%", maxWidth: 480, aspectRatio: 16 / 9 },
158+
props.borderRadius === undefined ? null : { borderRadius: props.borderRadius },
159+
]}
156160
>
157161
{playbackUri ? (
158162
<LoadedMediaVideo

0 commit comments

Comments
 (0)