Some fixes
This commit is contained in:
parent
1cddf26c9a
commit
4fd8d42d85
|
@ -1317,7 +1317,17 @@ public class PeertubeActivity extends AppCompatActivity implements CommentListAd
|
|||
});
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Manage video to play with different factors
|
||||
*
|
||||
* @param video VideoData.Video
|
||||
* @param localTorrentUrl String if not null that will be used
|
||||
* @param resolution String the current resolution asked
|
||||
* @param autoPlay boolean
|
||||
* @param position int current position
|
||||
* @param subtitles Uri uri for subtitles
|
||||
* @param lang String ("en","fr", etc.)
|
||||
*/
|
||||
private void stream(VideoData.Video video, String localTorrentUrl, String resolution, boolean autoPlay, long position, Uri subtitles, String lang) {
|
||||
String videoURL = localTorrentUrl == null ? video.getFileUrl(resolution, PeertubeActivity.this) : localTorrentUrl;
|
||||
SharedPreferences sharedpreferences = getSharedPreferences(Helper.APP_PREFS, MODE_PRIVATE);
|
||||
|
|
Loading…
Reference in New Issue