# Panel (youtube_player)

YouTube video player

# Description

Displays embed video player for given Youtube video ID.

Take a look at Youtube player documentation (opens new window) with all available params for further enhancements of this panel.

# Screenshots

youtube_player

# Config

youtube_player:

	config:

		# Required | Type: string | Default: null
		# YouTube video slug
		#
		### Note
		### It is the `v` parameter from URL, e.g. BIwC6wbncrk from https://www.youtube.com/watch?v=BIwC6wbncrk
		video: "BIwC6wbncrk"

		# Optional | Type: bool | Default: false
		# Whether to start playing automatically
		autoplay: false

		# Optional | Type: bool | Default: false
		# Whether to start playing again at the end
		loop: false

		# Optional | Type: int | Default: 0
		# Time from which start the video (in seconds)
		start: 0

		# UI
		ui:

			# Required | Type: string | Default: 16by9
			# Player aspect ratio
			ratio: "16by9"

			# Optional | Type: string | Default: null
			# Panel title
			title: "Panel title"

			# Optional | Type: string | Default: null
			# Panel description
			description: "Panel description"
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
33
34
35
36
37