aboutsummaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
Diffstat (limited to 'src/components')
-rw-r--r--src/components/moments/TrimmerPlayer.tsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/components/moments/TrimmerPlayer.tsx b/src/components/moments/TrimmerPlayer.tsx
index b28df590..87b3a786 100644
--- a/src/components/moments/TrimmerPlayer.tsx
+++ b/src/components/moments/TrimmerPlayer.tsx
@@ -10,6 +10,7 @@ interface TrimmerPlayerProps {
hideTrimmer: boolean;
handleLoad: Function;
onChangedEndpoints: Function;
+ muted: boolean;
}
const TrimmerPlayer: React.FC<TrimmerPlayerProps> = ({
@@ -18,6 +19,7 @@ const TrimmerPlayer: React.FC<TrimmerPlayerProps> = ({
hideTrimmer,
handleLoad,
onChangedEndpoints,
+ muted,
}) => {
// Stores the reference to player for seeking
const playerRef = useRef<Video>();
@@ -65,7 +67,7 @@ const TrimmerPlayer: React.FC<TrimmerPlayerProps> = ({
source={{uri: source}}
rate={1.0}
volume={1.0}
- muted={false}
+ muted={muted}
paused={paused}
resizeMode={'contain'}
repeat={true}