Youtube Player
The Youtube Player View is the Design Element to use when you need to display a Video Player for YouTube Videos.
YouTube Player View Properties
YouTube Video ID
You will need to use only the Youtube Video ID and not the whole URL. YouTube Video IDs are case sensitive and look like this kgBkxrWOTUU
.
Note: Videos need to be public or unlisted. Private videos can not be used.
You can find the Video ID:
- By pressing share on a Youtube Video and then copying the last part of the URL. For example, https://youtu.be/kgBkxrWOTUU
- In any youtube.com URL after the
v=
parameter. For example, https://www.youtube.com/watch?v=kgBkxrWOTUU&list=PLAomNi_9qNYFva333Ir9G_0ydxY90jzxM
Autoplay
If enabled, the video will automatically start playing after it loads; else, the user will need to click the Play button.
Show Video Player Controls
If enabled, the YouTube player will display controls on the bottom.
Show YouTube Logo
If enabled, the YouTube brand is displayed on the Player.
Note: The logo’s size and position are handled by YouTube and based on the device, operating system, Player’s size, and other parameters.
View
User Interaction Enabled
User Interaction Enabled indicates whether the Player can receive touches from the user. When disabled, the user will not be able to press on controls or links in the Player.
Hidden
If enabled, it hides the Player.
Note: Audio will continue playing in the background if a video is playing and the Player is hidden.
Code
Display Name
You can use this text to identify the YouTube Player View in the Code Blocks Editor and in the List of the Screen’s elements. It is not visible to the users.
Visible In Code
It makes the YouTube Player View visible in the Code Blocks Editor in order to connect it to other Code Blocks.