[Q] youtube: problem with multitasking - Galaxy Tab 10.1 Q&A, Help & Troubleshooting

seriously, and i mean it.. did you guys have trouble multitasking with youtube?
When you buffer anything inside youtube, and you switch to ANY other app for example browser or calendar or whatever, all the buffer you have done, will gone back to zero !! Wtf!
How stupid this is?? And i wonder why nobody has ever noticed this and complained about it somewhere over the net.

Yes, I have even basic problem with youtube. When I switch to another app, why does the video stop playing? Sometimes, I am only interested in the audio!
Osho

Hi, I'm having same prob and I don't think we can do anything to it ;/
Sent from my GT-I9003 using XDA App

oshogg said:
Yes, I have even basic problem with youtube. When I switch to another app, why does the video stop playing? Sometimes, I am only interested in the audio!
Osho
Click to expand...
Click to collapse
you mean the video stops playing but audio still play? I dont think so

denis_sianto said:
you mean the video stops playing but audio still play? I dont think so
Click to expand...
Click to collapse
No, the video can continue to play but in the background. For example, on a PC, if I have youtube video playing in a browser tab, and I switch to another browser tab - the video continues to play back. So, I can at least listen to audio (which is useful for music videos).
Thanks,
Osho

I have this problem and it annoys me, as I have very slow internet,so last thing I need is for it to restart again.
Sent from my GT-P1000 using XDA Premium App

oshogg said:
No, the video can continue to play but in the background. For example, on a PC, if I have youtube video playing in a browser tab, and I switch to another browser tab - the video continues to play back. So, I can at least listen to audio (which is useful for music videos).
Thanks,
Osho
Click to expand...
Click to collapse
Yea, i know that if in pc, you switch to another tab, youtube would still continue buffering. But this did not happen in tab's youtube. If I buffer any video, and then i switched to browser, then switch back again to youtube, all the buffers would have gone to zero.
Are you 100% sure you dont have this problem with your stock youtube app?

vauxhallastra said:
I have this problem and it annoys me, as I have very slow internet,so last thing I need is for it to restart again.
Sent from my GT-P1000 using XDA Premium App
Click to expand...
Click to collapse
Are you talking about p1000 or the new gt with honeycomb?

Don't be fooled into thinking that Android's multitasking is that much more robust than iOS. When you move away from an app, the system sleeps the VM that it is running in to devote clock cycles and memory to your current working application. The only way an app can continue to persist alive in the background is to specifically request to remain alive and working on something with background processes. The YouTube app doesn't do this, so when you move away from it the application sleeps.
The only advantage Android has over iOS in terms of multitasking is the easy ability for an app to run background processes if it so chooses. Fortunately no sane app developer is going to write an app that tries to stay completely active in a non-windowing OS.
sassafras

sassafras_ said:
Don't be fooled into thinking that Android's multitasking is that much more robust than iOS. When you move away from an app, the system sleeps the VM that it is running in to devote clock cycles and memory to your current working application. The only way an app can continue to persist alive in the background is to specifically request to remain alive and working on something with background processes. The YouTube app doesn't do this, so when you move away from it the application sleeps.
The only advantage Android has over iOS in terms of multitasking is the easy ability for an app to run background processes if it so chooses. Fortunately no sane app developer is going to write an app that tries to stay completely active in a non-windowing OS.
sassafras
Click to expand...
Click to collapse
Okay, i know it make sense to not write an app that tries to stay completely active in background. But wouldnt it make sense for an app such as youtube that needs a lot of buffer (since not all country in the world have fast mobile connection), to be partially active in background, such as the buffering ability?
I think that make sense! And i still wonder why wouldnt honeycomb developer realize this .
Sent from my GT-P7500 using XDA App

Be careful, Playbook owners might start feeling smug about their device if they see things like this
Sent from my GT-I9100 using XDA App

I would also like Youtube to be able to play in the background, just like on a PC. Why not? It can't be too hard to programme either.
Swedish national radio, Sveriges Radio, has a good app that allows you to listen to all their programmes and the app runs smoothly in the background while I surf or do other stuff on the tablet. You'll find it at Google Play (former Market) if you're interested.
An other thing that Youtube on Android does not do is to run playlists. Again, why not?
I can't really see the point in removing great features when you develop a new OS. The goal can't really be to make it worse compared to the PC, can it?

labovski said:
An other thing that Youtube on Android does not do is to run playlists. Again, why not?
If your mostly worried about the playlist feature, it works when running stock browser and you are signed in. All you have to do is tap on the bottom-right corner of the video's preveiw image, afterr tapping, the little '+' shows up
Sent from my GT-P7500R using XDA
Click to expand...
Click to collapse

A solution would be using OverSkreen (Browser) and just open youtube in a small window.

Related

Can we hack Flash player to work in the background?

