I need to create a video player that takes urls or videos from my content database and displays it. How should I go about doing this?
You don’t explain the exact context, so I don’t know if this is what you need, but…
I have a collection of ‘people’. Each record in that collection has a URL field that contains the URL of a YouTube video. I then have a dynamic ‘people’ page for each person in the collection. On that page, I’ve got a video player that links to the URL field.
The link is established using a dataset:
You can see a page that contains a video here:
It worked! I realised that I’ve been trying to connect the video title section (instead of the video source) to the URL field all this time. Thank you for helping out!
Thanks for the update!