Some improvements
This commit is contained in:
parent
253b61fb11
commit
c4e85a7161
|
@ -4,7 +4,13 @@ Added:
|
|||
- Incognito: Enable/disable reccords in history
|
||||
- Video suggestions
|
||||
- Enable/Disable playback when screen is off (default: disabled)
|
||||
- Add support for Torrent URLs
|
||||
|
||||
Changed:
|
||||
- Video mode (Normal, webview, magnet and torrent)
|
||||
- Accept URLs for instances
|
||||
|
||||
Fix:
|
||||
- Enable to end playing with top back button
|
||||
- Fix FP message with token
|
||||
- Fix FP message with token
|
||||
- Share the page on Peertube and not the video file.
|
|
@ -1073,11 +1073,10 @@ public class PeertubeActivity extends AppCompatActivity implements CommentListAd
|
|||
if( player != null) {
|
||||
updateHistory(player.getCurrentPosition()/1000);
|
||||
}
|
||||
if (player != null && !isPlayInMinimized) {
|
||||
final SharedPreferences sharedpreferences = getSharedPreferences(Helper.APP_PREFS, MODE_PRIVATE);
|
||||
if( !sharedpreferences.getBoolean(getString(R.string.set_play_screen_lock_choice), false)) {
|
||||
player.setPlayWhenReady(false);
|
||||
}
|
||||
if (player != null && (!isPlayInMinimized || !playInMinimized)) {
|
||||
player.setPlayWhenReady(false);
|
||||
}else if (playInMinimized) {
|
||||
enterVideoMode();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue