A distraction free(without recommendations, share buttons, or channel overlays) implementation of youtube video player. Future versions will integrate with the upcoming Flixsrota Video Server, enabling adaptive streaming
- 🎥 Play YouTube videos by ID
- 📱 Works on React Native CLI and Expo
- 🔄 Fullscreen toggle with orientation lock
▶️ ⏸️ Play / Pause controls- 🔇🔊 Mute / Unmute support
- 🎚️ Gesture & slider-based seeking
- ⚡ Lightweight and easy-to-use
- 🛠️ Supports hooks for player state (ready, video states, current time, and total duration, etc.)
Using npm:
npm install @flixsrota/playerUsing yarn:
yarn add @flixsrota/playerThis library uses device orientation for fullscreen video handling.
Install based on your ecosystem:
expo install expo-screen-orientationnpm install react-native-orientation-locker
# or
yarn add react-native-orientation-lockerimport { View, Text } from "react-native";
import { PlayerView } from "@flixsrota/player";
export default function App() {
return (
<View style={{ flex: 1 }}>
<PlayerView videoId="_cMxraX_5RE" />
<Text>Flixsrota Player Example</Text>
</View>
);
}├── assets/ # Images for preview & docs
├── example/ # Example Expo app
├── lib/ # Build output (JS + types)
│ ├── module/ # Compiled JavaScript (for publishing)
│ └── typescript/ # TypeScript declaration files
├── src/ # Source code (TypeScript)
│ └── __tests__/ # Tests (need to be implemented)
├── .github/ # Contribution configs (CI/CD, hooks)
📢 Important: We do not accept feature requests or questions via issues.
If you want to request a feature or need help, please use GitHub Discussions only:
This ensures issues are only used for bug reports and development tasks.
MIT © Nikhil Verma






