Index: Source/core/html/shadow/MediaControls.cpp |
diff --git a/Source/core/html/shadow/MediaControls.cpp b/Source/core/html/shadow/MediaControls.cpp |
index 1b1a234275e528d7ea759827b70eb757ce30ff7e..da85c339edcb67a3f936b61aa38a542b4bd2217f 100644 |
--- a/Source/core/html/shadow/MediaControls.cpp |
+++ b/Source/core/html/shadow/MediaControls.cpp |
@@ -209,7 +209,7 @@ void MediaControls::makeTransparent() |
bool MediaControls::shouldHideMediaControls() |
{ |
- return !m_panel->hovered(); |
+ return !m_panel->hovered() && mediaElement().hasVideo(); |
} |
void MediaControls::playbackStarted() |