diff --git a/app/src/fdroid_full/play/release-notes/en-US/default.txt b/app/src/fdroid_full/play/release-notes/en-US/default.txt index b5a6a55..546b105 100644 --- a/app/src/fdroid_full/play/release-notes/en-US/default.txt +++ b/app/src/fdroid_full/play/release-notes/en-US/default.txt @@ -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 \ No newline at end of file +- Fix FP message with token +- Share the page on Peertube and not the video file. \ No newline at end of file diff --git a/app/src/main/java/app/fedilab/fedilabtube/PeertubeActivity.java b/app/src/main/java/app/fedilab/fedilabtube/PeertubeActivity.java index 8b514fd..0fbd49e 100644 --- a/app/src/main/java/app/fedilab/fedilabtube/PeertubeActivity.java +++ b/app/src/main/java/app/fedilab/fedilabtube/PeertubeActivity.java @@ -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(); } }