Adding Video to Dynamic Pages

Hello. I really need to be able to add video to Dynamic Pages ASAP. It’s the only thing holding up my creating 4 current sites on the platform, and several others.

I need to add a video to each of the my database entries.

2 Likes

Hi Jay,

You can create a URL field in a collection and specify the URL of the video there. You can then add a Social Player Video element to your dynamic page and connect it to the video URL field.

I must be missing something because every time I try that it doesn’t work. Anymore details you can provide?

I have a URL column in my data collection.

I have a social player.

It’s not wanting to connect.

Hi. Based on the screen shots you shared, it looks like it is connecting. Can you tell me what you see when you preview the page?

What you’re seeing in the social player for YouTube is the placeholder video Wix uses. When I previewed it wasn’t loading properly, but after I closed out of Wix and then came back because of your reply, it’s working just fine. Weird. Thank you for your time and attention.

I am having the same problem, it is supposed to load a specific youtube video from my database but it doesn’t always load. sometimes it plays the placeholder instead.

Patrick, I filled in my videos and then I had to go to the Dynamic Pages and click on each one individually to get them to load. Sometimes the placeholder would stay so I’d go to another page and back then the video was there.

Is there an ability where I can add the video on a single dynamic page ? The problem with the above method is that, the dynamic pages where URL column/field is left blank in the database - these pages show essentially shouldn’t show any video since there is no URL added (screenshot below), however they show the default video by wix.

Note: I have followed all the steps as you said


.

The video player requires a video URL. If you don’t have one in your database, the player will play the video at the default URL. What you can do is to pick a different default video and put its URL in the video player settings. (Select the video player and hen click “Change Video”.)

Thanks for the answer, but my question is how can I embed/show/display video player only on one dynamic page and not on all dynamic pages?

Hi Niranjan,

To have the video player be displayed only on specific pages based on criteria you define, you will need to write some code.

In the specific case you’re describing, you would write code to check whether the current item has a video URL listed and then set the video player to collapse on pages for items that do not have a video URL.

Hi Niranjan,

I liked your question so much that I wrote a tutorial on how to do it with code. You can find it here .

its a simple one coz youtube has its own rules and regulation.
the question is if it is possible for me to upload video in the dynamic page using my wix video channel?

Hi SharonD,

I followed this and tried to make it so when the video player is collapsed it expands a media gallery. However it seems to permanently collapse all the video players now?

Hope you can help.

Thanks,
Carmen

Hi Sharon,
I have the same problem that Niranyan had. I’m new to code, but I pasted what you wrote .

Where the url was left blank in my dataset the video placeholder appeared when previewed. Am I missing something? When I hover over #myDataset it says that it is invalid.
Any help would be a lifesaver! Thank you!

Hi, trying to import an external database with images for my eCommerce site. Further would like to schedule rental check-in/out. Finally integrate it all with CRM tools

The ability to link to a single videoURL in a dataset is great. I have it working and it’s pretty slick. However, I have a collection where each item has several related videos. I need a way to display the dynamic item page for each row in the collection, and include the related videos on the same page. Is there a way to connect a video player to a related group of videos? Or maybe to have a “multiple item reference field” that is set to URL and have it as the source for a Video Gallery? That would be awesome!

Thanks for all your hard work on making the videoUrl.

Hey,

Today with the Gallery field type, you can set multiple videos in the gallery (or mix images and videos), and connect those to a gallery element on a Dynamic Page. I believe that covers the needs here.

Hi Yoav,

Thanks for touching on the mix of images and videos in the Gallery field. It seems at this point, in the database, you can only upload videos from your local drive, but if I want to put in the video URL, it’s not possible. Is there a way to Mix video URL and images in the gallery field?

Thanks!

I am having same issue.
The column type is url and when i try to connect my video field with the database, the url column is colored gray and won’t allow me to choose.