Skip to content

Commit a4784e6

Browse files
committed
chore: update changset
1 parent 9ba4156 commit a4784e6

File tree

2 files changed

+13
-5
lines changed

2 files changed

+13
-5
lines changed

.changeset/cool-pets-do.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,12 @@
33
"@react-native-youtube-bridge/core": patch
44
---
55

6-
fix: resolve 101/150 errors by aligning WebView baseUrl and IFrame origin in inline mode
6+
fix: resolve YouTube 101/150 errors by aligning WebView baseUrl and IFrame origin in inline mode
77

8-
- Set baseUrl to the default `https://localhost/` for inline WebView
9-
- Default playerVars.origin to `https://localhost` in inline WebView
10-
- Wrap certain dev logs with DEV so they only run in development
11-
- Add TSDoc for playerVars.origin and webViewUrl props
8+
- Wrap certain dev logs with `__DEV__` so they only run in development
9+
- Add TSDoc for `webViewUrl` prop
10+
11+
Notes:
12+
13+
- When using a custom baseUrl like `https://your-domain.com/`, the IFrame API `origin` must be `https://your-domain.com` (port must match).
14+
- Use a trailing slash for `baseUrl` (e.g., `https://localhost/`), but never for `origin` (scheme + host [+ port] only).

.changeset/fifty-towns-bow.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@react-native-youtube-bridge/core": patch
3+
---
4+
5+
chore: update TSDoc for `playerVars.origin` prop

0 commit comments

Comments
 (0)