1

I am using media selector module. I have a field collection item in my content type called media. I added a image field in field collection item. I created a view to display the images of a content. I uploaded 2 images and 1 youtube video. I dont want to show video in view result.

0
+50

You may consider to use File: Mime type filter instead of File: Path.

For all video files the Mime type always has a pattern: video/[video source or format]

it might be for example:

video/youtube 
video/vimeo
video/quicktime
video/mpeg
video/mp4

Applying the filter File: Mime type contains video will solve the problem for all video files, not only youtube.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.