I have a dilemma with hiding the default play button in the center of my video. Even though I have a custom play button, the native play button is still showing underneath it on tablets and mobile devices. Unfortunately, I am unable to access the CSS for it using either
::--webkit-media-controls-play-button
or ::-webkit-media-controls-start-playback-button
.
I'm facing a similar challenge as described in this Stack Overflow post but I haven't been able to find a suitable solution yet.
The CSS snippet provided below will hide all controls, which does work, however, I specifically want to only hide the play button:
video::-webkit-media-controls{
display: none;
-webkit-appearance: none;
}
Does anyone have any suggestions?