I can’t believe i haven’t figured this out yet! I have tried bringing in several different javascript and HTML video players and still have no luck. I know I am just missing something simple. Again, I have a videoUrl field in my data collection that is attached to a dynamic page. I’d like the video source, the URL to change with each different page as I have a URL in the collection for each. I’ve tried the suggestions above but nothing seems to bring my video to the screen. Maybe it’s the player? The code?
Here’s what I have in code:
$w.onReady(() => {
$w(“#dynamicDataset”).onReady(() => {
let url = $w(‘#dynamicDataset’).getCurrentItem().videoUrl;
$w(‘#html3’).src = url;
ON the player side I have (this is just the code for one of them, although if I could make Wix video player work I would.
Any additional help would be much appreciated!
Jim