<xf:js src="xf/embed.js" min="1" />

<xf:page option="jsState.{$jsState}" value="{{ true }}" />

<span class="bbOembed bbMediaJustifier"
	  data-xf-init="oembed"
	  data-provider="{$provider}"
	  data-id="{$id}">
	<a href="{$url}" rel="external" target="_blank"><xf:fa icon="fab fa-{$provider} fa-{$provider}-square" />
		{$url}</a>
</span>