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

<div class="bbOembed bbMediaJustifier"
	  data-media-site-id="{$provider}"
	  data-media-key="{$id}"
	  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>
</div>