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

Allow embed paramters to be configurable #4

Closed
hctom opened this issue Nov 22, 2015 · 2 comments
Closed

Allow embed paramters to be configurable #4

hctom opened this issue Nov 22, 2015 · 2 comments

Comments

@hctom
Copy link
Contributor

hctom commented Nov 22, 2015

The supported YouTube embed parameters should be configurable via the plugin configuration. See here (section: Parameters) for more details about all available parameters.

The following parameters should be configurable:

  • autohide (This parameter has ben deprecated for HTML5 players)
  • autoplay
  • cc_load_policy
  • color
  • controls
  • disablekb
  • enablejsapi
  • fs
  • hl
  • iv_load_policy
  • loop
  • modestbranding
  • origin
  • playsinline
  • rel
  • showinfo
  • theme (This parameter has ben deprecated for HTML5 players)

In addition to this, it should also be possible to enable Privacy-enhanced mode for YouTube videos (YouTube won’t store information about visitors unless they play a video).

All other parameters may be added via template overrides manually when #3 is implemented.

I will give this a try and provide a new pull request with all the changes

@hctom
Copy link
Contributor Author

hctom commented Nov 23, 2015

Please see the filed pull request #6 to get this enhancement in.

@rhukster
Copy link
Member

Great thanks!

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

No branches or pull requests

2 participants