Hello all,
As maybe some know, Adobe's Flash player in Android has a feature. The object doesn't activate if it is not in focus (or maybe touched?). This seems to be a security or battery performance related improvement as Adobe puts it.. However, it is really annoying.. Because;
You can't listen to most of the radio stations, or playlists even, if you send them to background. I love to listen to some of my favorite music while reading the daily news.. As many other have pointed out in the following threads:
Thread ID: 854896, 672639, 543354, 489142
I am writing this question here, as this is an Android Flash player implementation issue and this behaviour is by design. There may be many ways to modify the Flash player, or modify the browser to make the Flash Player act as if it is in the foreground even if it is not..
So can anyone work on this? Or maybe we can submit some kind of CR to CyanogenMod issue list? Better yet, how can we submit this problem to Adobe's developers/designers?
Or maybe a hacker has already read this and has solved it already
Thanks a lot..
Maybe this works on other (Sense?) phones, but I know this worked on my 3.29 stock rooted Evo. In the browser you can hit menu > windows and then open a new window, and then close the new window. Now you will still be in the windows view, but are "hovering" above the window you have your Flash content in. Now you should be able to hit the home button and do other things.
I would suggest just using a real music player/radio app.....
deathsled said:
I would suggest just using a real music player/radio app.....
Click to expand...
Click to collapse
x2... I think most, (if not all) standalone music/radio apps will run happily along in the background.
mik101 said:
x2... I think most, (if not all) standalone music/radio apps will run happily along in the background.
Click to expand...
Click to collapse
True, but most (if not all) standalone music/radio apps won't play arbitrary flash content online.
I know somebody who likes to listen to a particular TV program, and typically networks only make these available via flash. I'm sure if he works at it he can extract the audio on a computer or find it on a torrent or something, but it would be nice if this were at least an option.
Of course, compared to a normal app I imagine it would suck down a lot more power.
I've found a way to have a Flash webpage running on the background without needing to hack Flash Player on ICS. I stumbled across an unadvertised "feature" of the Dual Screen Browser app by Curry Cat v2.1.
All you have to do is launch the Dual Screen browser, do a google search for the flash web page you want, and once the audio starts playing just hit the OS Home button and the audio keeps playing in the background. It blew my mind.
The device I got this working on is a stock ASUS Transformer TF101 w/ ICS (v4.0.3)
Dual Screen Browser has a bunch of FC and seems to be heavily reliant on the stock browser some how. If you get FC when trying to launch it try the following:
Open stock Browser, press OS Home button, then relaunch Dual Screen Browser
Turn internet connection off, then relaunch Dual Screen Browser
Dual Screen Browser appears to be better optimized for flash/html5 video playback in portrait mode. I had two flash videos playing at the same time on each screen without much of a performance hit.
When in landscape mode pick the left most screen. It plays movies better without cutting off part of it.
Questions or Problems Should Not Be Posted in the Development Forum
Please Post in the Correct Forums & Read the Forum Rules
Moving to Q&A
loganss said:
I've found a way to have a Flash webpage running on the background without needing to hack Flash Player on ICS. I stumbled across an unadvertised "feature" of the Dual Screen Browser app by Curry Cat v2.1.
All you have to do is launch the Dual Screen browser, do a google search for the flash web page you want, and once the audio starts playing just hit the OS Home button and the audio keeps playing in the background. It blew my mind.
The device I got this working on is a stock ASUS Transformer TF101 w/ ICS (v4.0.3)
Dual Screen Browser has a bunch of FC and seems to be heavily reliant on the stock browser some how. If you get FC when trying to launch it try the following:
Open stock Browser, press OS Home button, then relaunch Dual Screen Browser
Turn internet connection off, then relaunch Dual Screen Browser
Dual Screen Browser appears to be better optimized for flash/html5 video playback in portrait mode. I had two flash videos playing at the same time on each screen without much of a performance hit.
When in landscape mode pick the left most screen. It plays movies better without cutting off part of it.
Click to expand...
Click to collapse
Wow, I even forgot that I asked this question. But your solution seems very promising. Well, I'd still like to see HTML5 work in the background to (for the obvious reason that I want to play a youtube playlist while screen off ) Well if I'd have to install a separate app, I think there are other players that does this already.
Thanks anyways.. (Sorry for the late response)
I am using "nextvid" to play youtube videos on the backgroud, no need for hacking it does it by default( free app)
https://play.google.com/store/apps/details?id=Nextvid.mobile.player&hl=pt_PT

FREE: Improve youtube lag/stutter/buffering with TubeMate

