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
* 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.
35
35
*/
36
-
height: Number;
36
+
height: number;
37
37
/**
38
38
* width of the webview container
39
39
*
40
40
* 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.
41
41
*/
42
-
width?: Number;
42
+
width?: number;
43
43
/**
44
44
* Specifies the YouTube Video ID of the video to be played.
45
45
*/
46
-
videoId: String;
46
+
videoId: string;
47
47
/**
48
48
* Specifies the playlist to play. It can be either the playlist ID or a list of video IDs
* This sets the suggested playback rate for the current video. If the playback rate changes, it will only change for the video that is already cued or being played.
80
80
*/
81
-
playbackRate?: Number;
81
+
playbackRate?: number;
82
82
/**
83
83
* This event fires if an error occurs in the player. The API will pass an error string to the event listener function.
0 commit comments