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

Comments

@dimqua
Copy link
Contributor

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

This comment has been minimized.

Copy link
Owner

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

This comment has been minimized.

Copy link
Owner

commented Aug 26, 2018

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.

@omarroth omarroth closed this Aug 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.