Movie Streaming App part 8: Movie Player Activity: ExoPlayer setup | Android Studio Tutorial
Hello and welcome back everyone,
In this part I’m going to prepare the movie player activity: this activity is responsible for playing movie or trailer video media using ExoPayer.
ExoPlayer is an application level media player for Android. It provides an alternative to Android’s MediaPlayer API for playing audio and video both locally and over the Internet.
https://github.com/google/ExoPlayer
Video walkthrough:
00:07 demo
00:53 create movie player activity
01:30 add ExoPlayer dependencies
02:25 turn on Java 8 support
03:13 design movie activity
05:20 setup exoplayer
10:51 enable http connection in the app (important for http video links)
12:09 set activity to fullscreen
13:47 testing the app in the emulator
ExoPlayer dependency:
implementation ‘com.google.android.exoplayer:exoplayer:2.9.6’
Support The Channel:
If you like my content and you want to support me directly you can donate using this link :
PayPal: https://www.paypal.me/awsrh
Thank you so much.
Links & social media:
Instagram: https://goo.gl/tghvar
GitHub: https://goo.gl/QVn8np
My blog: https://goo.gl/1c5zut
Music Licensed by Artlist: (get extra 2 months for free using this referral link) :
https://artlist.io/Aws-490066
Views :28383
android studio