ExoPlayer has been a widely used library to implement customized video players into Android apps since it’s an open source library supported by Google. It is an alternative to Android’s MediaPlayer API providing many more out-of-the-box features as well as supporting a lot of video formats and sources. Hence, we can develop an advanced and tailored video player avoiding reinventing the wheel.

One of the many advanced ExoPlayer’s capabilities is allowing to integrate 360 video playback. This, combined along with Android motion sensors hardware, enhances VR experience in multimedia apps with no need for a special headset or peripheral devices; just using your smartphone or tablet.

Read the full article to learn how to implement a minimalistic VR app like shown in the video below with less than 70 lines of Kotlin code

You can also dig into the full source code, clone the repo and try it yourself.

Any question or suggestion is welcome.

Leave a comment

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: