One place java framework for all your needs.
<iframe width="560"
height="315"
src="https://www.youtube.com/embed/eIrMbAQSU34?si=i8v-xOP6MtSz0dCB"
title="YouTube video player"
frameborder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
<script type="text/javascript">
var divElement = document.getElementById('h129876543210');
</script>