Hello guys, I unable to figure out how to structure a course hosting website I’m currently working on.
What I want is to allow teachers to upload video lessons(would be saved in a list of videos data field) and assign titles to them.
I also want to create a repeating group that would display all the lessons titles and when users click the repeating group’s cells containing the lesson title, the video player would be populated with the video associated with the title clicked.
What I’m unable to figure out is, how will I create a relationship between the lesson videos and their titles and display them accordingly? Thank you guys in advance
It seems like you will need a data type that is called something like Lesson and it will have fields of name (text) video (url/text) and so forth. Then on the teacher/User data type you can have a list of lessons.
Thank you Williams for your reply. Your solution wasn’t quite what I was looking for, what I want is to create a relationship between the name of the list of lessons with the videoID of each lesson. Below is an example of what I’m talking about.
Beside the video player is a repeating group of the names of each lesson in a course(it’s a list of texts data field), what I want to do is create a link with each videoID(also a list of texts) so that when I click each lesson title, the video player would be populated with the videoID associated with the title.
Hi, I made it a list because there would be multiple lessons in a course. So I made a list of texts for the lesson titles and a list for the videos of those lessons. I will be glad if you could give me an idea of how to create a link between the list of titles with the list of videos. Thank you.