New York Hotels, Things To Do

Dynamic Variation: Default

{{~setVar(“resource”, helpers.plugins.cloudinary.createResource(data.asset.resource))}} {{~setVar(‘mobileCrop’, data.mobile_crop_image ? helpers.plugins.cloudinary.createResource(data.mobile_crop_image.resource) : helpers.var.resource)}} {{:asset.videoid}} ]]>

{{~setVar(“videourl”, helpers.exec(function() { if (data.asset.videoid !== undefined){ if(data.asset.videotype === “vimeo”) return ‘//player.vimeo.com/video/’ + data.asset.videoid; else return ‘//youtube.com/watch?v=’ + data.asset.videoid; } return false; }))}} {{/asset.videoid}} {{!~equal(data.asset.type, “video”)}} {{:link.url}}{{/}}
{{/}}

{{:hasvid}}

{{%title}}
{{?}}

{{%title}}
{{/}}
{{!~equal(data.asset.type, “video”)}}
{{:link.url}}
{{/}} {{/}} {{:~equal(data.asset.type, “video”)}}{{/}}

Source

Leave a Comment

Your email address will not be published.

Translate »