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 video screen with video view (#8) #53

Closed mykhailodanilenko closed 1 month ago

mykhailodanilenko commented 1 month ago

๐Ÿš€ Description

See updated changes at https://mykhailodanilenko.github.io/web-client/

this PR adds a basic video player with controls to the app. for now it uses a hardcoded video url for every link. quality is pre-set to 720p for web, the app is not yet configured for mobile but if yes with current changes it would use HLS - on desktop hls is natively supported only on Safari.

๐Ÿ“„ Motivation and Context

https://github.com/OwnTube-tv/web-client/issues/8

๐Ÿงช How Has This Been Tested?

tested on web desktop + mobile. the mp4 streaming works and I believe the lib is handling the download so that it doesn't load the whole video, HLS works wonderfully on Safari and Android Chrome, even chooses appropriate quality automatically.

๐Ÿ“ท Screenshots (if appropriate)

image

๐Ÿ“ฆ Types of changes

โœ… Checklist (copied from README)