This project is a simple HTML page that embeds a YouTube video with autoplay, mute, and loop functionality, created using the guide provided by Coddy.tech. The video plays without controls and is optimized for a responsive layout.
- Autoplay: The video starts playing as soon as the page loads.
- Muted: The video is muted by default.
- Looped Playback: The video repeats automatically.
- No Controls: Video player controls are hidden.
- Responsive: The video scales to fit different screen sizes.
- index.html: Contains the HTML structure of the YouTube video player.
To view the project:
- Download or clone the repository.
- Open the
index.htmlfile in a web browser to see the video player in action.
To embed a different YouTube video, replace the video ID in the src URL within index.html:
src="https://www.youtube.com/embed/YOUR_VIDEO_ID?controls=0&loop=1&playlist=YOUR_VIDEO_ID&mute=1&autoplay=1"If you'd like to modify the video player:
- Change the
widthandheightattributes in the<iframe>tag for different dimensions. - Update the
autoplay,mute, orcontrolsparameters in the URL to adjust the behavior.
This project was built using the guide provided by Coddy.tech. The original project can be found here.