0

I want to create a slideshow in my site, as in the middle bottom of the page at Blottr.com.

I created the gallery with the Views Slideshow module, but my problem is that I don't know how create a slide form video.
Each of my node has one image, but some nodes have am image with a video. I want to show the video, when there is a video, and an image when no video is present.

2 Answers 2

2

If you can get the slideshow working yourself, it should be pretty simple to get where you want.

All you really need to do is try to display both the video and the image, then in a template_preprocess function for the view, remove either the video or the image field so you only get the one you want.

Alternative you could use js/css to hide unwanted elements.

0

You can use global php custom field in view and can manage images/videos using php code.

3

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.