connect embedded videos in dynamic pages

i am trying to make 25 dynamic pages with embedded videos from youtube and vimeo, with a index page of their thumbnail. can i do that. how?

Hi,

Yes, you can do that for videos coming from Youtube or Vimeo with no code.
In the content manager create a URL field and use it to store the video links.
Add a social video element to the dynamic page and connect it to the URL field of the videos.
See here .
Create another field of type image to store the video thumbnails. For each video store a URL to the thumbnail image base on the following pattern where {ID} is the ID of the video.

Option 1 – Get the custom thumbnail in 320 x 180 small image resolution
http://img.youtube.com/vi/{ID}/mqdefault.jpg

Option 2 – Get the custom thumbnail in 480 x 360 standard image resolution
http://img.youtube.com/vi/{ID}/0.jpg

Option 3 – Get the custom thumbnail in 720p or 1080p HD image resolution
http://img.youtube.com/vi/{ID}/maxresdefault.jpg

For example, for https://www.youtube.com/watch?v=RTd8l50o8MY the ID is RTd8l50o8MY and you can find a thumbnail at http://img.youtube.com/vi/RTd8l50o8MY/maxresdefault.jpg

Next, on your index page add one of our lists element, add an image to the list and connect the image to the dynamic page.

Good luck

hi. for some reason this doesn’t work. the connection only lets me choose a text field

exactly, it let’s to choose only text field in the detabase :confused:

Hi, I was able to add the video after using this workaround:

However, what happens if I need to change one feature on my dynamic page for just 2 products and don’t want it to affect the others?
My clients has multiple models for the same product and we created a dynamic page for them, but in 2 models he wants to have a video instead of the image element. Is that possible to have the video in some pages and an image in the others?