Context menu shows audio if video has no video track but an audio track.
This makes sure Picture-in-Picture context menu does not show at all (instead of disabled) for video elements with audio track only (e.g. MediaDocument). It also shows audio related items such as "Open audio in new tab" insteaad of "Open video in new tab" for these cases. Screenshots: https://imgur.com/a/1d1UNrg Bug: 806249 Change-Id: I6341f476557389521ab2b6f21e53c2bd6a5df34d Reviewed-on: https://chromium-review.googlesource.com/1096759 Commit-Queue: François Beaufort <beaufort.francois@gmail.com> Reviewed-by:Mounir Lamouri <mlamouri@chromium.org> Reviewed-by:
Jochen Eisinger <jochen@chromium.org> Cr-Commit-Position: refs/heads/master@{#567177}
Showing
Please register or sign in to comment