Giter VIP home page Giter VIP logo

shanxivideoapp's Introduction

shanxiVideoApp

练习react-native, 用react-native重构的陕西广电视频APP(目前只是IOS版本,只做了iPhone6的适配)

安装方式

1、git clone https://github.com/pookpal/shanxiVideoApp.git

2、npm install -g rnpm

3、npm install

4、rnpm link

5、执行 react-native run-ios 或者是在xcode里 点击run

运行截图

  • 首页

首页

  • 播放页

播放页

  • 全屏播放效果

播放全屏效果

使用的技术

  • 路由的使用,页面跳转及传参
  • 轮播图的使用,react-native-swiper
  • header组件的封装,支持多种场景的header
  • 基于react-native-video的视频组件二次定制,目前支持暂停、播放、进度条显示、全屏等功能

ToDos

  • 进一步封装视频组件的功能
  • 增加与后台的数据交互
  • 本地数据缓存
  • 性能优化
  • 将二次封装的视频组件抽离出来

shanxivideoapp's People

Contributors

ljw5 avatar pookpal 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.