Skip to content
Nam Nguyen Hoai edited this page Oct 24, 2016 · 15 revisions

Welcome to Toro 2.x Wiki


Why should I use Toro?

  • Want to have auto playback in your Video list like Facebook or Twitter, and has not found a good solution yet.

  • Love the Video playback stuff, but has no experience.

  • Love shushi, so give it a try ...

How to integrate Toro in my Android App?

  1. Pre-requirement

Android SDK level 16 (4.1) and above.

  1. Setup dependencies
// optional: include in root project's build.gradle
ext {
  toroVersion = '2.1.0'
}

// include in your module (app or library)
// include only core Toro library
compile "im.ene.toro2:toro:${toroVersion}"

// include extension for ExoPlayer v2 (Toro is included already)
compile "im.ene.toro2:toro-ext-exoplayer2:${toroVersion}"
// include extension for ExoPlayer v1 (Toro is included already)
compile "im.ene.toro2:toro-ext-exoplayer:${toroVersion}"
// include extension for Legacy MediaPlayer (Toro is included already)
compile "im.ene.toro2:oro-ext-mediaplayer:${toroVersion}"

// include Toro extended helper (Toro and ExoPlayer v2 extension is included already)
compile "im.ene.toro2:toro-extended:${toroVersion}"
  1. Starter Guide