feat: add embeds to post pages
This commit is contained in:
1 parent
3c6f6c3b5d
commit
399eb9c1fb
3 files changed
+28
-32
No files matched your search
@@ -27,7 +27,7 @@
|
||||
export let type: IframeType = 'none'
|
||||
export let thumbnail: string | undefined = undefined
|
||||
export let url: string
|
||||
let opened = !$userSettings.embeds.clickToView
|
||||
export let opened = !$userSettings.embeds.clickToView
|
||||
|
||||
const urlToEmbed = (inputUrl: string) => {
|
||||
if (type == 'youtube') {
|
||||
|
||||
Reference in new issue
Block a user