Skip to content

Conversation

@Nisarg-18
Copy link
Collaborator

@Nisarg-18 Nisarg-18 commented May 25, 2025

Added native code for pausing all other players before playing the current one

@Nisarg-18 Nisarg-18 self-assigned this May 25, 2025
// Pause previous page's video
if (controllers.containsKey(currentPageIndex)) {
controllers[currentPageIndex]?.pause();
// controllers[currentPageIndex]?.pause();
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To test if the video is automatically paused instead of manually doing it

@Nisarg-18 Nisarg-18 requested a review from NicholasNagy May 25, 2025 20:02
Copy link
Owner

@NicholasNagy NicholasNagy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@Nisarg-18 Nisarg-18 merged commit 4575094 into master May 30, 2025
0 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants