Skip to content

Conversation

@sieu-db
Copy link
Collaborator

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

Important

Update useEffect in VideoPlayer.tsx to handle iOS silent mode audio playback and add example usage.

  • Behavior:
    • Updates useEffect in VideoPlayer.tsx to trigger triggerAudio() when isPlaying changes, ensuring audio plays in silent mode on iOS.
    • Adds a new section in VideoPlayerExample.tsx to demonstrate video playback in silent mode.
  • Functions:
    • Adds triggerAudio() in VideoPlayer.tsx to set audio mode globally for iOS.
  • Imports:
    • Adds Platform import in VideoPlayer.tsx to check for iOS platform.

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

@linear
Copy link

linear bot commented Feb 13, 2025

@sieu-db sieu-db changed the title update dependency in useEffect update dependency in useEffect for Video component Feb 13, 2025
@sieu-db sieu-db changed the title update dependency in useEffect for Video component update dependency in useEffect for Video component - 51 Feb 13, 2025
@github-actions
Copy link

Published version: @draftbit/ui@51.2.5-8bf60e.2

@sieu-db sieu-db changed the title update dependency in useEffect for Video component - 51 improve play video silence mode - 51 Feb 13, 2025
@github-actions
Copy link

Published version: @draftbit/ui@51.2.5-4ea004.2

@sieu-db sieu-db merged commit 4bf98e3 into master Feb 13, 2025
3 checks passed
@sieu-db sieu-db deleted the sieu/p-5865-enhance-silence-prop-video-component branch February 13, 2025 06:04
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