Commit graph

68 commits

Author SHA1 Message Date
sherlockbeard
b1fce6cabc testing 2021-08-13 20:54:22 +05:30
litetex
b8bba1e715 Made the thumbnail in the minimized player visible again 2021-07-06 21:40:57 +02:00
krlvm
a8de222577 Fix Dark elements in Light Theme 2021-03-27 17:46:05 +03:00
Tobi
22782ae597 Merge pull request #5818 from TeamNewPipe/thumbnail_size
[background player] Fix very small thumbnails
2021-03-14 21:12:52 +01:00
Tobi
714c9fb397 Merge pull request #5148 from Stypox/error-panel
Show improved error panel instead of annoying snackbar or crashing
2021-03-14 17:41:27 +01:00
TobiGr
14dc764a7e [background player] Fix very small thumbnails 2021-03-13 18:17:30 +01:00
Stypox
0ea6b4928c Add report/solve-recaptcha button in error panel
It will be shown even when nothing could be loaded not due to a network error, and the user can choose to ignore or report it.

Also improve error reporting arguments
Also completely refactor error activity
Also improve some code here and there
2021-03-12 23:21:49 +01:00
Mikhail Barashkov
0569989126 Implement "pause/play" toggle on hardware keyboard space button. 2021-02-12 11:58:15 +03:00
Stypox
64c7884850 Animate secondary controls toggle 2021-01-17 15:59:29 +01:00
Stypox
3daa726f03 Always show tab layout at the bottom of the screen 2021-01-17 15:36:42 +01:00
Stypox
923a68beaf Add icons to VideoDetailFragment tab layout for better accessibility 2021-01-17 15:34:24 +01:00
Stypox
8a4783f97b Move description to a tab alongside related streams and comments 2021-01-17 15:26:25 +01:00
Stypox
249ea33571 Add a secondary control panel to video detail fragment
It is shown when the user expands the description
It contains share, open in browser and play in kodi
2021-01-17 15:12:29 +01:00
Isira Seneviratne
8c73c2fe86 Use view binding in VideoDetailFragment. 2021-01-17 09:57:40 +05:30
Stypox
15bf6b82e2 Improve meta info layout and merge duplicate code 2020-12-20 15:10:18 +01:00
TobiGr
a88d3a8a68 Display meta info about search query, stream creator or topic
Closes #4614
2020-12-20 11:56:22 +01:00
wb9688
8f2effa78c Format all XML resources 2020-10-14 11:04:48 +02:00
Stypox
1c1adb2bc8 Prevent touches behind minimized player 2020-10-02 14:53:16 +02:00
Avently
0d5cc050ef Reimagined player positioning 2020-09-15 14:43:43 +03:00
Avently
b76aa495d2 Android 11 initial support 2020-09-14 02:46:00 +03:00
Avently
6f506f17e0 Fixes for Android API <21 2020-07-22 17:19:32 +03:00
Avently
aef78ace88 Merged the latest changes 2020-07-13 04:17:21 +03:00
Stypox
f767116c25 Add shadow behind play icon in video detail fragment 2020-05-21 15:39:36 +02:00
Stypox
c80aba9a88 Use vector drawables instead of PNGs for material icons
For all manually-created images PNG have been kept.
- rename all icon attrs to have a `ic_` prefix
- always use `_24dp` icons, because there is no real difference, since they are vector drawables
- always use the original name found on material.io for icon drawables, as to not create confusion and possibly duplicates. Icon names can still be different from real drawable names, though I have made some of them compliant to this or maybe more meaningul.
- remove duplicate `getIconByAttr()` in ThemeHelper (use `resolveResourceIdFromAttr()`
- use standard icons for `expand_more` and `expand_less` instead of triangles
- use `play_button_outline` instead of custom PNG as play button in VideoDetailFragment (questionable, as there is no shadow anymore)
2020-05-21 15:39:35 +02:00
bopol
1151024ab4 subscribe button now match service's main color 2020-05-11 19:29:34 +02:00
wb9688
c9c1320da6 Don't show sub-channel thumbnail by default 2020-05-08 15:51:21 +02:00
Roy Yosef
fb2c8bbd69 Fix PR review
Make all of the uploader section on stream page navigate to the channel page
Extract hard coded strings
Remove redundant spaces
Fix open streams from a channel
Rename "ParentChannel" to "SubChannel"
Config royosef:NewPipeExtractor in app/build.gradle
2020-05-07 20:40:17 +02:00
Roy Yosef
d13eba6d63 Add sub-channel details to video detail fragment 2020-05-07 20:39:32 +02:00
Avently
38440abb30 AppBarLayout scrolling awesomeness, PlayQueue layout touches interception, player's controls' margin
- made scrolling in appBarLayout awesome
- PlayQueue layout was intercepting touches while it was in GONE visibility state. Now it's not gonna happen
- removed margin between two lines of player's controls
- when a user leaves the app with two back presses the app will not stop MainPlayer service if popup or background players play
2020-02-12 22:33:23 +03:00
Avently
c7c4c2172a Mini player, ExpandableSurfaceView with ZOOM support, popup
- mini player's title, image and author information will be updated in many situations but the main idea is that the info will be the same as currently playing stream. If nothing played then you'll see the info about currently opened stream in fragment. When MainPlayer service stops the info updates too
- made ExpandableSurfaceView to replace AspectRatioFrameLayout. The reason for that is to make possible to use aspect ratio mode ZOOM. It's impossible to show a stream inside AspectRatioFrameLayout with ZOOM mode and to fit the video view to a screen space at the same time. Now the new view able to do that and to show vertical videos in a slightly wide space for them
- refactored some methods to make the code more understandable
- made fixes for player view for landscape-to-landscape orientation change
- added Java docs
- adapted swipe tracking inside bottom sheet
- fixed PlayQueue crashes on clearing
- paddings for popup player now as small as possible
2020-02-05 08:59:30 +03:00
Avently
51fe694a90 Player's elements positioning is better for tablet and in multiWindow mode
- status bar got a fix for situation when a phone vendor did not provide status bar height for landscape orientation
- popup will not be init'd twice
- also fixed some non-reproduceable bugs
2020-01-17 17:37:53 +03:00
Avently
5bcfcf675e Second block of fixes for review
- hide/show controls with respect of SystemUI. In fullscreen mode controls will stay away from NavigationBar
- notification from running service will be hidden if a user disabled background playback
- fixed incorrect handling of a system method in API 19
- better MultiWindow support
2020-01-03 08:05:31 +03:00
Avently
efc10c8717 All players in one place
- main, background, popup players now connected via one service, one view, one fragment, one activity and one gesture listener
- playback position is synchronized between players. Easy to switch from one to another
- expandable player at the bottom of the screen with cool animation and additional features like long click to open channel of a video, play/pause/close buttons and swipe down to dismiss
- in-player integrated buttons for opening in browser, playing with Kodi, sharing a video
- better background playback that can be activated in settings. Allows to automatically switch to audio-only mode when going to background and then switching to video-mode when returning to the app.
2019-12-30 00:15:01 +03:00
Robin
edd5ad2d13 Migrate to AndroidX 2019-10-04 14:59:08 +02:00
yausername
cc7e21a93b fix scrolling in video detail fragment. fixes #2627 2019-09-29 22:05:29 +05:30
Vasiliy
dccb6f83e5 Fix scrolling details 2019-04-15 21:22:31 +03:00
Vasiliy
2e36b05a50 Implement playback state management 2019-04-13 13:34:36 +03:00
Ritvik Saraf
a00cc3370d fixed scroll w/ comments and related streams disabled 2019-03-03 18:20:15 +05:30
Ritvik Saraf
c04038d310 improved fling behavior, added tab indicator dots, added next video in related videos 2018-10-17 00:23:02 +05:30
Ritvik Saraf
93d12e5bf0 added viewpager. changed from parallaxscrollview to coordinate layout 2018-10-02 20:39:16 +05:30
Ritvik Saraf
c3c6fe2ae3 no comments 2018-09-24 14:53:43 +05:30
Ritvik Saraf
110ad2d71e added comments fragment 2018-09-23 07:02:19 +05:30
Ritvik Saraf
f7eec18dcb added basic/crappy comments support 2018-09-15 17:15:44 +05:30
annoyatron255
2f6dda0b45 Fix #1440 Broken Video Info Layout 2018-06-16 18:12:56 -05:00
Andrei.Rosca
b8592ceb01 Reduce overdraw 2018-05-05 10:26:35 +02:00
Mauricio Colli
bd0979f0b1 Change thumbnail's scale strategy
- Closes #1054
2018-03-10 13:36:50 -03:00
Mauricio Colli
cbc8a3e4fb Add duration view to video detail fragment
- Add "textAllCaps" to the mini stream layout
- Closes #609
2018-03-10 13:20:10 -03:00
Christian Schabesberger
40ccb4518a add header/footer to drawer 2018-02-16 14:45:52 +01:00
Christian Schabesberger
51137159d2 fixed issues from prevoius merge 2018-02-12 00:43:12 +01:00
Christian Schabesberger
8917277030 move download menu item into detail controls menu 2018-02-11 21:34:32 +01:00