Youtube Player
As the name suggests, the YouTube Player lets play individual videos or playlists from YouTube inside your app.
How to use
- To add the source of the video for the Youtube Player component to play, go to the Data tab (third tab) in the Properties Panel.
- Under Video ID, you can add a Youtube video or playlist ID.
Style Properties
Style properties allow you to customize the look and feel of the component. Combinations of styles applied to components can be saved as Stylesheets to easily reuse styles throughout your app. Styles can also be set dynamically using Variables. To learn more about all the different styling properties and how they work, take a look at Intro to Styling.
Configuration Properties
Property | Description |
---|---|
Component name | An optional descriptive name for the component. If the name is not "Youtube Player", it will appear as a comment above this component in the generated code. |
Auto Play | Autoplay the video on load. |
Data Configuration
Property | Description |
---|---|
Video ID | To enter a Youtube Video ID here. |
Playlist | To enter a Youtube Playlist ID. Example:
Playlist ID in below Youtube Playlist URL is :
https://www.youtube.com/watch?v=KhGI83cHJgo&list=PLUUVA1IsKg-U6G39qMH9zZIFaJKsJJPyp |
Conditional Display
You can conditionally display a component based on a given condition. Learn more about conditionally displaying components in the Conditional Display doc.
Updated about 1 month ago