Some improvements
This commit is contained in:
parent
253b61fb11
commit
c4e85a7161
|
@ -4,7 +4,13 @@ Added:
|
||||||
- Incognito: Enable/disable reccords in history
|
- Incognito: Enable/disable reccords in history
|
||||||
- Video suggestions
|
- Video suggestions
|
||||||
- Enable/Disable playback when screen is off (default: disabled)
|
- 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:
|
Fix:
|
||||||
- Enable to end playing with top back button
|
- 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) {
|
if( player != null) {
|
||||||
updateHistory(player.getCurrentPosition()/1000);
|
updateHistory(player.getCurrentPosition()/1000);
|
||||||
}
|
}
|
||||||
if (player != null && !isPlayInMinimized) {
|
if (player != null && (!isPlayInMinimized || !playInMinimized)) {
|
||||||
final SharedPreferences sharedpreferences = getSharedPreferences(Helper.APP_PREFS, MODE_PRIVATE);
|
|
||||||
if( !sharedpreferences.getBoolean(getString(R.string.set_play_screen_lock_choice), false)) {
|
|
||||||
player.setPlayWhenReady(false);
|
player.setPlayWhenReady(false);
|
||||||
}
|
}else if (playInMinimized) {
|
||||||
|
enterVideoMode();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue