TheWidlarzGroup / react-native-video

A <Video /> component for react-native
https://docs.thewidlarzgroup.com/react-native-video/
MIT License
7.23k stars 2.9k forks source link

Adds paused state to ref #4245

Closed genesy closed 3 weeks ago

genesy commented 1 month ago

Simple addition to the ref.

Motivation

4226

freeboub commented 1 month ago

Why do you need that ? Pause function already exists https://thewidlarzgroup.github.io/react-native-video/component/methods#pause Moreover adding a state here will cause unnecessary renders ...