feat: add custom piped and invidious embeds
This commit is contained in:
1 parent
74701ffe3f
commit
3721630cc8
4 files changed
+38
-2
No files matched your search
@@ -261,6 +261,32 @@
|
||||
<option value="piped">Piped</option>
|
||||
</Select>
|
||||
</Setting>
|
||||
{#if $userSettings.embeds.youtube == 'invidious'}
|
||||
<Setting>
|
||||
<span slot="title">{$t('settings.embeds.instance.invidious')}</span>
|
||||
<span slot="description">
|
||||
{$t('settings.embeds.instance.description')}
|
||||
</span>
|
||||
<TextInput
|
||||
label={$t('settings.embeds.instance.invidious')}
|
||||
pattern={DOMAIN_REGEX_FORMS}
|
||||
bind:value={$userSettings.embeds.invidious}
|
||||
/>
|
||||
</Setting>
|
||||
{/if}
|
||||
{#if $userSettings.embeds.youtube == 'piped'}
|
||||
<Setting>
|
||||
<span slot="title">{$t('settings.embeds.instance.piped')}</span>
|
||||
<span slot="description">
|
||||
{$t('settings.embeds.instance.description')}
|
||||
</span>
|
||||
<TextInput
|
||||
label={$t('settings.embeds.instance.piped')}
|
||||
pattern={DOMAIN_REGEX_FORMS}
|
||||
bind:value={$userSettings.embeds.piped}
|
||||
/>
|
||||
</Setting>
|
||||
{/if}
|
||||
</Section>
|
||||
|
||||
<Section title={$t('settings.lemmy.title')}>
|
||||
|
||||
Reference in new issue
Block a user