I have a channel entries tag which displays Videos and then a playa pair tag (coparents) which displays related videos based on a specific field.
Now, I would like to display other videos (let's say the last two entries of the "video" channel) in case no related videos are found. I tried with {if no_coparents}...{/if}
but no luck so far since I don't manage to display video channel entries inside those tags.
{exp:channel:entries channel="video" url_title="{segment_3}" limit="1" status="open" transcribe="disable"}
<h1>{title}</h1>
{video_file}
{video_description}
<div class="block-related three columns">
<h2 class="first-title">Related Videos</h2>
{exp:playa:coparents channel="video" field="video_related_field" dynamic="no" limit="2"}
<div>
<h4>{title}</h4>
<div>
<a href="#">
{if video_flickr_thumbnail}
<img src="{video_flickr_thumbnail}" alt="{title}">
{if:elseif video_thumbnail}
<img src="{video_thumbnail}" alt="{title}">
{/if}
</a>
</div>
</div>
{/exp:playa:coparents}
{!-- Now here I would like to get something in case there isn't any related video.
It would be great if I could just call {exp:channel:entries channel="video"}
to retrieve the last two videos. I tried with {if no_coparents} ... {/if}
but no luck so far. --}
</div>
{/exp:channel:entries}