this is just a suggestion for anyone that is having the same issues as me, which is simply constant lag/buffering issues with the stock youtube app. running on what i felt was a fast enough internet connection, i would constantly have buffering issues both on HD and non-HD (a lot more consistently with HD).
after looking for weeks, i found an app called TubeMate (http://goo.gl/mzrZT)
it is currently only available via the amazon app store. it seems to have a few other features besides viewing the videos (like downloading, downloading as mp3, etc..) but all i really care for is being able to stream a video in HD quality w/out looking embarrassed.
hopefully this will help some of you that are also experiencing this issue. if you aren't, well i'm really happy for you.
Since its a free app, upload the apk.
didn't realize DLing from the amazon appstore would be a big deal. but here you go.
demandarin said:
Since its a free app, upload the apk.
Click to expand...
Click to collapse
I could be wrong but when I downloaded it the page said a "paid app free a day". Does that mean its a paid app?
Sent from my Droid X using xda premium
you can get it here for free
http://www.androidfreeware.net/get-youtube-tubemate.html
for the guys involved in this thread so far, are you also experiencing buffering issues with your prime and if so, let us know if TubeMate helps out. i've certainly seen a HUGE improvement with all youtube videos to a point where i only stream HD now.
The app works great and also allows you to download video or save it as an .mp3
I have used this app for years on all my devices and on my prime since I purchased it. Wouldn't use anything else great app
Sent from my Transformer Prime TF201 using Tapatalk
Is this app optimized for tablets?
Yes it works great on my prime
Sent from my HTC Sensation 4G using Tapatalk
i have installed latest tube mate app but can not download any video. it gives an error.
screen shot is attached.
please help
I use it to download videos, not stream. The UI is rather ugly ;P
Can someone clarify: Is this app a REPLACEMENT app that uses youtube (what I think it is)? Or is it an app that somehow optimizes the native youtube app (what I hope it is)?
irishtexmex said:
Can someone clarify: Is this app a REPLACEMENT app that uses youtube (what I think it is)? Or is it an app that somehow optimizes the native youtube app (what I hope it is)?
Click to expand...
Click to collapse
I'd like an answer to this as well
OstiasMoscas said:
I'd like an answer to this as well
Click to expand...
Click to collapse
it's another app that does not optimize the youtube app.
while i love it and still use it, i must put my disclaimer that the issue with the laggy youtube ended up being the Wifi/BT issue. beyond that, it still speeds up buffering better than the stock app.
Colombiano80 said:
it's another app that does not optimize the youtube app.
while i love it and still use it, i must put my disclaimer that the issue with the laggy youtube ended up being the Wifi/BT issue. beyond that, it still speeds up buffering better than the stock app.
Click to expand...
Click to collapse
Thanks for the clarification
I haven't had any real problems with streaming vids, but I might check it out regardless. Faster buffering is always nice.
Colombiano80 said:
this is just a suggestion for anyone that is having the same issues as me, which is simply constant lag/buffering issues with the stock youtube app. running on what i felt was a fast enough internet connection, i would constantly have buffering issues both on HD and non-HD (a lot more consistently with HD).
after looking for weeks, i found an app called TubeMate (http://goo.gl/mzrZT)
it is currently only available via the amazon app store. it seems to have a few other features besides viewing the videos (like downloading, downloading as mp3, etc..) but all i really care for is being able to stream a video in HD quality w/out looking embarrassed.
hopefully this will help some of you that are also experiencing this issue. if you aren't, well i'm really happy for you.
Click to expand...
Click to collapse
Okay, just wanted to thank you for pointing out the app. It's great, love it. I' ve hit the thanks button.
the ui is ugly in this app but it works amazingly faster than stock app. plus it lets you download the videos or you can download them as mp3 to listen in music player. works great. I love the look of stock YouTube app but sick of the buffering on some vids. I have high speed wireless so no reason it should be buffering like that. this app eliminates that basically.
whenever i click to watch a video in tube mate it pops up asking me which player to use - youtube or tubemate- i choose tubemate but then the video doesnt load...anyone else had this problem>?
should be called buffer be gone!!
Gotta say +1000000 for this app, I use Crackle to watch some movies, took away all the buffering, youtube too no more buffering..... excellent app!!!

[Q] When screen off, continue to run the apps in the background like some video apps?

I use rooted 4.3 Samsung S4. Some apps like MX player can play video when the screen is off. I want to play games of other video apps when the screen is off. Any rooted apps can help me to do this? For example:
1. I use Android to watch some CNN and bloomberg TV (not radio) that I want to play in the background with the screen off
2. I am playing some games which require the apps to be opened and the screen on to get some special stuff.
ng1012 said:
I use rooted 4.3 Samsung S4. Some apps like MX player can play video when the screen is off. I want to play games of other video apps when the screen is off. Any rooted apps can help me to do this? For example:
1. I use Android to watch some CNN and bloomberg TV (not radio) that I want to play in the background with the screen off
2. I am playing some games which require the apps to be opened and the screen on to get some special stuff.
Click to expand...
Click to collapse
how will you play after switching off screen
Vaibhav Chauhan said:
how will you play after switching off screen
Click to expand...
Click to collapse
Like MX player. Play video after screen off.
And that is what I am asking how the other apps do this
ng1012 said:
Like MX player. Play video after screen off.
And that is what I am asking how the other apps do this
Click to expand...
Click to collapse
it just a processes running in background but not seen on screen like android backgroun processes and update processes
I think this is what you're looking for. Not sure it works with games though.
http://www.xda-developers.com/android/try-out-omniroms-multiwindow-on-every-rom-with-xposed/
Sent from my HTC One_M8 using XDA Premium 4 mobile app
I am not asking the mechanism behind. Let me ask again. I know how mxplayer works on video.
What apps mod the android that make the other apps continuously run in the background but not suspend it?
Sent from my GT-I9505 using XDA Free mobile app
Anyone help?
Ta-Da:
https://play.google.com/store/apps/details?id=com.nkahoang.screenstandby
Sorry, no , it does not help. :crying::crying::crying::crying:
ng1012 said:
Sorry, no , it does not help. :crying::crying::crying::crying:
Click to expand...
Click to collapse
That app is specifically what you were asking for, right? What isn't working?

[Q] The best way to stream music from youtube in background on any android device

Hi,
I have been a silent reader/observer of xda forums for a long time now and I thank everyone of the awesome developers out there for giving such good ROMs.
I've been meaning to ask this question for a long time but I was delaying it hoping I can get an answer for it myself. But today after spending close to 5 hrs on this with no answer I decided to ask it here.
I'm a music fan and I'd like to listen to it on my phone as well. I have an HTC One XL with the latest Viper ROM.
I have tried the following options.
1. Downloaded numerous apps (PVStar, NextVid and the likes). Some worked but not to my satisfaction. They're either very laggy or buggy or have unattractive UI to use.
2. Visited sites like youtify.com and tried on various browsers. (Chrome, firefox, UC, Dolphin, Opera etc.) hoping it won't stop playing audio when switched to another app or screen locked. On chrome and all the others it just stops playing audio when you switch to another app. On firefox it works but when screen is locked, audio becomes choppy (app's priority gets lower I think slowly). I tried to search for apps which can keep an app's priority higher but in no vain.
3. I also tried to find alternatives to Youtube like grooveshark app but it just keeps crashing whenever other apps are launched. I also tried Radio apps like TuneIn radio or pandora but you can't search for specific songs there.
P.S: Also some YouTube videos are specifically blocked by Google itself to not stream it to other apps/sites I think. How can we avoid this?
So, basically my problem is I need to be able to search and stream Youtube videos (Preferably have my own saved playlists) on my android phone while the screen is locked or in background while accessing other apps. (I know google is trying to bring 'play in background' feature to YouTube app itself but we can't create playlists there if I'm not wrong). Please suggest me a solution.
Thanks.
http://www.makeuseof.com/tag/play-youtube-videos-background-even-screen/
or
http://forum.xda-developers.com/showthread.php?t=2213945
es0tericcha0s said:
http://www.makeuseof.com/tag/play-youtube-videos-background-even-screen/
or
http://forum.xda-developers.com/showthread.php?t=2213945
Click to expand...
Click to collapse
Thanks for a lot for the links. Tried both but the first one (Viral) is not so stable. It crashes often and a pain to use. However the second option (Modded youtube APK) seems to be the best option. I can have my own playlists saved in my youtube account and play them using this modded youtube app. The music will continue to play even when screen is locked but the app must be in the foreground. The moment you switch to another app or press home button or even pressing "back" within youtube, it stops.
It's a solution I can live with for now, but I would love to have something which can run even when in background. Suggestions welcome.
Thanks.
[BUMP] Any youtube modded APK?
Trying to bump up this as I wasn't able to find a modded youtube APK which can continue to run in background (i.e. even after pressing home button and accessing other apps). Right now the modded APK only allows screen to be locked but the app should remain in foreground.
And the youtube APK also doesn't play all files in playlist. It plays just one file that we select and stops after that even though there are other items in the playlist.

App crashes

So I know I shouldn't expect much from the hardware site of the phone, but even when I just do easy multitasking like if I'm in facebook for a while and the swap over to snapchat via the multitask menu, it usually has shut down snapchat by itself so the app has to restart? Same thing happens with almost every app.
Also with spotify for example if I have to other apps running and swap a little between them in the end spotify will force close, this has not happened to me on any other device not even on my galaxy nexus.
So does this happen to others than me? I mean a light use of multitask it can't handle...
Other than that I sure do love this phone
Also how can it be when I turn up for the volume playing a YouTube video, listening to spotify, Google play music and so on, it pauses the video/song? Check through all settings can't seem to find anything.
Sent from my LG-D620 using XDA Premium 4 mobile app

Categories

Resources