GithubHelp home page GithubHelp logo

krtvlayout's Introduction

KrTVLayout

使用VideoView播放视频,交互类似于网易新闻播放器

关于该Demo

  1. 视频全部出自KrTV.
  2. 示例代码较为粗糙,之后有机会精细化.

特点

使用MediaControllerLayout包裹VideoPlayer,实现对视频播放的控制. 你可以使用自己的VideoPlayer,仅仅用该ControllerLayout包裹OK啦.

    <com.baiiu.krtvdemo.view.MediaControllerLayout
        android:id="@+id/mediaControllerLayout"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        myapp:playerMaxHeight="200dp"
        myapp:playerMiniHeight="100dp"
        myapp:playerMiniWidth="150dp">

        <com.baiiu.krtvdemo.view.VideoPlayer
            android:id="@+id/videoPlayer"
            android:layout_width="match_parent"
            android:layout_height="200dp" />

    </com.baiiu.krtvdemo.view.MediaControllerLayout>

ScreenShot

KrTVDemo

krtvlayout's People

Contributors

baiiu avatar

Stargazers

背影 avatar Franky J avatar Darren avatar  avatar  avatar Jiangang Yang avatar

Watchers

James Cloos avatar aidenluo avatar  avatar

Forkers

931743010

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.