In this video I will show you How to Add Timestamps To Embedded YouTube Videos.
The great thing about this code is you can use it on any type of website, so this isn’t just limited to WordPress websites. You can use this code anywhere you can enable Javascript on the page.
Elementor (Affiliate Link):
https://trk.elementor.com/4776
YouTube Javascript Code
HTML Code
CSS Code
.responsive-container {
position: relative;
padding-bottom: 56.25%; /* 16:9 */
padding-top: 0px;
height: 0;
overflow: hidden;
}
.responsive-container iframe,
.responsive-container object,
.responsive-container embed,
.responsive-container video
{
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}