This project is a YouTube clone built using HTML, CSS, JavaScript, PHP, and MySQL. You can set it up locally using XAMPP. Ensure you download ffmpeg
as it is required to get the duration and thumbnails of the videos. Make sure to update the path for ffmpeg
wherever required.
- Install XAMPP on your local machine.
- Download
ffmpeg
and ensure it is accessible in your system's PATH. - Create a folder named
videos
in the root directory of the project. - Inside the
videos
folder, create another folder namedthumbnails
. - Clone or download the project files into your XAMPP's
htdocs
directory. - Start the Apache and MySQL servers using XAMPP Control Panel.
- Import the provided MySQL database into your local MySQL server.
- Update the database configuration in the PHP files (
db.php
,video.php
, etc.) with your MySQL credentials. - You may need to configure the
.htaccess
file to enable clean URLs (if applicable). - Access the website in your browser to view the YouTube clone.
For an overview of the website and its features, check out this YouTube Video.