Skip to content

Commit ba645c6

Browse files
committed
update readme
1 parent a155335 commit ba645c6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

doc/readme.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ height of the webview container
6969

7070
width of the webview container
7171

72+
> Note: 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.
73+
7274
## ref
7375

7476
Gives access to the player reference. This can be used to access player functions.
@@ -122,6 +124,8 @@ Flag to tell the player to play or pause the video.
122124
Make sure you match this flag `onChangeState` to handle user pausing
123125
the video from the youtube player UI
124126

127+
> 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).
128+
125129
## onChangeState
126130

127131
**_function(event: string)_**

0 commit comments

Comments
 (0)