diff options
Diffstat (limited to 'src/view/com/util/post-embeds/VideoPlayerContext.web.tsx')
-rw-r--r-- | src/view/com/util/post-embeds/VideoPlayerContext.web.tsx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/view/com/util/post-embeds/VideoPlayerContext.web.tsx b/src/view/com/util/post-embeds/VideoPlayerContext.web.tsx new file mode 100644 index 000000000..329fb1206 --- /dev/null +++ b/src/view/com/util/post-embeds/VideoPlayerContext.web.tsx @@ -0,0 +1,9 @@ +import React from 'react' + +export function VideoPlayerProvider({children}: {children: React.ReactNode}) { + return children +} + +export function useVideoPlayer() { + throw new Error('useVideoPlayer must not be used on web') +} |