You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore(docs): replace @remark with @remarks per TSDoc spec (#77)
- TSDoc specifies the tag name as `@remarks` (not `@remark`).
- This aligns our comments with the spec and improves tooling support.
- No runtime behavior changes.
- Ref: https://tsdoc.org/pages/tags/remarks/
Copy file name to clipboardExpand all lines: packages/core/src/types/index.ts
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -119,14 +119,14 @@ export type PlayerEvents = {
119
119
exporttypeYoutubePlayerVars={
120
120
/**
121
121
* This parameter specifies whether the initial video will automatically start to play when the player loads.
122
-
* @remark
122
+
* @remarks
123
123
* - If the `muted` is not set to true when activating the `autoplay`,
124
124
* - it may not work properly depending on browser policy. (https://developer.chrome.com/blog/autoplay)
125
125
*/
126
126
autoplay?: boolean;
127
127
/**
128
128
* This parameter indicates whether the video player controls are displayed.
129
-
* @remark
129
+
* @remarks
130
130
* - `controls: false` - Player controls do not display in the player.
131
131
* - `controls: true` (default) - Player controls display in the player.
132
132
* @defaultValue true
@@ -152,22 +152,22 @@ export type YoutubePlayerVars = {
152
152
/**
153
153
* This parameter controls whether videos play inline or fullscreen on iOS.
154
154
*
155
-
* @remark
155
+
* @remarks
156
156
* Valid values are:
157
157
* - `playsinline: false` - Results in fullscreen playback. This is currently the default value, though the default is subject to change.
158
158
* - `playsinline: true` - Results in inline playback for mobile browsers and for WebViews created with the `allowsInlineMediaPlayback` property set to `YES`.
159
159
*/
160
160
playsinline?: boolean;
161
161
/**
162
162
* Prior to the change, this parameter indicates whether the player should show related videos when playback of the initial video ends.
163
-
* @remark
163
+
* @remarks
164
164
* After the change, you will not be able to disable related videos. Instead, if the `rel` parameter is set to `false, related videos will come from the same channel as the video that was just played.
165
165
*/
166
166
rel?: boolean;
167
167
/**
168
168
* This parameter provides an extra security measure for the IFrame API and is only supported for IFrame embeds.
169
169
*
170
-
* @remark
170
+
* @remarks
171
171
* - When `useInlineHtml` is `true` (iOS/Android inline WebView), if not provided, the library defaults this to `https://localhost` and sets the WebView `baseUrl` accordingly so that the document origin and this value match.
172
172
* - When `useInlineHtml` is `false` (remote WebView), if not provided, the external page URL defaults to `https://react-native-youtube-bridge.pages.dev` and this value follows that URL. If you pass a custom `webViewUrl` (base URL), `origin` should follow that same origin.
173
173
* - In all cases, this value MUST exactly match the document's origin that hosts the iframe for the YouTube IFrame API to function correctly.
0 commit comments