diff --git a/CHANGELOG.md b/CHANGELOG.md deleted file mode 100644 index bdad90e..0000000 --- a/CHANGELOG.md +++ /dev/null @@ -1,91 +0,0 @@ -# react-native-youtube-bridge - -## 0.4.3 - -### Patch Changes - -- cc61a8d: fix: override webview source props (method, body, header) - -## 0.4.2 - -### Patch Changes - -- ae3777a: fix(web): prevent player rerender when onError is not wrapped with useCallback - -## 0.4.1 - -### Patch Changes - -- ea4af1b: fix: add missing origin parameter for YouTube iframe API security - - Pass webViewUrl as origin parameter to resolve iframe API restrictions - - Fix embed access issues when enablejsapi=1 is used - -## 0.4.0 - -### Minor Changes - -- 6ed4d00: feat: add flexible rendering modes with webViewUrl configuration - - Add webViewUrl prop for custom source URL configuration - - Support baseUrl setting for inline HTML mode to resolve embed restrictions - - Support URI override for WebView mode with custom player pages - - Update documentation with rendering configuration guide - -## 0.3.1 - -### Patch Changes - -- 058d4c8: docs(example): update example video and expo go link - -## 0.3.0 - -### Minor Changes - -- 4925df0: feat: add flexible source prop to support videoId and URL - - > [!note] - > ❗ BREAKING CHANGE: videoId prop replaced with source prop - > - > - source accepts string (videoId/URL) or object {videoId} | {url} - > - Add useYouTubeVideoId hook for internal parsing - > - Support multiple YouTube URL formats - -## 0.2.4 - -### Patch Changes - -- a71768e: refactor(web): extract YouTubePlayerCore class for better architecture - - Separate business logic from React lifecycle - - Create framework-agnostic core with useYouTubePlayer hook - -## 0.2.3 - -### Patch Changes - -- bf1b999: chore(package.json): remove src folder when uploading to npm (-53.5kb) - -## 0.2.2 - -### Patch Changes - -- 5c8c57d: refactor: organize and constantize error codes - -## 0.2.1 - -### Patch Changes - -- b4cdf79: fix: where onProgress is not called when seekTo is invoked - - add TSDoc documentation - - add defensive logic for cases without videoId - - fix issue where seekTo doesn't work properly when paused without interval - -## 0.2.0 - -### Minor Changes - -- 878a2a9: fix: change props name from webviewProps to webViewProps - -## 0.1.0 - -### Minor Changes - -- 83a2b0f: feat: 🎉 Initial Release react-native-youtube-bridge v0.1.0 diff --git a/README-ko_kr.md b/README-ko_kr.md index 2c4e0de..69dca58 100644 --- a/README-ko_kr.md +++ b/README-ko_kr.md @@ -264,6 +264,22 @@ YouTube 플레이어 렌더링 방식을 제어하고 호환성을 위한 소스 /> ``` +**커스텀 플레이어 페이지** + +직접 제작한 커스텀 플레이어 페이지를 사용하려면, `@react-native-youtube-bridge/web`을 활용하여 React 기반의 플레이어 페이지를 구축할 수 있습니다. + +```tsx +import { YoutubePlayer } from '@react-native-youtube-bridge/web'; + +function CustomPlayerPage() { + return ; +} + +export default CustomPlayerPage; +``` + +> 자세한 내용은 [웹 플레이어 가이드](./packages/web/)를 참고해 주세요. + ## 기여하기 리포지토리 기여 방법과 개발 워크플로우를 알아보려면 [기여 가이드](CONTRIBUTING.md)를 참고하세요. diff --git a/README.md b/README.md index 1952f54..1c590be 100644 --- a/README.md +++ b/README.md @@ -264,6 +264,22 @@ Control YouTube player rendering method and configure source URLs for compatibil /> ``` +**Custom Player Page** + +To use your own custom player page, you can build a React-based player using `@react-native-youtube-bridge/web`. + +```tsx +import { YoutubePlayer } from '@react-native-youtube-bridge/web'; + +function CustomPlayerPage() { + return ; +} + +export default CustomPlayerPage; +``` + +> For more details, please refer to the [Web Player Guide](./packages/web/). + ## Contributing See the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.