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
Copy file name to clipboardExpand all lines: doc/readme.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -69,6 +69,8 @@ height of the webview container
69
69
70
70
width of the webview container
71
71
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
+
72
74
## ref
73
75
74
76
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.
122
124
Make sure you match this flag `onChangeState` to handle user pausing
123
125
the video from the youtube player UI
124
126
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).
0 commit comments