Initial PeerTube Support

This commit is contained in:
Arkadiusz Fal
2022-12-09 01:15:19 +01:00
parent 72ea17b257
commit faf2469e04
39 changed files with 816 additions and 92 deletions

View File

@@ -113,9 +113,9 @@ struct OpenURLHandler {
Windows.main.open()
#endif
player.videoBeingOpened = Video(videoID: id)
player.videoBeingOpened = Video(app: accounts.current.app!, videoID: id)
player.playerAPI.video(id)
player.playerAPI(player.videoBeingOpened!).video(id)
.load()
.onSuccess { response in
if let video: Video = response.typedContent() {