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

Peertube? #46

Open
jolteondude opened this issue Nov 20, 2023 · 1 comment
Open

Peertube? #46

jolteondude opened this issue Nov 20, 2023 · 1 comment

Comments

@jolteondude
Copy link

Hello, I'd like to ask, are there any plans for peertube support?
Thanks in advance!

@RblSb
Copy link
Owner

RblSb commented Nov 23, 2023

Seems possible with https://docs.joinpeertube.org/api/embed-player
But currently internal player interface depends on isSupportedLink(url:String):Bool function call, to check for youtube domains, and use youtube player or raw direct link player based on pasted url.
In this case i don't see way to detect peertube links (maybe there is some async methods, like http request to domain api, idk), so it will also require <select> element with list of players, to paste link, and then change link type from Raw to PeerTube.

Sidenote: technically, you can already add peertube videos to playlist, as direct links, if you open browser devtools panel on network tab, on your video page, and find mp4/m3u8 link like this one: screen

There is also Tincat browser for Android, that allows to copy links of played m3u8 streams on page, so you can add many of these streams from different web players to synctube playlist as direct links too.

Tincat browser is available here: https://seanzwx.github.io/

@RblSb RblSb mentioned this issue Jan 23, 2024
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