GithubHelp home page GithubHelp logo

yuzhongxin19860213 / hsplayer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from apehc/hsplayer

0.0 1.0 0.0 1.74 MB

基于IJKMediaPlayer封装的视频播放器

Objective-C 98.83% C 0.77% Ruby 0.39%

hsplayer's Introduction

HSPlayer

HSplayer

HSPlayer是对IJKMediaPlayer的封装, 支持基础的视频播放功能, 包括

  • 横/竖屏切换
  • 视频进度条管理
  • https地址的视频播放
  • ...

为了方便大家使用,IJKMediaPlayer已经打包成framework,且支持了https的视频播放 点击下载,集成到项目中即可使用

使用方法

  1. 横竖屏旋转需要打开 Landscape Left和Landscape Right , 否则无法旋转屏幕   Landscape Left和Landscape Right
  2. HSPlayer使用了Masonry布局, 因此项目需要导入Masonry
  3. 使用IJKMediaPlayer需要添加以下依赖库
    • AudioToolbox.framework
    • AVFoundation.framework
    • CoreGraphics.framework
    • CoreMedia.framework
    • CoreVideo.framework
    • libbz2.tbd
    • libc++.tbd
    • libz.tbd
    • MediaPlayer.framework
    • MobileCoreServices.framework
    • OpenGLES.framework
    • QuartzCore.framework
    • UIKit.framework
    • VideoToolbox.framework
  4. 详情见Demo

hsplayer's People

Contributors

apehc avatar

Watchers

James Cloos 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.