.content_discovery_card(v-if='!disabled')
el-card(:body-style="{ padding: '0px' }", v-loading="loading")
.card-header(class="clearfix")
.header-content
.social-icon
i.pbxx-icon(:class="channel_icon()")
.brand(v-if="brand_name") {{ brand_name }}
.created_time(v-if='!brand_name && content_created_at') {{ time_since(parse_content_created_at()) }}
.card-content
.card-media
img(v-if='image_url && !parse_video_url()', :src="image_url", width="100%" @error='handle_image_error', @click="on_click")
.video(v-if='parse_video_url()')
.youtube(v-if="is_channel_type('youtube')")
youtube_embed_file(:video_url="parse_video_url()", video_height="284px")
.facebook(v-else-if="is_channel_type('facebook')")
img(:src="image_url", width="100%" @error='handle_image_error', @click="on_click")
.pbxx-icon.pbxx-icon-play-circle
.other(v-else) Unsupported video format
.card-body
.link(v-if='is_type("link")')
h4.title {{ title | truncate(50, '...')}}
.description {{ description }}
.description(v-else) {{ message }}
.card-footer(v-if='cta_text')
el-button(@click="on_click") {{ cta_text }}