[Title] Video pause button does not work in video streaming from nytimes.com
[Problem] N_SE-51786
[Cause] click event didn't occured cause preventDefault() method in javascript
[Solution] Add touch event handler for handling touch event in media control element
Change-Id: I7543a4193312bc5276038972b7c1e7dc537d8e74
void MediaControlElement::show()
{
+ document()->didAddTouchEventHandler();
+ document()->addListenerType(Document::TOUCH_LISTENER);
removeInlineStyleProperty(CSSPropertyDisplay);
}
void MediaControlElement::hide()
{
+ document()->didRemoveTouchEventHandler();
setInlineStyleProperty(CSSPropertyDisplay, CSSValueNone);
}