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 expressionengine.com, be sure to visit boldminded.com/claim to add the license to your account here on boldminded.com.
Ticket: Vimeo / Youtube Conditional
Status | Resolved |
Add-on / Version | Reel |
Severity | Trivial |
EE Version |
Kaspar Allenbach
Nov 21, 2012Hi 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}">
{video}
</div>
{/exp:channel:entries}
BoldMinded (Brian)
Nov 26, 2012
You will have to quote the var, e.g.
Kaspar Allenbach
Nov 27, 2012
Thank you