An unknown number of video embeds in a CMS Item

Hi there :-)

I’m trying to figure out how to add a video slider with x amounts of video-embeds (vimeo/YouTube) to a “News”-CMS-Item.

The use case is a News-page with a slider populated with x amounts of videos.

I know that we can add embeds in the Rich Text field. But how about if they wanna add 3 video-embeds for a particular CMS-Item? Or 5? Or 10?

Do I need to add some custom code, to let the user add all the embeds in one Rich Text Field?

Or…

… is the way to go, to make another CMS Collection that allows the Editor to create a single video-embed at a time and then add these to the “News”-CMS-Item through a Multi-reference field?

I would really like to find a method that is easier than these. Any ideas?

Thanks!

The “easiest” way would be to put your videos into a separate collection, one per row. Then multiref to the ones you want from your parent CMS item.

That way you get.

  • Unlimited videos per item
  • A proper video field for the embedding
  • Reasonably easy add / remove / sort using the multiref field

Just be aware that if you want to build a list view of your news items in a collection list, that you’d have Webflow’s nested collection list limits for your videos.

@memetican

Thanks a lot. I’ll go with that solution.