Code Monkey home page Code Monkey logo

rn_youtubemobile's Introduction

RN_YouTubeMobile

React Native version of Neverthink app. only the iOS version works.

Getting started

Clone this repo and checkout at branch "develop":

git checkout develop

Prerequisites

Run the following commands:

npm install

Change to the "ios" directory

cd ios

and run the following command:

pod update

Running the app

react-native run-ios

Features:

  • Works on iOS.
  • When user selects a channel, and there are videos she/he have not seen, these videos should play first. Maintain an order of the playlist.
  • When last video on the channel has ended, it should start playing first video on that channel again.
  • Play/pause videos.
  • When app is opened, first video of the first channel should autoplay. When video ends, the next video on the playlist should start playing.
  • User must be able to change between channels, and see channel name and image.
  • There should be multiple channels, and each channel should have multiple videos in it.
  • The app support both Portrait and Landscapes mode.

Known bugs:

The app dectects watched videos by pushing and comparing them to a "watched" array.
Since the data is static, once the the array contained all the video provided by the static source, the app will go into an endless loop.
To remedy this, a dedicated "Reset watched video" was added until a better solution is found.

Tested on:

  • iPhone X (real device) (iOS 13.2)
  • iPhone 11 (simulator) (iOS 13.2)
  • iPhone 11 Pro Max (simulator) (iOS 13.2)
  • iPhone 8 (simulator) (iOS 13.2)
  • iPhone SE (simulator) (iOS 13.2)
  • iPad Air (simulator) (iOS 13.2)

Built with:

rn_youtubemobile's People

Contributors

hoangtran-97 avatar dependabot[bot] avatar

Stargazers

Chris Scully avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.