Skip to content

Conversation

@saseungmin
Copy link
Member

@saseungmin saseungmin commented Jun 24, 2025

Summary by CodeRabbit

  • Documentation
    • Added a new section on creating a custom player page using the web package to both the English and Korean README files, including example code and reference links.
    • Removed the changelog file containing the version history and past changes.

@changeset-bot
Copy link

changeset-bot bot commented Jun 24, 2025

⚠️ No Changeset found

Latest commit: 196288f

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@coderabbitai
Copy link

coderabbitai bot commented Jun 24, 2025

Walkthrough

This update deletes the CHANGELOG.md file and adds a new "Custom Player Page" section to both the English and Korean README files. The new documentation explains how to create a custom React-based YouTube player page using the @react-native-youtube-bridge/web package, including minimal usage examples and reference links.

Changes

File(s) Change Summary
CHANGELOG.md Deleted the changelog containing version history and release notes.
README.md, README-ko_kr.md Added a "Custom Player Page" section with usage examples for the @react-native-youtube-bridge/web package.

Sequence Diagram(s)

sequenceDiagram
    participant Developer
    participant CustomPlayerPage (React)
    participant YoutubePlayer (web package)
    Developer->>CustomPlayerPage: Create functional component
    CustomPlayerPage->>YoutubePlayer: Import and render YoutubePlayer
    YoutubePlayer->>YouTube IFrame API: Initialize and play video
Loading

Possibly related PRs

Poem

A README grows, the changelog goes,
Now rabbits hop where web players show.
With React in hand and YouTube in tow,
Custom pages bloom, new features flow!
🐇✨


🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@saseungmin saseungmin changed the title docs: update Custom Player Page root readme docs: update Custom Player Page root readme & remove changelog Jun 24, 2025
@cloudflare-workers-and-pages
Copy link

Deploying react-native-youtube-bridge-example with  Cloudflare Pages  Cloudflare Pages

Latest commit: 196288f
Status: ✅  Deploy successful!
Preview URL: https://f07de8b4.react-native-youtube-bridge-example.pages.dev
Branch Preview URL: https://docs-update-root-readme.react-native-youtube-bridge-example.pages.dev

View logs

@saseungmin saseungmin merged commit f086567 into main Jun 24, 2025
4 of 5 checks passed
@saseungmin saseungmin deleted the docs/update-root-readme branch June 24, 2025 05:09
Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 362e86e and 196288f.

📒 Files selected for processing (3)
  • CHANGELOG.md (0 hunks)
  • README-ko_kr.md (1 hunks)
  • README.md (1 hunks)
💤 Files with no reviewable changes (1)
  • CHANGELOG.md
🧰 Additional context used
🪛 markdownlint-cli2 (0.17.2)
README.md

267-267: Emphasis used instead of a heading
null

(MD036, no-emphasis-as-heading)

README-ko_kr.md

267-267: Emphasis used instead of a heading
null

(MD036, no-emphasis-as-heading)

Comment on lines +267 to +281
**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 <YoutubePlayer />;
}

export default CustomPlayerPage;
```

> For more details, please refer to the [Web Player Guide](./packages/web/).
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🛠️ Refactor suggestion

Convert bolded text to a proper Markdown heading to satisfy MD036 and keep the TOC consistent.

markdownlint flags the current emphasis (**Custom Player Page**) because it’s being used as a heading.
Every other subsection (e.g. “### Events”, “### Functions”) already uses ###-style headings, so keeping the same convention avoids breaking automatic TOC generators and keeps the style uniform.

-**Custom Player Page**
+### Custom Player Page
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
**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 <YoutubePlayer />;
}
export default CustomPlayerPage;
```
> For more details, please refer to the [Web Player Guide](./packages/web/).
### Custom Player Page
To use your own custom player page, you can build a React-based player using `@react-native-youtube-bridge/web`.
🧰 Tools
🪛 markdownlint-cli2 (0.17.2)

267-267: Emphasis used instead of a heading
null

(MD036, no-emphasis-as-heading)

🤖 Prompt for AI Agents
In README.md around lines 267 to 281, the text "Custom Player Page" is currently
bolded but should be converted to a proper Markdown heading to comply with
markdownlint rule MD036 and maintain TOC consistency. Replace the bolded text
with a heading using the same style as other subsections, such as prefixing it
with "###" to make it a level 3 heading.

Comment on lines +267 to +281
**커스텀 플레이어 페이지**

직접 제작한 커스텀 플레이어 페이지를 사용하려면, `@react-native-youtube-bridge/web`을 활용하여 React 기반의 플레이어 페이지를 구축할 수 있습니다.

```tsx
import { YoutubePlayer } from '@react-native-youtube-bridge/web';

function CustomPlayerPage() {
return <YoutubePlayer />;
}

export default CustomPlayerPage;
```

> 자세한 내용은 [웹 플레이어 가이드](./packages/web/)를 참고해 주세요.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🛠️ Refactor suggestion

헤딩 형식 통일 및 MD036 해결 – 굵게 처리된 텍스트를 헤딩으로 전환하세요.

영문 README와 동일하게 **커스텀 플레이어 페이지** 대신 ### 헤딩을 사용하면
(1) lint 오류(MD036)를 제거하고, (2) 자동 목차·스타일 일관성을 유지할 수 있습니다.

-**커스텀 플레이어 페이지**
+### 커스텀 플레이어 페이지
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
**커스텀 플레이어 페이지**
직접 제작한 커스텀 플레이어 페이지를 사용하려면, `@react-native-youtube-bridge/web`을 활용하여 React 기반의 플레이어 페이지를 구축할 수 있습니다.
```tsx
import { YoutubePlayer } from '@react-native-youtube-bridge/web';
function CustomPlayerPage() {
return <YoutubePlayer />;
}
export default CustomPlayerPage;
```
> 자세한 내용은 [웹 플레이어 가이드](./packages/web/)를 참고해 주세요.
### 커스텀 플레이어 페이지
직접 제작한 커스텀 플레이어 페이지를 사용하려면, `@react-native-youtube-bridge/web`을 활용하여 React 기반의 플레이어 페이지를 구축할 수 있습니다.
🧰 Tools
🪛 markdownlint-cli2 (0.17.2)

267-267: Emphasis used instead of a heading
null

(MD036, no-emphasis-as-heading)

🤖 Prompt for AI Agents
In README-ko_kr.md around lines 267 to 281, the section title is formatted as
bold text instead of a proper markdown heading, causing lint error MD036 and
inconsistency with the English README. Replace the bold text "**커스텀 플레이어 페이지**"
with a markdown heading using "### 커스텀 플레이어 페이지" to fix the lint error and
maintain consistent styling and automatic table of contents generation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants