OwnTube-tv / web-client

Portable video client for PeerTube in React Native
https://owntube-tv.github.io/web-client/
The Unlicense
0 stars 11 forks source link

Add live service API fetching #62

Closed mykhailodanilenko closed 1 month ago

mykhailodanilenko commented 1 month ago

๐Ÿš€ Description

https://mykhailodanilenko.github.io/web-client/ this pull request adds live fetching from api sources selected in settings. I was able to preserve the base videos API, however we will have to part ways with the Video Service and its context. I also set up tests for components so now we can test component behavior as well. the ability to use test json data is also preserved, however it is not feasible to fetch thumbnails from remote sources for local test jsons since we are now using video uuids instead of object ids.

๐Ÿ“„ Motivation and Context

57 #33 #37 #7

๐Ÿงช How Has This Been Tested?

data fetching should work across browsers and platforms, however the cors errors are very dynamic at the moment.

๐Ÿ“ฆ Types of changes

โœ… Checklist (copied from README)