All Projects → novoda → No Player

novoda / No Player

Licence: apache-2.0
Simplified Player wrapper for MediaPlayer and ExoPlayer

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to No Player

Aosp.changelog.to
Generates a change log between different aosp tags. Based on the wonderful work of @alsutton
Stars: ✭ 12 (-93.41%)
Mutual labels:  novoda, open-source
Gradle Build Properties Plugin
Keep your secrets secret. External build properties support for your Gradle scripts.
Stars: ✭ 110 (-39.56%)
Mutual labels:  novoda, open-source
Novoda
Common things for all Novoda's open source projects
Stars: ✭ 37 (-79.67%)
Mutual labels:  novoda, open-source
Spikes
Where ideas & concepts are born & incubated
Stars: ✭ 540 (+196.7%)
Mutual labels:  novoda, open-source
Exomedia
An Android ExoPlayer wrapper to simplify Audio and Video implementations
Stars: ✭ 1,939 (+965.38%)
Mutual labels:  exoplayer, mediaplayer
Bonfire Firebase Sample
An app to discuss your favourite emojis. This is a sample app built with Firebase.
Stars: ✭ 564 (+209.89%)
Mutual labels:  novoda, open-source
Ios Demos
Examples of ios applications http://www.novoda.com/blog
Stars: ✭ 85 (-53.3%)
Mutual labels:  novoda, open-source
Rxpresso
Easy Espresso UI testing for Android applications using RxJava.
Stars: ✭ 373 (+104.95%)
Mutual labels:  novoda, open-source
Simple Chrome Custom Tabs
Easy integration of Chrome Custom Tabs into your project. Just connect it to your activity, and navigate to the external website styling your tab as you wish.
Stars: ✭ 131 (-28.02%)
Mutual labels:  novoda, open-source
Notils
Never again need a .utils. package yur scurvy sea dogs!
Stars: ✭ 126 (-30.77%)
Mutual labels:  novoda, open-source
Merlin
Observes network connection status & gives callbacks
Stars: ✭ 536 (+194.51%)
Mutual labels:  novoda, open-source
Android Demos
Examples of Android applications
Stars: ✭ 1,963 (+978.57%)
Mutual labels:  novoda, open-source
Download Manager
A library that handles long-running downloads, handling the network interactions and retrying downloads automatically after failures
Stars: ✭ 482 (+164.84%)
Mutual labels:  novoda, open-source
Xamarinmediamanager
Cross platform Xamarin plugin to play and control Audio and Video
Stars: ✭ 647 (+255.49%)
Mutual labels:  exoplayer, mediaplayer
Gradle Static Analysis Plugin
Easy setup of static analysis tools for Android and Java projects.
Stars: ✭ 398 (+118.68%)
Mutual labels:  novoda, open-source
Accessibilitools
UI tools to help make your Android app accessible.
Stars: ✭ 81 (-55.49%)
Mutual labels:  novoda, open-source
Exoplayer
An extensible media player for Android
Stars: ✭ 18,648 (+10146.15%)
Mutual labels:  exoplayer, mediaplayer
Gradle Android Command Plugin
Handy commands for testing Android on CI
Stars: ✭ 349 (+91.76%)
Mutual labels:  novoda, open-source
Exoplayerxamarin
Xamarin bindings library for the Google ExoPlayer library
Stars: ✭ 124 (-31.87%)
Mutual labels:  exoplayer, mediaplayer
Bintray Release
A helper for releasing from gradle up to bintray
Stars: ✭ 1,878 (+931.87%)
Mutual labels:  novoda, open-source

This project is no longer under maintenance - 13/7/2020

Upgrades to latests version of ExoPlayer requires a significative amount of changes. The project is no longer maintained from our end.


noplayer

CI status Download from Bintray Tests Coverage Apache 2.0 Licence

A simplified Android Player wrapper for MediaPlayer and ExoPlayer.

Description

Some of the benefits are:

  • Unified playback interface and event listeners for ExoPlayer and MediaPlayer
  • MediaPlayer buffering
  • ExoPlayer local, streaming and provisioning WideVine Modular DRM
  • Maintains video Aspect Ratio by default
  • Player selection based on ContentType and DRM

Experimental Features, use with caution:

  • Support for TextureView

Adding to your project

To start using this library, add these lines to the build.gradle of your project:

repositories {
    jcenter()
}

dependencies {
    implementation 'com.novoda:no-player:<latest-version>'
}

From no-player 4.5.0 this is also needed in the android section of your build.gradle

compileOptions {
        targetCompatibility JavaVersion.VERSION_1_8
}

Simple usage

  1. Create a Player:

    Player player = new PlayerBuilder()
      .withPriority(PlayerType.EXO_PLAYER)
      .withWidevineModularStreamingDrm(drmHandler)
      .build(this);
    
  2. Create the PlayerView:

    <com.novoda.noplayer.NoPlayerView
      android:id="@+id/player_view"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_gravity="center" />
    
  3. Attach to a PlayerView:

    PlayerView playerView = findViewById(R.id.player_view);
    player.attach(playerView);
    
  4. Play some content:

    player.getListeners().addPreparedListener(playerState -> player.play());
    
    Uri uri = Uri.parse(mpdUrl);
    player.loadVideo(uri, ContentType.DASH);
    

Snapshots

CI status Download from Bintray

Snapshot builds from develop are automatically deployed to a repository that is not synced with JCenter. To consume a snapshot build add an additional maven repo as follows:

repositories {
    maven {
        url 'https://dl.bintray.com/novoda-oss/snapshots/'
    }
}

You can find the latest snapshot version following this link.

Contributing

We always welcome people to contribute new features or bug fixes, here is how.

If you have a problem, check the Issues Page first to see if we are already working on it.

Looking for community help? Browse the already asked Stack Overflow Questions or use the tag support-no-player when posting a new question.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].