We may earn an affiliate commission when you visit our partners.
Course image
Udemy logo

Make a YouTube Clone from Scratch

JavaScript PHP and MySQL

Reece Kenney

Do you want to become an expert in JavaScript, PHP and MySQL?

Do you want to build a real video upload site just like YouTube?

If so, you’re in the right place. This course will guide you step by step in creating your own YouTube clone

Read more

Do you want to become an expert in JavaScript, PHP and MySQL?

Do you want to build a real video upload site just like YouTube?

If so, you’re in the right place. This course will guide you step by step in creating your own YouTube clone

We’re talking the kind of website that will amaze anybody that sees it. The kind of website that will get you hired in no time.

Why let me teach you?

I work as a Software Engineer at Microsoft where I build products used by millions of people all over the world. I want to take the skills I’ve gained through years of working with some of the best developers in the world and transfer them directly to you.

I’ve taught thousands of students here on Udemy and created some of the most popular development courses on Udemy.

Okay so what’s the course about?

I will personally guide you, step by step, in creating your own video upload site just like YouTube complete with:

  • video upload

  • video thumbnail generation

  • server side video conversion

  • full video player

  • likes + dislikes on videos

  • full comment system with likes/dislikes, replies etc.

  • video details editing

  • account creation

  • and much more.

Whether you are a complete beginner* or an experienced programmer, this course will be massively beneficial to you.

Why should I take the course?

In the programming world, the “big 4” often consists of Google, Microsoft, Facebook and Amazon. To get a job at any of these companies, you absolutely MUST know the essentials:

If you take this course, you will have nothing to worry about because we use all of these skills extensively.

Support:

By enrolling in this course, you will have the I'm always ready to answer any question you may have. Programming issues, errors, feature requests, general programming advice - it doesn't matter, I'm always happy to help. I always aim to respond to questions within a few hours and it's also worth noting that I've answered

Future course discounts:

By enrolling in this course, you will get access to ALL of my current and future courses for the lowest possible discount we as instructors are capable of offering on Udemy - FOREVER.

Project portfolio:

The site you create in this course will be the highlight of your project portfolio. Any potential employer who see's this project on your resume will want to hear all about it. The reason? They know that a project like this means you're familiar with the wide range of technical skills they need their employees to know.

Fun.

Finally, this project is a lot of fun and I know you'll have a great time implementing your own unique ideas as well as the ones we implement together. What are you waiting for?

Enroll now

What's inside

Learning objectives

  • Program with an object oriented approach
  • Handle data submissions using php and insert into mysql databases

Syllabus

Introduction
Site demo (as seen on course home page)
Installing Xampp - Mac / Linux
Installing Xampp - Windows
Read more
Installing a text editor
Creating our index page
Adding real content to our index page
Create a site with navigation bars on the top and on the side
Styling the top navigation bar
Styling the side navigation bar
Styling the main container
Creating our JavaScript file
Showing and hiding the left nav bar
Menu icon - How to get 70,000+ FREE icons
Site logo
Creating the search bar
Styling the search bar
Upload and profile buttons
Moving the nav bar code to another file
Create an HTML form which allows users to upload a video file
Creating the column element
Creating the file input
Creating the title and description inputs
Creating the privacy input
Creating the categories MySQL table
Connecting to our database with PHP
Retrieving the categories from the table
Class constructors
Creating the categories dropdown
Creating the upload button
Upload videos and convert them to any file type they like
Creating the processing page
Video upload data class
Calling the upload function
Temporary file path for the video
Checking the size of the uploaded video
Checking the file type of the uploaded video
Moving the video to a temporary location
Creating the final file path
Inserting the video data into the table
Installing FFmpeg
FFmpeg demo (just watch)
Converting the video to MP4 server side
Restart Xampp after changing php.ini
Trying out the video conversion + BUG FIX FOR MACS
Deleting the original video file
Creating the video thumbnails table
Getting the video duration
Formatting the video duration string
Inserting the formatted duration to the table
Generating the thumbnail images
Showing a loading spinner on upload
Create forms allowing the user to sign up and sign in
Creating the sign up page structure
Styling the page foundation
Styling the form header
Adding our form inputs
Styling the form inputs
Styling the sign in message
Creating the sign in form
Testing the form submission
Into to sanitizing form data
Form sanitizer class
Finishing the sanitizing functions
Creating the Account class
Starting our validation functions
Outputting error messages
Validating the last name
Validating the username
Creating the users table
Validating the email address
Validating the password
What to do when data is valid
Remembering last entered values
Password hashing
Inserting the user's data into the table
Setting the session variable
Remembering the entered username
Checking if the login form was submitted
Logging in
Create a video player which users can use to watch videos
Creating the User class
Creating the User class functions
Adding username to upload
Taking the video ID from the url
Creating the Video class
Creating the Video class functions
Increasing the view count for the video
Outputting the video player
Setting the size of the video player
Like and dislike videos using ajax calls
Video info section class
Styling the video info section
Creating the video info controls class
Creating the button provider class
Like button provider values
Creating the likes table
Video player actions JS file
Introduction to ajax calls
Passing data in the ajax request

