MCPcopy Index your code
hub / github.com/TheWidlarzGroup/react-native-video-player

github.com/TheWidlarzGroup/react-native-video-player @v0.16.3

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.16.3 ↗ · + Follow
38 symbols 85 edges 28 files 3 documented · 8%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

react-native-video-player

🎥 <VideoPlayer /> component for React Native with a few controls. This player uses react-native-video under the hood

Demo video

Documentation

documentation is available at docs.thewidlarzgroup.com/react-native-video-player/

Installation

yarn add react-native-video-player react-native-video

or

npm install --save react-native-video-player react-native-video

Then, install pods

cd ios
pod install

Example

  import VideoPlayer, { type VideoPlayerRef } from 'react-native-video-player';

  const playerRef = useRef<VideoPlayerRef>(null);

  <VideoPlayer
    ref={playerRef}
    endWithThumbnail
    thumbnail={{
      uri: 'https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/images/BigBuckBunny.jpg',
    }}
    source={{
      uri: 'https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4',
    }}
    onError={(e) => console.log(e)}
    showDuration={true}
  />

Future features

Check out our Roadmap for what's coming up next! We're always working on new features and improvements, so stay tuned!

Community support

We have a discord server where you can ask questions and get help. Join the discord server

Enterprise Support

📱 react-native-video-player is provided as it is. For enterprise support or other business inquiries, please contact us 🤝. We can help you with the integration, customization and maintenance. We are providing both free and commercial support for this project. let's build something awesome together! 🚀

<img alt="TheWidlarzGroup" src="https://github.com/TheWidlarzGroup/react-native-video-player/raw/v0.16.3/docs/static/img/banners/twg-light.png" />

Extension points exported contracts — how you extend this code

VideoInternalRef (Interface)
(no doc)
src/Video.tsx
StartButtonProps (Interface)
(no doc)
src/Thumbnail.tsx
VideoPlayerRef (Interface)
(no doc)
src/index.tsx
PlayButtonProps (Interface)
(no doc)
src/controls/PlayButton.tsx
ThumbnailProps (Interface)
(no doc)
src/Thumbnail.tsx
CustomStyles (Interface)
(no doc)
src/index.tsx
FullscreenProps (Interface)
(no doc)
src/controls/Fullscreen.tsx
VideoPlayerProps (Interface)
(no doc)
src/index.tsx

Core symbols most depended-on inside this repo

padTimeValueString
called by 5
src/controls/Duration.tsx
parsePadding
called by 3
src/controls/Seekbar.tsx
getDurationTime
called by 2
src/controls/Duration.tsx
onCreate
called by 0
example/android/app/src/main/java/videoplayer/example/MainActivity.kt
getMainComponentName
called by 0
example/android/app/src/main/java/videoplayer/example/MainActivity.kt
createReactActivityDelegate
called by 0
example/android/app/src/main/java/videoplayer/example/MainActivity.kt
invokeDefaultOnBackPressed
called by 0
example/android/app/src/main/java/videoplayer/example/MainActivity.kt
getPackages
called by 0
example/android/app/src/main/java/videoplayer/example/MainApplication.kt

Shape

Interface 14
Function 11
Method 10
Class 3

Languages

TypeScript66%
Kotlin34%

Modules by API surface

example/android/app/src/main/java/videoplayer/example/MainApplication.kt6 symbols
example/android/app/src/main/java/videoplayer/example/MainActivity.kt5 symbols
src/index.tsx3 symbols
src/Thumbnail.tsx3 symbols
src/controls/Seekbar.tsx2 symbols
src/controls/Duration.tsx2 symbols
src/controls/ControlsAnimatedWrapper.tsx2 symbols
src/controls/Controls.tsx2 symbols
example/android/react-settings-plugin/src/main/kotlin/expo/plugins/ReactSettingsPlugin.kt2 symbols
docs/src/pages/index.tsx2 symbols
docs/src/components/HomepageFeatures/index.tsx2 symbols
src/controls/PlayButton.tsx1 symbols

For agents

$ claude mcp add react-native-video-player \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page