How to link an embedded video on a dynamic page in Wix to URL's in a database collection by using code

What I want to do on my Wix site is create a dynamic page that is linked to a database collection. It will have different titles and descriptions of different movies. But i also want to have a short movie fragment/trailer that I can link to different URL’s in my database collection.

I know you can do so with Youtube, Vimeo or Dailymotion quite easily. But I want to use different platforms, that are not in that list. So what I’m looking for is the code you would need to link (then perhaps) embedded html on my dynamic page to the URL’s that will be a column in my database collection.

yes, I same. Anyone can help?

Hi bro I have this now

// For full API documentation, including code examples, visit Velo API Reference - Wix.com

$w.onReady( function () {
//TODO: write your page related code here…
let currentItem = $w( ‘#watchDataset’ ).getCurrentItem();
$w( ‘#playhtml1’ ).src = currentItem.url;

});

myplatform is netu.tv Video player

Thanks, but I’m not a programmer. That’s still jibberish to me :slight_smile: What’s what in that piece of code? What’s the name of your collection and how does it know which column to get the url’s from? And what’s the element you added? Html iframe? Where do i see that in this string?