Just call nfigPlayer(activity).play(url). The following will add a dependency to the full library:Ĭompile ':mkvideoplayer:0.1.5'Ĭase 1: only want to play a video fullscreen Next add a gradle compile dependency to the adle file of your app module. You need to make sure that the Maven archive is included in the adle file at the root of your project: (I couldn't find another good video player based on ExoPlayer, so I created this.)Īn easy way to get started is to use MKVideoPlayer and add it as a step-by-step guide. Unlike most video players, this application is designed for superior video streaming and playback. With Bluetooth ears / speakers, the audio and video tracks will sync well. AllCast is the must-have video player for all Android users. Enable all audio formats and use the ExoPlayer extension ffmpeg (it can also handle special formats such as AC3, EAC3, DTS, DTS HD, TrueHD). Compatible with Android 5+ and Android TV. If your Gradle minSdkVersion is 20 or lower, you should enable multidex in order to prevent build errors.ĮxoPlayer based Android video player. TargetCompatibility JavaVersion.VERSION_1_8 If it's not already enabled, some ExoPlayer may need to add the following to the Android section to enable Java 8 support in all adle files: Media Player is a Universa Video Player for Android, you can easily play any video files with the media player.
0 Comments
Leave a Reply. |