Skip to content
You're viewing documentation for Draftbit Classic (v1), our previous platform. See the current Draftbit docs.

Youtube Player

As the name suggests, the YouTube Player lets play individual videos or playlists from YouTube inside your app.

  • 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 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.

PropertyDescription
Component nameAn 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 PlayAutoplay the video on load.
PropertyDescription
Video IDTo enter a Youtube Video ID here.
PlaylistTo 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

You can conditionally display a component based on a given condition. Learn more about conditionally displaying components in the Conditional Display doc.