feat: add youtube video embeds
This commit is contained in:
1 parent
00840227d2
commit
eeca5a826a
7 files changed
+133
-8
No files matched your search
+8
-1
@@ -75,6 +75,10 @@ interface Settings {
|
||||
|
||||
openLinksInNewTab: boolean
|
||||
crosspostOriginalLink: boolean
|
||||
|
||||
embeds: {
|
||||
youtube: 'youtube' | 'invidious' | 'piped'
|
||||
}
|
||||
}
|
||||
|
||||
export const defaultSettings: Settings = {
|
||||
@@ -124,7 +128,10 @@ export const defaultSettings: Settings = {
|
||||
markPostsAsRead: true,
|
||||
separateVotes: false,
|
||||
openLinksInNewTab: false,
|
||||
crosspostOriginalLink: true
|
||||
crosspostOriginalLink: true,
|
||||
embeds: {
|
||||
youtube: 'youtube',
|
||||
}
|
||||
}
|
||||
|
||||
export const userSettings = writable(defaultSettings)
|
||||
|
||||
Reference in new issue
Block a user