Closed kekkyojin closed 3 years ago
Please check all that apply to this PR using "x":
What kind of change does this PR introduce?
Issue Number: #844
Video and audio content plays automatically when shown on the detail view
By default, content will still play when opened, but user will be able to disable the autoplay of media.
This PR changes some methods which have been deprecated for ExoPlayer2 API.
A new string has been added for the setting string which is shown on Settings fragment. Translation will be needed. String was copied from LBRY.TV
I have been testing it this way:
This was tested with default setting (=true) and then repeated, with different files or after clearing cache, with setting set to false.
PR Checklist
Please check all that apply to this PR using "x":
PR Type
What kind of change does this PR introduce?
Fixes
Issue Number: #844
What is the current behavior?
Video and audio content plays automatically when shown on the detail view
What is the new behavior?
By default, content will still play when opened, but user will be able to disable the autoplay of media.
Other information
This PR changes some methods which have been deprecated for ExoPlayer2 API.
A new string has been added for the setting string which is shown on Settings fragment. Translation will be needed. String was copied from LBRY.TV
Testing
I have been testing it this way:
This was tested with default setting (=true) and then repeated, with different files or after clearing cache, with setting set to false.