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

/create route additional params #858

Open
CodeF53 opened this issue Apr 24, 2024 · 3 comments
Open

/create route additional params #858

CodeF53 opened this issue Apr 24, 2024 · 3 comments

Comments

@CodeF53
Copy link

CodeF53 commented Apr 24, 2024

I would like to be able use the /create?video=... route with a couple of extra parameters to improve user experience:

  1. &subtitles=
    I was thinking this would take a json format
{
  "en-us": "https://.../eng.vtt",
  "es": "https://.../spa-7.vtt"
}
  1. &title= Simply so the "search by title" option for subtitles works with parties started this way
  2. &poster= an image to pass to the <video poster="..."> attribute (shows while video is downloading)

Full example url

https://www.watchparty.me/create
  ?video=https://.../playlist.m3u8
  &title="EXAMPLE TITLE"
  &subtitles={"en-us":"https://.../eng.vtt","es":"https://.../spa-7.vtt"}
  &poster=https://.../poster.jpg
@howardchung
Copy link
Owner

I don't think we currently have support for multiple subtitle tracks, but everything else sounds good!

@CodeF53
Copy link
Author

CodeF53 commented Apr 24, 2024

I'm fine just passing in a single subtitle track if it would be difficult to implement support for multiple tracks

@asakura42
Copy link

asakura42 commented Sep 26, 2024

&title= Simply so the "search by title" option for subtitles works with parties started this way

Nice idea. Definitely must-have.

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

3 participants