diff options
Diffstat (limited to 'WebCore/html/HTMLMediaElement.cpp')
-rw-r--r-- | WebCore/html/HTMLMediaElement.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/WebCore/html/HTMLMediaElement.cpp b/WebCore/html/HTMLMediaElement.cpp index 7c061d0..8af8927 100644 --- a/WebCore/html/HTMLMediaElement.cpp +++ b/WebCore/html/HTMLMediaElement.cpp @@ -170,6 +170,10 @@ HTMLMediaElement::HTMLMediaElement(const QualifiedName& tagName, Document* docum LOG(Media, "HTMLMediaElement::HTMLMediaElement"); document->registerForDocumentActivationCallbacks(this); document->registerForMediaVolumeCallbacks(this); +#if PLATFORM(ANDROID) && ENABLE(TOUCH_EVENTS) + // Enable the Media Element to listen to all the touch events + document->addListenerTypeIfNeeded(eventNames().touchstartEvent); +#endif } HTMLMediaElement::~HTMLMediaElement() |