{{#if embed}}
  {{#if (or (eq embed.type 'video')(eq embed.type 'gif'))}}
    {{twitch-feed/embeds/video embed=embed enableAutoplay=enableAutoplay}}
  {{else if (eq embed.type 'photo')}}
    {{twitch-feed/embeds/photo embed=embed}}
  {{else if link}}
    {{twitch-feed/embeds/rich-link embed=embed}}
  {{/if}}
{{/if}}
{{#if loadingEmbed}}
  <div class="loading-spinner-container align-center"><div class="loading-spinner"></div></div>
{{/if}}
