-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Video doesn't autoplay if shared to Newpipe #4071
Comments
Do you mean the video should start automatically orr autoplay doesn't work properly. That title is messy. Autoplay is when the video has ended and the next video is about to play... |
@ingingin You're thinking of auto-queuing of the next stream, which is an option in settings and also a toggle on the video details page. It's incorrectly named, especially now that it conflicts with the new setting added by the unified player PR. |
Actually the issue is a little bit wrong and here is why. There are couple of choices you can use right now when you share a video to NewPipe: Show Info, Video player, Popup Player, Background Player, Download. In order to enable auto play for intent.putExtra(VideoDetailFragment.AUTO_PLAY, true); But it's not logical choice at all based on how options are named. |
Well, yeah. Show info is incorrect if autoplay is on. I think the visibility of the Show Info option should change based on if autoplay is on or off. With autoplay off it can continue to be:
But with autoplay on it should be:
|
Ok, wait, I just tested with the Always Ask option in the latest debug apk. Both Show Info and Video Player have the exact same behaviour for autoplay off: they open the video details but don't play it. For autoplay on, both open video details, and the video additionally plays if Video Player was selected. Now, I think a better solution than my comment above is to tweak the behaviour in this way:
This ^ is for the Always Ask dialog when opened externally, and for the Preferred open action dialog in Settings. Moreover if Video Player is selected as the preferred open action, then turning autoplay off should replace it with Show Info, but keep that radio button selected, and vice versa. I think this set of behaviours will be the most intuitive. |
@opusforlife2 sounds good actually. Make this happen:) |
You hurt me right in my nascent coding skills. |
Do you mean the auto-play toggle in terms of auto-queue or auto-play in terms of play video automatically when detail page oepened? |
The second one. I normally refer to auto-queue as auto-queue only. |
Also, auto-queue is not related to this at all. 😆 |
This issue should be closed once #4259 be merged, am I right? Or you see another ways to do some things? |
Apparently, we blindsided TobiGr with this because #4070 was about the same problem. 🤭 And it was your investigation which showed this was the same issue. I don't know what he intends to do with this for now. But yes, that PR will close both this and 4070 if it is merged. |
Version
Steps to reproduce the bug
Expected behavior
Video details open up and video starts playing automatically.
Actual behaviour
Video details open up, but that's it. That's the same behaviour as if autoplay was off.
Found while investigating #2232.
The text was updated successfully, but these errors were encountered: