Making Playlist with wix databases

I was wondering is there any way to code a dynamic playlist with Wix data I making a video platform and I want to allow users to make a playlist.

You can play with the Audio Playlist example to get started. You’ll need to add the database stuff, change it to use video instead of audio, and you’ll probably want to add a way to display the video in a popup box or Lightbox as each item in the playlist is opened.

Yeah but I’m making a site like YouTube. And I want people to be able to make playlist and have it we’re the videos auto-play in the playlist. Would that be possible?