Allow media to be played automatically #1153
No reviewers
Labels
No labels
android: closed alpha
android: open beta
app-parity
area: devops
area: discovery
area: docs
area: livestream
area: proposal
consider soon
creator
Epic
good first issue
hacktoberfest
help wanted
icebox
Invalid
level: 1
level: 2
level: 3
level: 4
needs: exploration
needs: grooming
needs: priority
needs: repro
needs: tech design
on hold
priority: blocker
priority: high
priority: low
priority: medium
product review
resilience
Tom's Wishlist
type: bug
type: discussion
type: improvement
type: new feature
type: refactor
type: task
type: testing
unplanned
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: LBRYCommunity/lbry-android#1153
Loading…
Reference in a new issue
No description provided.
Delete branch "autoplay-setting"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.
Looks good.