Videos

3 Object types • 9 demo Objects

Follow the steps below to install this Block. Make sure you have reviewed the getting started steps.
This will create the videos, channels, and video-categories Object types in your Bucket and add demo content.
This will add the files VideoCard.tsx,SingleVideo.tsx,SingleChannel.tsx, and more to your blocks folder located in cosmic/blocks/videos.
Add a new file located at app/videos/page.tsx with the following:
Add a new file located at app/watch/[slug]/page.tsx with the following which will use the slug in the URL to fetch the video content.
Add a new file located at app/channels/[slug]/page.tsx with the following which will use the slug in the URL to fetch the channel content.
Check out a full-featured working example Podcast Network.
footer logo