I think we are still not quite there, I will try and explain it more.
The trainer creates the exercise (text field: exercise name) (text field: YouTube link) of one page that are stored in the database for future use.
The trainer then creates workout and from a dropdown they can select any of the stored exercise in the database. They can reuse exercises to make up multiple different workouts that are saved in the database to be sent out to multiple different clients.
On the clients end (client profile) they have a workout page where the exercises within the workout (that the trainer has assigned to them) will be displayed. When the client clicks on the “exercise name” the popup will show up with the video.
I will send photos:
#1 Create Exercise.
This is where they create the exercise with the link.
#2 Create Workout.
Here is where they Create the workout and add the exercises from #1
#3 They sign up a client and assign the workout from #2 to them.
This is the client workout page (still not finished looking pretty). When the client click on “Exercise: Parent group’s Exercise’s Exercise :split by” (which shows the exercise name) it will show the video in the popup.