if the asset_url is not present, attempt to find the canonical link tag. if not, warn the user and strip the query params.

This commit is contained in:
Riley Davis
2017-03-22 15:41:06 -06:00
parent 82068cd20e
commit 7af16471cd
2 changed files with 11 additions and 2 deletions
+1 -1
View File
@@ -27,7 +27,7 @@
<script src="/embed.js" async onload="
Coral.Talk.render(document.getElementById('coralStreamEmbed'), {
talk: '/',
asset: '<%= asset_url ? asset_url : '' %>'
asset_url: '<%= asset_url ? asset_url : '' %>'
})
"></script>
</main>