I'm looking to customize the play button on a video displayed through an iframe on my website.
Here is the code snippet I've been working with:
.ytp-cued-thumbnail-overlay-image {
background: url(https://www.example.com/images/video-play-button.jpg);
}
button.ytp-large-play-button.ytp-button {
z-index: -1 !important;
}
<iframe width="420" height="345" src="https://www.youtube.com/embed/XGSy3_Czz8k"></iframe>
Is there a way to apply a custom background image and modify the play button styling as desired?