Skip to content
This repository has been archived by the owner on Jan 4, 2019. It is now read-only.

Don't check autoplay setting when play is trigger by user gesture #264

Merged
merged 1 commit into from
Aug 4, 2017

Conversation

darkdh
Copy link
Member

@darkdh darkdh commented Jul 26, 2017

@darkdh darkdh self-assigned this Jul 26, 2017
@darkdh darkdh added this to the 5.0.0 milestone Jul 26, 2017
@bridiver
Copy link
Collaborator

5.0 is the correct milestone for this?

@darkdh
Copy link
Member Author

darkdh commented Jul 28, 2017

because 4.4.4 has been released so I chose the next available milestone.
It is for browser-laptop 0.20.x

bsclifton
bsclifton previously approved these changes Aug 1, 2017
Copy link
Member

@bsclifton bsclifton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Patches LGTM 👍

presentation_receiver(false),
media_controls_enabled(true),
do_not_update_selection_on_mutating_selection_range(false),
-#if defined(OS_ANDROID)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you set these with MUON_CHROMIUM_BUILD?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, doing it now

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

changes pushed

media_controls_enabled(true),
do_not_update_selection_on_mutating_selection_range(false),
-#if defined(OS_ANDROID)
+#if defined(OS_ANDROID) || defined(MUON_CHROMIUM_BUILD)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MUON_CHROMIUM_BUILD is not defined for our builds, it is only defined when building Chromium. Is that correct here?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the name is probably a little confusing, the MUON_ is just a prefix

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, I was confused by the prefix. And it has the opposite behavior

@bridiver bridiver merged commit 6348307 into master Aug 4, 2017
bridiver added a commit that referenced this pull request Aug 4, 2017
Don't check autoplay setting when play is trigger by user gesture
bridiver added a commit that referenced this pull request Aug 4, 2017
Don't check autoplay setting when play is trigger by user gesture
bridiver added a commit that referenced this pull request Aug 4, 2017
Don't check autoplay setting when play is trigger by user gesture
bridiver added a commit that referenced this pull request Aug 4, 2017
Don't check autoplay setting when play is trigger by user gesture
@bsclifton bsclifton deleted the autoplay_refactor branch June 18, 2018 18:10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

autoplay block shouldn't weigh in once users start playing media
3 participants