-
-
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
YouTube-like UI #2882
Comments
If no one wants to join you, you could always make your own fork tho, right? |
@notanewbie i'm not interested in maintaining a fork so it is not an option. |
Oh hey, welcome again Avently |
@justanidea hello! Please, connect to our conversation @theScrabi @mauriciocolli @TobiGr @karyogamy |
I like how it seems :) Really |
Here is the latest apk |
Really nice overview video! 💯 |
Welcome back @avently! This looks awesome ❤️
Good 👍 I love that you can minimize the player and pin it to the bottom ❤️
This is okay as long as we ensure that all necessary actions are available. When viewing a video page, the app bar contains four things atm: [Please make sure to apply my suggestions only to the embedded video player :)]
I understand your reason to do this. But maybe it might be better to create methods to pass the player data to another player. I need to see the implementation before I am able to comment on this, though. I'd be glad to hear @mauriciocolli's, @Stypox's and @Redirion's opinion in this topic, too.
This sounds good for tablets, but I am not sure about phones. All in all this sounds like a massive code change. Therefore please, please, please do not make one big PR which changes everything, but create smaller PRs addressing only as few points as possible. This will speed up the review. |
They are not duplicated, they are moved to embed player (they are not exist under three dots menu since no appbar exists in VideoDetailFragment) . There is no place for them in VideoDetailFragment or I just don't know where to place these buttons.
Did you mean to remove name & title completely from embed player? Or to show them only in fullscreen mode? Because without showing them in fullscreen mode we will really miss them, I know because I use similiar UI for two years:) So the idea to hide name & title in non-fullscreen player is good while showing them in fullscreen mode.
Now under collapsible menu you can find two additional buttons: screen rotation and play with Kodi.
This means to have three similiar classes and to have a method to somehow communicate with each other, to have three simpleExoPlayer with no instant player change (there will be long loading when you switch from one player to another). So I don't understand why somebody may want to have three similiar class which do similiar logic when there is a possibility to have just one class with all logic inside it. And this class was already been made). You can see inside PopupVideoPlayer and BackgroundPlayer and you'll find that many methods have duplicates. By having single class for player will be easy to maintain the code.
I didn't implemented it yet but it will not be too hard to do (in another PR). I mean only the ability to scroll down in fullsceen mode which will allow to see description and content under it like you can do in non-fullscreen mode. That's it.
Unfortunately it's impossible. Because the making of such player involves too many changes in different classes (MainActivity, VideoDetailFragment, NavigationHelper, ServicePlayerActivity, BackgroundPlayerActivity, XML's for players, activity, VideoDetailFragment). This is architectural change and I can't change only VideoDetailFragment without changing other pieces of puzzle, for example. For now 29 files changed, 4870 insertions(+), 629 deletions. I didn't delete any file yet. PR is large. Maybe a half from it is just a copy-paste from another players and also I will made code optimization before making the PR. Thank you for your detailed comment!
What are pros and cons of this suggestion? I see only cons because it would allow a limited place for comments. It would be hard to scroll down and to read comments. Also please note that player can be used on phones with a small screen. Also there is such feature as multiwindow support. It means you can open two applications on one screen and every application will have only half of the screen (or even less). It would be painfull to scroll a content under a video. Do you agree or I didn't see something? |
I like playing a video and scroll to the comment section during the intro, and when it becomes interesting I can watch the video right away without losing my position in the comment section.
I know, and I use it often with the YT app! It's a habit to take, but it's not that bad, just have to remember to use config (3) if you want more that just the video. I don't know for small screens, never had any. |
For the review, maybe try to first make a PR with only the unification of the players (copying files and methods) but without too much improvement on the UI, then the next PRs would build on that and only show revelant changes? |
The duplicated info was related to the video title and channel name. Sorry I inserted a line break at the wrong position.
Yes, please only show it in the fullscreen mode.
I think scrolling down will be the problem here. There are gestures to change volume and brightness already. There should be enough space to split the area where we are waiting for those gestures and the gesture to view the comments, but the display is smaller on phones and therefore we cannot rearrange the gestures. We should discuss this in a new issue to hear more opinions.
That's what I though about, but if this is too much work to split everything up again, we'll have to deal with it. However this could slow down the review, because this would require us to take care of too many aspects. |
Did you use SkyTube? Gestures in it can show description, comments, change brightness, volume, and playback position. So I can make only small area on the bottom of the screen that will react on swipe from bottom to top triggering scroll to bottom.
Agree
Yes |
@avently and, please, take a look on my some feature suggestions: • could you please set min sdk to 19 (android 4.4) like support by NP now, or if not possible - at least to min sdk 21 (android 5.0) • i would like to see in your ui - TABS (Layers) !!! ... just to have possibility to use a lots of them(pages) ;) ! i hope this one will be in great demand! |
I don't have time on supporting a new fork. So if you want it you will be able to fork my repo when I upload it for a PR. But since the main idea of making the PR is to get it merged upstream there will be no need in the fork:)
The min sdk version is 19, I didn't change it
What do you mean? Can you show some examples from other apps? |
• ok, then i hope the new YT-UI will be like a switchable option! • about the tabs... i mean like in browser-like stile, you know... exactly the way like in opera browser(for android) it is. • about min sdk..., i'm tryed to install the debug apk... and got error ((( |
It's possible to annonce but impossible to make it switchable:) No switchable option will exist.
That's probably because you are trying to install an apk over you existing apk. For some reason my debug key is not the same as yours. Try to sign the apk with you debug key and everything will be fine. |
ok, if it's a chance to make things better i'll try to suggest many ways to feel comfortable like with the old one... so, please, i mean tabs in upper line like this.. this gives a possibility use several 'pages' and quickly switch between them!!! |
I don't think adding tabs to switch between pages is of much benefit to anyone besides a minority of users. |
@gkeegan but, anyways i hope that tabs line could be optional to switch on/off, |
To view large amounts of media you can just make a playlist. I'm confused as to what use case you want this for. |
I uploaded my work here https://github.com/avently/NewPipe/tree/unifiedplayer P.S. 3,991 additions and 488 deletions -- not so bad for review. |
Made PR #2907. I fixed three little bugs since yesterday and if you have built the code force-pull new changes again. |
@DI555 If you want tabs, please open a separate ticket for that. But to be honest, I don't see the point how they can be useful in NewPipe at the moment.
@avently Yes and I faced problems because my screen is small and my swipes were recognised as a different gestures frequently.
This causes some lags on my phone, but it sounds like a good idea. The only con is that two actions are required, One tapping to make the button visible and another one to open the comments by long pressing it. However, I guess not so many people will use this feature. That's why two actions are okay for me 👍 I'd suggest to give further feedback in the open PR #2907 to allow a more straight conversation using threats |
Thanks for coming back to this.
Very useful feature, really like what you did with the style of the minimized player. Just to throw in here, some time ago I was testing the new
|
@mauriciocolli Oh, glad to see you here! |
I'm probably a 1% user of NewPipe, but "play with Kodi" is one of my most used buttons of NP, because all my TVs are equipped with Kodi devices. I would even like to have the Kodi play option one level up in the video lists and my ideal version, a direct connection to Kodi. |
This does feel awkward in my mouth but.. I prefer the np status quo |
MP4_20200212_120047.zip |
@vkhomenk |
One thing to keep in mind is when transitioning from the video player to the background player, video needs to stop being loaded to save bandwidth, since the user is only hearing audio. |
This is how I made it already |
Thanks for the good work :)
…On Mon, Mar 2, 2020 at 12:51 PM avently ***@***.***> wrote:
video needs to stop being loaded to save bandwidth, since the user is only
hearing audio
This is how I made it already
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#2882?email_source=notifications&email_token=AEYRO55ZADSBFI6FVXUBYG3RFQE3RA5CNFSM4J55ZWQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENQWMTQ#issuecomment-593585742>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEYRO55KOVB3UATMRTB4SYTRFQE3RANCNFSM4J55ZWQQ>
.
|
Hello, guys. I'm making Youtube-like page for viewing videos. So will be possible to watch a video, to read comments and to see related videos on the same page. I already did this job previously in #834 and used that version since February 2018 (and it still works fine with some changes of extractor). I couldn't find common ground with contributors of NewPipe in 2018 so this will be a new beginning for us.
This issue is for tracking progress and for exchange of ideas.
I'm planning to:
If you have ideas or improvements over the list of tasks you read just tell me here.
The text was updated successfully, but these errors were encountered: