Index: Source/core/html/HTMLVideoElement.cpp |
diff --git a/Source/core/html/HTMLVideoElement.cpp b/Source/core/html/HTMLVideoElement.cpp |
index c79385ac73716009188b765efaaf9da9f2459b75..ad4900616cf6a72cdd017564d027b631f4b1481a 100644 |
--- a/Source/core/html/HTMLVideoElement.cpp |
+++ b/Source/core/html/HTMLVideoElement.cpp |
@@ -113,6 +113,9 @@ void HTMLVideoElement::parseAttribute(const QualifiedName& name, const AtomicStr |
if (renderer()) |
toRenderImage(renderer())->imageResource()->setImageResource(0); |
} |
+ // Notify the player when the poster image URL changes. |
+ if (player()) |
+ player()->setPoster(posterImageURL()); |
} else |
HTMLMediaElement::parseAttribute(name, value); |
} |