Skip to content

Add option to choose which YouTube embed player to use for playback#802

Open
philklc wants to merge 1 commit intoHolodexNet:devfrom
philklc:dev
Open

Add option to choose which YouTube embed player to use for playback#802
philklc wants to merge 1 commit intoHolodexNet:devfrom
philklc:dev

Conversation

@philklc
Copy link
Copy Markdown

@philklc philklc commented Dec 30, 2024

Fixes #801

prepend-icon=" "
class="mt-n4"
:items="[
{ text: $t('views.settings.YTEmbedVariant[0]'), value: '' },
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change this to ask as value probably

const host = (
this.$store.state.settings.YTEmbedVariant === "youtube"
// eslint-disable-next-line no-alert
|| (this.$store.state.settings.YTEmbedVariant === "" && window.confirm(this.$t("views.settings.YTEmbedVariantPromptMsg")))
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

only legal because vue mounts once

Copy link
Copy Markdown
Contributor

@meiamsome meiamsome Dec 30, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that browsing to a multiview page can trigger this confirmation pop-up once per video, and there's no way to tell what video each pop-up is for.

This is especially weird if you already have multiview state and then click a multiview link as you get confirmation for all the videos from the state, then asked if you want to replace the layout, and then confirmation for all the replacement videos.

It would IMO be better to display this as an in-page DOM question. Although that could be done as a follow-up potentially.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature request: Load YouTube videos as signed out user via youtube-nocookie.com

3 participants