<script src="script.js"></script> </body> </html> // script.js document.addEventListener('DOMContentLoaded', function() { const videoPlayer = document.getElementById('videoPlayer');