Is there a way to disable the seekbar in expanded controller view in android Chromecast SDK V3?
Facing an issue with the progress bar seek for LIVE videos. The playback is getting hanged while seeking. This issue is also seen in cast-videosAndroid sample app.
Well, like the answer of Ali Naddaf here, if it is your own application, then don't add the progress bar in the first place.
Other developers hide the video view's Seekbar or Progressbar in android by setting the setMediaController to null.
videoView.setMediaController(null);
For more information, check this SO question and this ProgressBar documentation.
Related
In androidTV is there any way to hide and show the PlaybackcontrolsRow programmatically? (I check the official documentation, but there is nothing related to it)
Thanks
The PlaybackFragment has the methods you want to achieve this.
tickle() will show the controls.
hideControlsOverlay() will hide the controls.
For those not on the latest version of Leanback:
The PlaybackOverlayFragment has the methods you want to achieve this.
tickle() will show the controls.
fadeOut() will hide the controls.
Just like ios notification bar,when you drag down notification bar,backgroud will fog in the meantime;
Not blur an Image,it's blur every thing below this view IN THE MEANTIME,in real time.
An Explanation is given here.
http://nicolaspomepuy.fr/blur-effect-for-android-design/
Check out these libraries,
https://github.com/kikoso/android-stackblur
https://github.com/PomepuyN/BlurEffectForAndroidDesign
I am using a YoutubeAndroidPlayerAPI in my Android App.
In my YouTubePlayerSupportFragment I am setting youtubePlayer.addFullscreenControlFlag(YouTubePlayer.FULLSCREEN_FLAG_CUSTOM_LAYOUT); so that I can change between Fullscreen without having to rebuffer each time I do so.
For that I removed the navigation bar please see my previous SO question about it. So now the player is playing fine. But somehow the touch events are passing down behind the player (i.e. to views behind youtube player) but Only when touch events are below the player's SeekBar (In FullScreen Mode).
Is there any workarounds to this problem?
Any one knows of any open issues regarding this issue?
Try adding android:clickable="true" to the top ViewGroup of your fragment's layout file.
Is there a way to show the progress of a song playing with a progress bar and possibly length in terms of minutes and seconds? I would like it in the status bar, but I know how to do that using a custom notification layout so if someone steers me in the right direction that would be nice. Either with some code or code examples, thanks.
You obviously have to tie in with the NotificationManager classes the progress of the player/mp3. There was a question on SO that may have what you need... Also take a look at this for just basic Progress bar. And of course read the documentation on ProgressBar and Status Bar
To get the minutes left to play song, I know VLC player doesn't do that for my SlimDevices server. If you want to do this from via streaming you will have to get the length of the song, then implement your own timer as I am pretty sure that streaming music does not give you the current time left to play song.
I have already posted my query here, but unfortunately, not getting the required support for this simple query.
I am using a progressbar widget in my application to show the download progress.
In the current state, I am able to manually move the slider back and forth while download is progressing. How can I prevent the manual moving of progressbar, instead it works only based on
progressbar.setProgress(progressbar.getProgress() + 1024); -- currently this works perfect, but I need to prevent the manual moving of progressbar during download.
There is example code on the Android developers website:
https://developer.android.com/reference/android/widget/ProgressBar.html
Have you followed that? I doubt the progress bar is scrollable by default, it would be a seek bar then