BetterVideoPlayer
BetterVideoPlayer copied to clipboard
Video playback on Android, made better in Kotlin, wrapping around the stock MediaPlayer API.
Hello guys load subtitle from local storage is not working. to solve this problem go to `CaptionsView` class and modify this method `public void setCaptionsSource(@Nullable Uri path, CMime mime) {`...
I personally need this feature so bad. Loading from raw resource isn't really useful since Captions are most of the time downloaded at runtime.
I started using "BetterVideoPlaye" recently to play stream links in my android application, such as .m3u8 and .mp4 files, but when I tried to play .ts files, the player didn't...
-- [ ] I have verified there are no duplicate active or recent bugs, questions, or requests -- [ ] I have verified that I am using the latest version...
java.lang.IllegalStateException at android.media.MediaPlayer.nativeSetDataSource(Native Method) at android.media.MediaPlayer.setDataSource(MediaPlayer.java:1179) at android.media.MediaPlayer.setDataSource(MediaPlayer.java:1140) at com.halilibo.bettervideoplayer.BetterVideoPlayer.prepare(BetterVideoPlayer.java:324) at com.halilibo.bettervideoplayer.BetterVideoPlayer.setSource(BetterVideoPlayer.java:236)
I am trying to show controls on start of the video. But it automatically hides. Is there is any fix around? mPlayer.showControls(); -###### Include the following: - - Better Video...
Kind of like the android YouTube player.
java.util.MissingFormatArgumentException: Format specifier: 2F at java.util.Formatter.getArgument(Formatter.java:1111) at java.util.Formatter.doFormat(Formatter.java:1076) at java.util.Formatter.format(Formatter.java:1042) at java.util.Formatter.format(Formatter.java:1011) at java.lang.String.format(String.java:1554) at java.lang.String.format(String.java:1528) at com.halilibo.bettervideoplayer.BetterVideoPlayer.LOG(BetterVideoPlayer.java:871) at com.halilibo.bettervideoplayer.BetterVideoPlayer.prepare(BetterVideoPlayer.java:323) at com.halilibo.bettervideoplayer.BetterVideoPlayer.onSurfaceTextureAvailable(BetterVideoPlayer.java:562) at android.view.TextureView.getHardwareLayer(TextureView.java:368) at android.view.View.updateDisplayListIfDirty(View.java:15233) at android.view.View.draw(View.java:16029) at android.view.ViewGroup.drawChild(ViewGroup.java:3654)...
I am trying to create activity with player which will play files which size is about ~100Mb. When video is buffering, for example to 10%, it pause buffering. And now...