https://github.com/react-native-bridges/react-native-youtube-bridge
๐ฅ Easy-to-use YouTube player for React Native with cross-platform support
https://github.com/react-native-bridges/react-native-youtube-bridge
android expo ios react-native react-native-youtube react-native-youtube-iframe web youtube-iframe youtube-player youtube-video
Last synced: about 1 month ago
JSON representation
๐ฅ Easy-to-use YouTube player for React Native with cross-platform support
- Host: GitHub
- URL: https://github.com/react-native-bridges/react-native-youtube-bridge
- Owner: react-native-bridges
- License: mit
- Created: 2025-06-11T09:15:22.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2026-05-03T11:02:17.000Z (about 2 months ago)
- Last Synced: 2026-05-03T11:24:06.222Z (about 2 months ago)
- Topics: android, expo, ios, react-native, react-native-youtube, react-native-youtube-iframe, web, youtube-iframe, youtube-player, youtube-video
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/react-native-youtube-bridge
- Size: 35 MB
- Stars: 43
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README-ko_kr.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# React Native Youtube Bridge
> [English](./README.md) | ํ๊ตญ์ด
## ๊ฐ์
React Native์์ YouTube ํ๋ ์ด์ด๋ฅผ ์ฌ์ฉํ๋ ค๋ฉด YouTube IFrame API, WebView ๋์, ์ด๋ฒคํธ, ํ๋ซํผ ์ฐจ์ด๋ฅผ ์ง์ ์ฐ๊ฒฐํด์ผ ํ๋ ๊ฒฝ์ฐ๊ฐ ๋ง์ต๋๋ค.
`react-native-youtube-bridge`๋ iOS, Android, Web์์ ์ฌ์ฉํ ์ ์๋ ํ์
์์ ํ Hook ๊ธฐ๋ฐ YouTube ํ๋ ์ด์ด ๋ผ์ด๋ธ๋ฌ๋ฆฌ์
๋๋ค.
### ์ฃผ์ ํน์ง
- ๐ฅ **YouTube IFrame Player API** - ๋ค์ดํฐ๋ธ YouTube ๋ชจ๋ ๋์ YouTube iframe player๋ฅผ ์ฌ์ฉ
- ๐ช **Hook ๊ธฐ๋ฐ API** - `useYouTubePlayer`๋ก ํ๋ ์ด์ด๋ฅผ ๋ง๋ค๊ณ `YoutubeView`๋ก ๋ ๋๋ง
- ๐ **ํ์
์์ ์ด๋ฒคํธ** - `useYouTubeEvent`๋ก ready, state, progress, mute, error ์ด๋ฒคํธ ๊ตฌ๋
- ๐ **ํฌ๋ก์ค ํ๋ซํผ** - iOS, Android, React Native Web ์ง์
- ๐งฉ **์ ์ฐํ ๋ ๋๋ง ๋ชจ๋** - ๊ธฐ๋ณธ inline HTML ๋๋ ์ธ๋ถ WebView ํ๋ ์ด์ด ํ์ด์ง ์ฌ์ฉ ๊ฐ๋ฅ
- ๐ง **TypeScript ์ง์** - ํ๋ ์ด์ด ๋ฉ์๋, ์ด๋ฒคํธ, source ์
๋ ฅ, view props ํ์
์ ๊ณต
- ๐ **Expo ์นํ์ ** - Expo์ ์ต์ React Native ํ๋ก์ ํธ์์ ์ฌ์ฉํ๊ธฐ ์ข์
## ๋น ๋ฅธ ์์
### ๐ ๋ฌธ์
์ ์ฒด ๋ฌธ์๋ ์์ ํ์ธํ ์ ์์ต๋๋ค.
- [์์ํ๊ธฐ](https://react-native-youtube-bridge-docs.pages.dev/ko/guide/getting-started/overview.html)
- [API ๋ ํผ๋ฐ์ค](https://react-native-youtube-bridge-docs.pages.dev/ko/guide/usage/api-reference.html)
- [1.x ๋ฌธ์](https://react-native-youtube-bridge-docs.pages.dev/1.x/ko/)
- [1.x์์ ๋ง์ด๊ทธ๋ ์ด์
](https://react-native-youtube-bridge-docs.pages.dev/ko/guide/migration-from-1.x.html)
### ์์ ๋ฐ ๋ฐ๋ชจ
- [๐ ์์ ํ๋ก์ ํธ](/example/) - ์์ React Native ์ฑ
- [๐ ์น ๋ฐ๋ชจ](https://react-native-youtube-bridge-example.pages.dev/) - ํธ์คํ
๋ ๋ฐ๋ชจ
- [๐ค Expo Snack](https://snack.expo.dev/@harang/react-native-youtube-bridge) - Expo Snack์์ ๋ฐ๋ก ์ฒดํ
### ๐ค AI
- [llms.txt](https://react-native-youtube-bridge-docs.pages.dev/ko/llms.txt): ๋ฌธ์ ํ์ด์ง์ ์ค๋ช
์ ๋ด์ ๊ตฌ์กฐํ๋ ์์ธ ํ์ผ์
๋๋ค.
- [llms-full.txt](https://react-native-youtube-bridge-docs.pages.dev/ko/llms-full.txt): ์ ์ฒด ๋ฌธ์๋ฅผ ํ๋์ ํ์ผ๋ก ํฉ์น ์ ์ฒด ๋ด์ฉ ํ์ผ์
๋๋ค.
### ์ค์น
```bash
npm install react-native-youtube-bridge
```
### ๊ธฐ๋ณธ ์ฌ์ฉ๋ฒ
```tsx
import { YoutubeView, useYouTubePlayer } from 'react-native-youtube-bridge';
function App() {
const player = useYouTubePlayer('AbZH7XWDW_k');
return ;
}
```
์ด๋ฒคํธ, ํ๋ ์ด์ด ์ ์ด, ๋ ๋๋ง ๋ชจ๋, WebView ์ปค์คํฐ๋ง์ด์ง, ๋ง์ด๊ทธ๋ ์ด์
์ [์ ์ฒด ๋ฌธ์](https://react-native-youtube-bridge-docs.pages.dev/ko/)๋ฅผ ์ฐธ๊ณ ํ์ธ์.
## ๊ธฐ์ฌํ๊ธฐ
ํ๋ก์ ํธ ๊ธฐ์ฌ ๋ฐฉ๋ฒ๊ณผ ๊ฐ๋ฐ ํ๊ฒฝ ์ค์ ์ [๊ธฐ์ฌ ๊ฐ์ด๋](CONTRIBUTING.md)๋ฅผ ์ฐธ๊ณ ํด ์ฃผ์ธ์.
## ๋ผ์ด์ ์ค
[MIT](./LICENSE)