Good to know

Know what's good
, what to watch for
, and possible dealbreakers
Develops the full stack with JavaScript, PHP, and MySQL
Guides learners through building a full-fledged video upload platform akin to YouTube
Taught by a seasoned Software Engineer at Microsoft, with extensive industry experience
Covers essential skills for landing roles at tech giants like Google, Amazon, and Meta
Provides comprehensive support from the instructor, including timely responses to inquiries
Enrolls students in all current and future courses by the instructor at discounted rates

Save this course

Save Make a YouTube Clone from Scratch: JavaScript PHP and MySQL to your list so you can find it easily later:
Save

Activities

Be better prepared before your course. Deepen your understanding during and after it. Supplement your coursework and achieve mastery of the topics covered in Make a YouTube Clone from Scratch: JavaScript PHP and MySQL with these activities:
Find a mentor who can provide guidance and support
A mentor can provide you with valuable advice and support, and help you stay on track with your learning.
Show steps
  • Identify a potential mentor
  • Reach out to your mentor
  • Set up a regular meeting schedule
Read 'PHP and MySQL for Dynamic Web Sites: Visual QuickPro Guide' by Larry Ullman
This book will provide you with a comprehensive overview of PHP and MySQL and help you understand how to use them to create dynamic websites.
Show steps
  • Read Chapters 1-3
  • Complete the exercises in Chapters 1-3
  • Read Chapters 4-6
  • Complete the exercises in Chapters 4-6
Review basic PHP and JavaScript
Review the basics of PHP and JavaScript to ensure you have a strong foundation for learning how to create a YouTube clone.
Browse courses on PHP
Show steps
  • Review basic PHP syntax
  • Practice writing PHP functions
  • Review basic JavaScript syntax
  • Practice writing JavaScript functions
Five other activities
Expand to see all activities and additional details
Show all eight activities
Complete the 'PHP and MySQL Tutorial' on W3Schools
This tutorial will provide you with a hands-on introduction to PHP and MySQL and teach you how to use them to create a basic website.
Browse courses on PHP
Show steps
  • Read through the tutorial
  • Complete the exercises in the tutorial
  • Create a simple website using the skills you learned
Complete the 'PHP and MySQL Practice Drills' on Codecademy
These practice drills will help you solidify your understanding of PHP and MySQL and prepare you for the more complex tasks involved in creating a YouTube clone.
Browse courses on PHP
Show steps
  • Complete the 'PHP Basics' drills
  • Complete the 'MySQL Basics' drills
  • Complete the 'PHP and MySQL Integration' drills
Create a simple website using PHP and MySQL
This project will allow you to apply the skills you have learned in the course to create a functional website.
Browse courses on PHP
Show steps
  • Plan your website
  • Create a database
  • Write the PHP code
  • Design the website
  • Test your website
Start a project to create a more complex website using PHP and MySQL
This project will allow you to further develop your skills and create a more sophisticated website.
Browse courses on PHP
Show steps
  • Choose a project idea
  • Plan your project
  • Create a database
  • Write the PHP code
  • Design the website
  • Test your website
Mentor other students who are learning PHP and MySQL
Mentoring others can help you solidify your own understanding of the material and develop your leadership skills.
Show steps
  • Identify a student who could benefit from your help
  • Offer to mentor the student
  • Set up a regular meeting schedule

Career center

Learners who complete Make a YouTube Clone from Scratch: JavaScript PHP and MySQL will develop knowledge and skills that may be useful to these careers:

Reading list

We haven't picked any books for this reading list yet.

Share

Help others find this course page by sharing it with your friends and followers:

Similar courses

Here are nine courses similar to Make a YouTube Clone from Scratch: JavaScript PHP and MySQL.
YouTube SEO: How to Create, Rank & Profit From YouTube...
How to Create Animated Videos with Powerpoint
How To Edit Viral Shorts In CapCut
YouTube Videos That Sell + ChatGPT Prompts
OBS Studio - Ultimate Livestreaming Guide to OBS Studio
Adobe Premiere Pro CC 2024: Beginner Video Editing
Create Animated Explainer Videos with PowerPoint
YouTube Ads: Step By Step Guide To YouTube Ads That...
How To VLOG on YouTube! Create, Edit, & Publish Your...
Our mission

OpenCourser helps millions of learners each year. People visit us to learn workspace skills, ace their exams, and nurture their curiosity.

Our extensive catalog contains over 50,000 courses and twice as many books. Browse by search, by topic, or even by career interests. We'll match you to the right resources quickly.

Find this site helpful? Tell a friend about us.

Affiliate disclosure

We're supported by our community of learners. When you purchase or subscribe to courses and programs or purchase books, we may earn a commission from our partners.

Your purchases help us maintain our catalog and keep our servers humming without ads.

Thank you for supporting OpenCourser.

© 2016 - 2024 OpenCourser