WebHitTestResult.contextIsMedia

bool contextIsMedia()

Check whether there is a media element at the hit test position.

Checks whether [webkit.types.HitTestResultContext.Media] flag is present in the context flags.

Returns

true if the hit test covers a media element or false otherwise.