Publisher does not support the Fluid field type. Please do not contact asking when support will be available.

If you purchased an add-on from, be sure to visit to add the license to your account here on

Ticket: Vimeo / Youtube Conditional

Status Resolved
Add-on / Version Reel
Severity Trivial
EE Version

Kaspar Allenbach

Nov 21, 2012

Hi Is it possible to write a Conditional to determine if it is a youtube or vimeo video?

{exp:channel:entries channel="film" limit="1"}
     <div class="flex-video widescreen {if vimeo}vimeo{/if}">

BoldMinded (Brian)

Nov 26, 2012

You will have to quote the var, e.g.

{if "{fieldname:type}" == "youtube"} {/if}

Kaspar Allenbach

Nov 27, 2012

Thank you

Login to reply