Learn Courses My Dashboard

Possible Intro Video

Hey y’all, I was wandering, because I’m new to all of this, if you can, and since coding has an unlimited spectrum, add a cool intro video which plays to kinda welcome your user to the app, but only plays the first time the app is opened?


Welcome to the community!!
Easiest way would be to make a user default value and check it every time the app opens (at first it’s be true) let’s call it isFirstLaunch

But once you play your video. You switch it to false

Every time after the Boolean would be false still and the video wouldn’t play

So it’d only play if that Boolean is true

Thank you!!