Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

philklc
Copy link

@philklc philklc commented Dec 30, 2024

Fixes #801

prepend-icon=" "
class="mt-n4"
:items="[
{ text: $t('views.settings.YTEmbedVariant[0]'), value: '' },
Copy link
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
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
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