Can I download an image/video used within a dynamic page dataset?

Hello all! First time poster here - I’m making an illustration and animation gallery and I’m using dynamic pages to display the content. I want these to be available for download for the user. Is there a way to rig a download button for either an image or video from the dynamic dataset? I currently have basic code set up so if there is a video in the dataset it displays, but if not the image does. Can I do something similar with the download where the code says to download the video, but if there’s no video to download the image? Could I make code, that what happens on click is to download the displayed field instead of the image/video column of the dataset?

I can’t link directly to a file or I’ll have hundreds of pages.
Any suggestions?

Searching for something like this…???

https://russian-dima.wixsite.com/meinewebsite/download-list

What I’m trying to do is have a directory of either images or videos in a gallery using a dynamic page so once you click into the specific image or video you could download that. I have it set up that there is a video player, but if there’s no video loaded in the dynamic dataset, it should hide that player and display the image instead. That works fine. But now I want to be able to download what is displayed - but how can I write something that allows it to use the coded video player if there’s a video to download the video and then download that using the dynamic dataset or vice versa for an image?

All I can find is how I can download a document

To download something you just need a LINK to the Download-File right?
Couldn’t you upload your videos/images somehere in the net, saving the URL of the download in your DB and connect a button in a repeater or a dynamic-page to this button? Something this way?

Longer time ago, i wanted to create a “video-manager” based on CORVID, but had not the time for it.

Take a look here…

https://russian-dima.wixsite.com/meinewebsite/kopie-von-autoplay-video-list

Perhaps it can give you some ideas, who knows?!