A
A
Andrey M2014-07-11 16:55:32
Android
Andrey M, 2014-07-11 16:55:32

How to remove HTML5 video player context menu in Android WebView?

WebView (photo and video text) is used to display some content.
The video is playing. But at the same time, a context menu is displayed on the screen all the time, which moves to the place of the last tap.

Menu itself:
dd7e99cffeb649829de1d4cfb5f753e7.png

Video code from HTML:

<div class="field field-name-body field-type-text-with-summary field-label-hidden">
<div class="field-items">
<div class="field-item even">
<p>
<iframe allowfullscreen="" frameborder="0" height="480" src="http://www.youtube.com/embed/C5710DAvhV4" width="640">
</iframe>
</p> 
</div>
</div>
</div>


WebView with JavaScript support and standard Web clients.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question