Skip to content

Conversation

@sieu-db
Copy link
Collaborator

@sieu-db sieu-db commented Feb 7, 2025

Important

Add playsInSilentModeIOS prop to VideoPlayer for iOS silent mode audio control and update example video URIs.

  • Behavior:
    • Add playsInSilentModeIOS prop to VideoPlayer in VideoPlayer.tsx to control audio playback in silent mode on iOS.
    • Implement updateAudioMode function to set audio mode using Audio.setAudioModeAsync.
    • Use React.useEffect to call updateAudioMode when playsInSilentModeIOS changes.
  • Examples:
    • Update video and poster URIs in VideoPlayerExample.tsx to new sample URLs.

This description was created by Ellipsis for c4bed5f. It will automatically update as commits are pushed.

@linear
Copy link

linear bot commented Feb 7, 2025

@github-actions
Copy link

github-actions bot commented Feb 7, 2025

Published version: @draftbit/ui@52.1.3-238f02.2

@sieu-db sieu-db merged commit 3fd5d4d into 52-beta Feb 7, 2025
1 check passed
@sieu-db sieu-db deleted the sieu/p-5865-add-silence-mode-prop-video-component-52 branch February 7, 2025 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants