# How to add videos to glide

**URL:** <https://community.glideapps.com/t/how-to-add-videos-to-glide/50702>\
**Category:** Ask for Help\
**Created:** [October 2, 2022, 3:02pm UTC](https://community.glideapps.com/t/how-to-add-videos-to-glide/50702 "2022-10-02T15:02:14Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alexander\_Rubino](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/alexander_rubino/32/48638_2.png) [@Alexander\_Rubino](https://community.glideapps.com/u/Alexander_Rubino)\
**Post date:** [October 2, 2022, 3:02pm UTC](https://community.glideapps.com/t/how-to-add-videos-to-glide/50702/1 "2022-10-02T15:02:14Z")

</div>

How can I implement multiple videos into glide? I want to have a collum in my data with all the videos, so that means I have to store multiple videos in one field. I’m brand new with glide and videos, how do you add multiple videos and put them into a list?  
Do you just copy the youtube link and paste it in?

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [October 2, 2022, 3:10pm UTC](https://community.glideapps.com/t/how-to-add-videos-to-glide/50702/2 "2022-10-02T15:10:26Z")

</div>

> [@Alexander\_Rubino](#):
>
> Do you just copy the youtube link and paste it in?

You could do that, yes.

Or you could use a File Picker component in a form to allow your users to add video links. You should save them in a URL column.

---

<div class="post-metadata">

**Author:** ![Alexander\_Rubino](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/alexander_rubino/32/48638_2.png) [@Alexander\_Rubino](https://community.glideapps.com/u/Alexander_Rubino)\
**Post date:** [October 2, 2022, 3:11pm UTC](https://community.glideapps.com/t/how-to-add-videos-to-glide/50702/3 "2022-10-02T15:11:55Z")

</div>

How do I save multiple videos in an array?

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [October 2, 2022, 3:14pm UTC](https://community.glideapps.com/t/how-to-add-videos-to-glide/50702/4 "2022-10-02T15:14:19Z")

</div>

Do you really want to do that?

> [@Alexander\_Rubino](#):
>
> how do you add multiple videos and put them into a list

If you want to display the videos in a list, then storing them in an array isn’t the best idea. It will still be possible to coerce the array into a list, but it requires a fairly advanced technique.

---

<div class="post-metadata">

**Author:** ![Alexander\_Rubino](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/alexander_rubino/32/48638_2.png) [@Alexander\_Rubino](https://community.glideapps.com/u/Alexander_Rubino)\
**Post date:** [October 2, 2022, 3:21pm UTC](https://community.glideapps.com/t/how-to-add-videos-to-glide/50702/5 "2022-10-02T15:21:30Z")

</div>

I’m making a sports app. I want to show the different highlights for each player under their description. I figured it was best to put the videos in an array. But I’m open to proposals.

![Screenshot 2022-10-02 at 17.19.11](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/9/4/9477e853460dd4bda338b29314857b2991d54cc0.png)

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [October 2, 2022, 3:23pm UTC](https://community.glideapps.com/t/how-to-add-videos-to-glide/50702/6 "2022-10-02T15:23:33Z")

</div>

Is there any fixed limit to how many videos each player can add?

---

<div class="post-metadata">

**Author:** ![Alexander\_Rubino](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/alexander_rubino/32/48638_2.png) [@Alexander\_Rubino](https://community.glideapps.com/u/Alexander_Rubino)\
**Post date:** [October 2, 2022, 3:24pm UTC](https://community.glideapps.com/t/how-to-add-videos-to-glide/50702/7 "2022-10-02T15:24:10Z")

</div>

No, I thought maybe 5 per player

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [October 2, 2022, 3:29pm UTC](https://community.glideapps.com/t/how-to-add-videos-to-glide/50702/8 "2022-10-02T15:29:41Z")

</div>

Okay.

Well one way you could do it is to add 5 columns in your Players table, one for each video.  
But, don’t do that - because it won’t scale, and you’ll have problems trying to display them as a list.

A better way to do this is to create a separate table just for your videos - let’s call it Player Videos.  
That table needs a minimum of two columns - a PlayerID column and a Video URL column.  
Each time a player adds a video, add a row to that table with their PlayerID and the Video URL.

Then from your Players table, create a multiple relation column that links the PlayerID to the PlayerID in the Player Videos column. You can use that multiple relation column on your Player Details screen as the source of an Inline List component, which will give you a list of that players related videos.

---

<div class="post-metadata">

**Author:** ![Alexander\_Rubino](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/alexander_rubino/32/48638_2.png) [@Alexander\_Rubino](https://community.glideapps.com/u/Alexander_Rubino)\
**Post date:** [October 2, 2022, 3:34pm UTC](https://community.glideapps.com/t/how-to-add-videos-to-glide/50702/9 "2022-10-02T15:34:56Z")

</div>

What content could be in the PlayerID column? Can you give an example? Thanks for all the help

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [October 2, 2022, 3:38pm UTC](https://community.glideapps.com/t/how-to-add-videos-to-glide/50702/10 "2022-10-02T15:38:59Z")

</div>

Add a [RowID](https://www.glideapps.com/docs/reference/computed-columns/row-id-column) column to your Players table. This will automatically give you a unique value for each player, which can be used as your PlayerID (you can even rename it as that if you want).

Then when a Player uploads a video, you can use a [User Profile Column](https://www.glideapps.com/docs/reference/values/user-profile-columns) to set the PlayerID to the correct value.

---

<div class="post-metadata">

**Author:** ![Alexander\_Rubino](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/alexander_rubino/32/48638_2.png) [@Alexander\_Rubino](https://community.glideapps.com/u/Alexander_Rubino)\
**Post date:** [October 2, 2022, 3:55pm UTC](https://community.glideapps.com/t/how-to-add-videos-to-glide/50702/11 "2022-10-02T15:55:18Z")

</div>

Great, this helped a lot. Do you have any proposals on how to show the videos? E.g. with a list or something, so it is dynamic. Because I want to be able to add a video, and then the list gets longer.

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [October 2, 2022, 4:00pm UTC](https://community.glideapps.com/t/how-to-add-videos-to-glide/50702/12 "2022-10-02T16:00:43Z")

</div>

> [@Darren\_Murphy](#):
>
> Then from your Players table, create a multiple relation column that links the PlayerID to the PlayerID in the Player Videos column. You can use that multiple relation column on your Player Details screen as the source of an Inline List component, which will give you a list of that players related videos.

If you set it up as I described above, the list will automatically grow as new videos are added.  
The default action on the list will be Show Detail Screen → This item. On that screen you can add a video component and point it at the video URL column.
