Coder Social home page Coder Social logo

glengithub / mediaplayer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from holmofy/mediaplayer

0.0 0.0 0.0 58.98 MB

一个集成了音乐播放和视频播放的播放器,主要分为本地视频,本地音乐,电视直播,在线音乐推送四个模块

Java 99.77% HTML 0.23%

mediaplayer's Introduction

飞狐播放器

学安卓4个多月了,写个app练练手。

因为是边学边写,所以代码有点乱。 第一遍组件通信基本上都是用广播实现的,代码特别乱,然后边学的过程中接触到了一些第三方库,EventBus,xUtils之类的,第三方库的使用确实改善了代码的结构。

其中主要一个难点就是电视直播,当时在网上找了很多直播源,自己也从“央视影音”抓包看了一下。反正特纠结。。。然后就是用了网上的一堆m3u8直播源,之前准备用安卓sdk中的VideoView播放,但并没有什么软用。安卓支持的视频格式确实少的可怜。然后就找到了Vitamio解码框架。不得不赞叹这解码框架设计的太好了,基本上和安卓SDK中的api一模一样,基本上只需要替换一下包名就行。

以下是软件的使用截图,UI确实有点丑,PS技术比较勉强。。。

歌词界面

image

唱片动画界面

image

主界面

image image image image

歌曲搜索界面

image

视频播放界面

image

mediaplayer's People

Contributors

holmofy 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.