feat: safari autoplay
This commit is contained in:
1 parent
2e16746a40
commit
f78af76da5
8 files changed
+127
-104
No files matched your search
@@ -0,0 +1,7 @@
|
||||
import { atom, useAtomValue, useSetAtom } from 'jotai';
|
||||
|
||||
const canPlayAtom = atom<boolean>(false as boolean);
|
||||
|
||||
export const useCanPlay = () => useAtomValue(canPlayAtom);
|
||||
|
||||
export const useSetCanPlay = () => useSetAtom(canPlayAtom);
|
||||
Reference in new issue
Block a user