The moment when the player is supposed to stop playing
Extra parameters used to configure the player. See: https://developers.google.com/youtube/player_parameters.html?playerVersion=HTML5#Parameters
The moment when the player is supposed to start playing
YouTube Video ID to view.
<drayman-youtube-player />
Youtube player powered by Angular Material library.
Example of usage
Auto-play youtube video.
export const component: DraymanComponent = async ({ forceUpdate }) => { return () => { return <div style={{ height: '500px' }}> <drayman-youtube-player videoId="UEzl9JYkH5M" playerVars={{ autoplay: 1 }} /> </div> } }