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 to set custom settings for embeded videos #98

Closed
dimqua opened this issue Aug 7, 2018 · 2 comments
Closed

Allow to set custom settings for embeded videos #98

dimqua opened this issue Aug 7, 2018 · 2 comments

Comments

@dimqua
Copy link
Contributor

dimqua commented Aug 7, 2018

Since embeded videos do not respect user-defined settings such as default subtitle settings, it's probably a good idea to implement a possibility to set user settings without using cookies, e.g.
https://www.invidio.us/embed/XXXXXX?sub=en,ru&speed=1.5

Such URLs can be used by user.js scripts for embeding invidious videos.

@dimqua dimqua changed the title Allow to set custom settings for emeded videos Allow to set custom settings for embeded videos Aug 7, 2018
@omarroth
Copy link
Contributor

omarroth commented Aug 7, 2018

Currently you can set autoplay, loop, and quality for embedded, I like the idea of setting without cookies, and only doing them as params, which would need to include subs, speed, volume.

@omarroth
Copy link
Contributor

7fd0f93 adds support for preferences as query params. It exposes:

  • speed (e.g. &speed=1.43)
  • volume (e.g. &volume=85)
  • subtitles (e.g. &subtitles=en,ru,es)

You can use all of these on the /watch page as well. They will override user preferences if you're logged in.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants