This project is a web application that allows users to play multiple instances of a YouTube video at the same time. Users can specify the YouTube video link and the number of players they want, and the application will display the specified number of video players for that link.
- YouTube Video Link Input: Users can paste a YouTube video link into the provided input field.
- Multiple Video Players: Users can specify how many instances of the video they want to play simultaneously.
- User-Friendly Interface: Simple and clean UI for easy interaction.
- Open the application.
- Paste a YouTube video link into the "YouTube Video Link" input field.
- Specify the number of players using the input box labeled "Number of Players."
- Click on the "Play Videos" button to see multiple players with the chosen video.
To run the application locally, follow these steps:
-
Clone this repository:
git clone https://github.com/arpan8925/Iframe-Video-Player.git
-
Start your XAMPP server and ensure Apache is running.
-
Place the project files in the appropriate directory (e.g.,
htdocs
for XAMPP). -
Open your browser and navigate to
http://localhost/youtube-video-player
to use the application.
├── index.php
├── css/
│ └── styles.css
└── js/
└── player.js
- index.php: Main server-side script used for loading and handling video player logic.
- css/styles.css: Contains the styles used for the user interface.
- js/player.js: Contains JavaScript code to handle video playback.
- YouTube IFrame API: Used to embed and control YouTube video playback.
This project is open source and available under the MIT License.
Contributions are welcome! If you have any ideas or suggestions, feel free to open an issue or submit a pull request.
If you have any questions or issues, feel free to reach out:
- Email: [email protected]
- GitHub: Your GitHub Profile
Thank you for checking out this project! Feel free to clone, fork, and contribute as you see fit.