# youtube_player

Name youtube_player
Type panel
Version 1.0
Since 2020-01-01

# Prologue

Displays embed video player for given Youtube video ID.

Youtube player documentation with all available params for further enhancements of this panel to be found at: https://developers.google.com/youtube/youtube_player_demo

# Preview

# Configuration

youtube_player:
	render: {width: 6}

	config:

		# Required
		# youtube video slug ("v" param from url when watching video on youtube)
		# LPL support
		video: my_video_variable | "'kxKLYDLzuHA'"

		# Optional | default "false"
		# Whether to start playing automatically
		autoplay: true

		# Optional | default "false"
		# Whether to start playing again at the end
		loop: false

		# Optional | default "0"
		# Where to start the video play in seconds
		start: 0

		ui:
			# Optional | Default - null
			# Panel title
			title: Some video custom name

			# Optional | default "16by9"
			# video/player aspect ration
			# available values: 21by9, 16by9, 4by3, 1by1
			# LPL support
			ratio: my_ratio_variable | "'16by9'"
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32