Youtube Player
As the name suggests, the Youtube Player lets play youtube videos inside the app.
Adding a Youtube Player
- Select the Youtube Player component from the Components drawer. You can open the list of components by clicking the + button next to Components.
- 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 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 : PLUUVA1IsKg-U6G39qMH9zZIFaJKsJJPyp 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 2 months ago