Index: Source/core/html/HTMLMediaElement.cpp |
diff --git a/Source/core/html/HTMLMediaElement.cpp b/Source/core/html/HTMLMediaElement.cpp |
index f33d4f4bf669bdadb5d36f5458c737eda31a4876..7654844ebaea5524ff86f0576f1e10c929d71837 100644 |
--- a/Source/core/html/HTMLMediaElement.cpp |
+++ b/Source/core/html/HTMLMediaElement.cpp |
@@ -432,7 +432,7 @@ void HTMLMediaElement::parseAttribute(const QualifiedName& name, const AtomicStr |
if (!autoplay() && m_player) |
setPlayerPreload(); |
- } else if (name == mediagroupAttr) { |
+ } else if (name == mediagroupAttr && RuntimeEnabledFeatures::mediaControllerEnabled()) { |
setMediaGroup(value); |
} else { |
HTMLElement::parseAttribute(name, value); |