feat: allow disabling click to view

This commit is contained in:
Xylight committed 2023-11-27 18:25:03 -08:00
1 parent eeca5a826a
commit 0a3c5c8d97
5 files changed
+53 -9

No files matched your search

@@ -92,7 +92,7 @@
<p class="text-base">Go to the post to view this video.</p>
</a>
{:else if type == 'iframe' && (view == 'cozy' || view == 'card') && post.url}
<PostIframe type="youtube" url={post.url} />
<PostIframe thumbnail={post.thumbnail_url} type="youtube" url={post.url} />
{:else if type == 'embed' && post.url}
<PostLink
url={post.url}