Skip to content

Commit 57f173b

Browse files
authored
Merge pull request #59 from polcats/master
Docs: grammatical improvements.
2 parents 073b2a1 + 3bba6c9 commit 57f173b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/props.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export const Important = ({children, color}) => (
3636
height of the webview container
3737

3838
:::note
39-
Embedded players must have a viewport that is at least 200px by 200px. If the player displays controls, it must be large enough to fully display the controls without shrinking the viewport below the minimum size. We recommend 16:9 players be at least 480 pixels wide and 270 pixels tall.
39+
Embedded players must have a viewport that is at least 200px by 200px. If the player displays controls, it must be large enough to fully display the controls without shrinking the viewport below the minimum size. We recommend 16:9 players are at least 480 pixels wide and 270 pixels tall.
4040
:::
4141

4242
---
@@ -52,7 +52,7 @@ The player will grow to fit the width of its parent, unless the parent has speci
5252
:::
5353

5454
:::note
55-
Embedded players must have a viewport that is at least 200px by 200px. If the player displays controls, it must be large enough to fully display the controls without shrinking the viewport below the minimum size. We recommend 16:9 players be at least 480 pixels wide and 270 pixels tall.
55+
Embedded players must have a viewport that is at least 200px by 200px. If the player displays controls, it must be large enough to fully display the controls without shrinking the viewport below the minimum size. We recommend 16:9 players are at least 480 pixels wide and 270 pixels tall.
5656
:::
5757

5858
---
@@ -101,9 +101,9 @@ Make sure you match this flag `onChangeState` to handle user pausing
101101
the video from the youtube player UI
102102

103103
:::note autoPlay
104-
The HTML5 `<video>` element, in certain mobile browsers (such as Chrome and Safari), only allows playback to take place if it's initiated by a user interaction (such as tapping on the player).
104+
The HTML5 `<video>` element, in certain mobile browsers (such as Chrome and Safari), only allows playback to take place if it's initiated by user interaction (such as tapping on the player).
105105

106-
However, the webview provides APIs to overcome this and will allow auto play in most cases. Use the [forceAndroidAutoplay](#forceandroidautoplay) prop if auto play still doesn't work. (usually is affected by older android devices)
106+
However, the webview provides APIs to overcome this and will allow auto play in most cases. Use the [forceAndroidAutoplay](#forceandroidautoplay) prop if autoplay still doesn't work. (usually is affected by older android devices)
107107
:::
108108

109109
---
@@ -224,7 +224,7 @@ The `getAvailablePlaybackRates` method will return the possible playback rates f
224224

225225
This event fires whenever the video playback rate changes. Your application should respond to the event and should not assume that the playback rate will automatically change when the `playbackRate` value changes. Similarly, your code should not assume that the video playback rate will only change as a result of an explicit call to setPlaybackRate.
226226

227-
The `playbackRate` that the API passes to the event listener function will be a number that identifies the new playback rate. The `getAvailablePlaybackRates` method returns a list of the valid playback rates for the currently cued or playing video.
227+
The `playbackRate` that the API passes to the event listener function will be a number that identifies the new playback rate. The `getAvailablePlaybackRates` method returns a list of the valid playback rates for the video currently cued or playing.
228228

229229
---
230230

0 commit comments

Comments
 (0)