Skip to content

A simple, responsive YouTube video player with autoplay, mute, and loop features. Created using a guide by Coddy.tech, this project demonstrates embedding videos in HTML with a minimalist, responsive layout.

Notifications You must be signed in to change notification settings

BrunoRTech/YouTube-Video-Player

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

YouTube Video Player

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.

Features

  • 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.

File Structure

  • index.html: Contains the HTML structure of the YouTube video player.

Usage

To view the project:

  1. Download or clone the repository.
  2. Open the index.html file in a web browser to see the video player in action.

Changing the Embedded Video

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"

Customization

If you'd like to modify the video player:

  • Change the width and height attributes in the <iframe> tag for different dimensions.
  • Update the autoplay, mute, or controls parameters in the URL to adjust the behavior.

Acknowledgment

This project was built using the guide provided by Coddy.tech. The original project can be found here.

About

A simple, responsive YouTube video player with autoplay, mute, and loop features. Created using a guide by Coddy.tech, this project demonstrates embedding videos in HTML with a minimalist, responsive layout.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages