Skip to content

Commit

Permalink
Merge pull request #324 from BloomBooks/BL12299_HideAndroidPlayPause
Browse files Browse the repository at this point in the history
fix: Hide native play/pause button for videos on Android (BL-12299) (#324)
  • Loading branch information
JohnThomson authored Sep 23, 2024
2 parents 0b6e40b + b51c477 commit 124f0f8
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/bloom-player-ui.less
Original file line number Diff line number Diff line change
Expand Up @@ -439,3 +439,10 @@ body,
font-size: 9pt;
word-wrap: break-word; // error details may contain a very long URL with no spaces; we want to see all of it.
}

// Hide the native play/pause button on Android.
// Otherwise, it becomes redundant with the replay button we add ourselves.
// See BL-12299.
video::-webkit-media-controls-overlay-play-button {
display: none;
}

0 comments on commit 124f0f8

Please sign in to comment.