| Index: third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp b/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
|
| index ed596d00d9df66b3052914fec0e6c9c47b0352e2..a73f6a0f70b68bac03cdee412eb07269ac935c11 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
|
| @@ -3710,7 +3710,8 @@ bool HTMLMediaElement::isGestureNeededForPlayback() const
|
| // - the flag is enabled;
|
| // - Data Saver is not enabled;
|
| // - Autoplay is enabled in settings;
|
| - if (muted()
|
| + if (isHTMLVideoElement()
|
| + && muted()
|
| && RuntimeEnabledFeatures::autoplayMutedVideosEnabled()
|
| && !(document().settings() && document().settings()->dataSaverEnabled())
|
| && isAutoplayAllowedPerSettings()) {
|
|
|