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

YouTube parameters #3270

Closed
1 task
joppehoekstra opened this issue Oct 3, 2022 · 4 comments
Closed
1 task

YouTube parameters #3270

joppehoekstra opened this issue Oct 3, 2022 · 4 comments
Labels
Type: Feature The issue or pullrequest is a new feature

Comments

@joppehoekstra
Copy link

joppehoekstra commented Oct 3, 2022

What problem are you facing?

I would like to set parameters for an embedded YouTube video. This is currently not possible.

What’s the solution you would like to see?

Add an option to Youtube.configure() to set parameters for the embed url, like this:

Youtube.configure({
  parameters: [{autoplay: 1}, {modestbranding: 1}]
})

Which should result in the following url:
https://www.youtube.com/embed/VIDEO_ID?autoplay=1&modestbranding=1

What alternatives did you consider?

Set these parameters with the setYoutubeVideo() command. This would be useful if you would want to set different parameters per video (though this is not needed for my personal use case).

Anything to add? (optional)

No response

Are you sponsoring us?

  • Yes, I’m a sponsor. 💖
@joppehoekstra joppehoekstra added the Type: Feature The issue or pullrequest is a new feature label Oct 3, 2022
@LuchoCateura
Copy link
Contributor

Can I work on this Issue?

@LuchoCateura
Copy link
Contributor

#3307

@bdbch
Copy link
Contributor

bdbch commented Nov 4, 2022

Should be included via #3307

@bdbch bdbch closed this as completed Nov 4, 2022
@Harm-Nullix
Copy link

Harm-Nullix commented Mar 13, 2024

I wouldn't say this is included by #3307 ,
It does make it able to set it in the config of the extension, but not by each video as I read the commits.

The setYoutubeVideo would ideally be extended

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Feature The issue or pullrequest is a new feature
Projects
None yet
Development

No branches or pull requests

4 participants