I would like an exclude list for the video containers. For example, on a site I'm currently working with I want all the videos to scale, except the ones inside a features content slider.

Comments

DerekAhmedzai’s picture

That's an interesting idea.

You may be able to do this using the jquery :not() selector.
http://api.jquery.com/not-selector/

I haven't tried it though.

danbohea’s picture

Issue summary: View changes

This would be very useful. I'm not having a luck with the :not() selector as suggested above.

DerekAhmedzai’s picture

The latest version of the fitvids.js supports exclusions, so this should be possible to do now
https://github.com/davatron5000/FitVids.js/

aitala’s picture

I would find this useful.

In other modules, using the '~' to signify a NOT would be the way I'd expect this to work in the Video Container field.

Eric

DerekAhmedzai’s picture

This is in the d8 version, just needs backporting.