Video Sharing Website using PHP/MySQLi with Source Code
Description
The Video Sharing Website is a basic PHP/MySQLi project that allows website users to upload videos for online sharing. This project draws inspiration from YouTube, one of the most well-known and widely used video-sharing websites (YT).
About the System
Register. The user must register on this system in order to upload and exchange video clips.
Upload. When uploading a video or clip on the website, the user should navigate their page to the “My Uploads” page which displays a list of all videos they have posted. The upload form will then open up after the user clicks the “Upload” button in the page’s upper right corner. This feature and some of the User Interface are still influenced by YouTube and are simple to use.
Note that the user must submit the form by clicking the “Upload” button on the upload modal before the user’s chosen video is automatically uploaded to the website. When the user selects the video to upload, the chosen video or clip has a preview area that is located at the right side of the upload modal.
Add a Thumbnail. The user can also add a thumbnail or poster image for the clip to display.
Count the Views. The system also tracks the number of times each user’s clip is viewed by other users or website visitors.
System Snapshot and Description of Features
Home Page. This is the page where the system users and website visitors will be redirected by default when browsing the video-sharing website. This page displays all the uploaded clip or videos on the website.
Login Modal. This is the popup modal where the system users submit their system credentials to access the data and functionalities of the Video Sharing Website.
Signup Page. This is the page where the new users create their account.
My Uploads Page. This is the page where uploaded clips and videos of the user listed and managed.
Upload Modal. This is the popup modal where the users upload their new clip and also when updating their uploaded or posted videos.
Search box. This is the input box located at the top navigation bar of the page where the users or visitors enter keywords when looking or searching for a specific clip or video.
The Video Sharing Website was developed using HTML, PHP/MySQLi, CSS, JavaScript (jQuery/Ajax), and Bootstrap for the design. The source code is fully functional and easy to modify or enhance.
Follow the instruction below to have an actual experience using this simple project.
How to Run
- Download the source code and extract the zip file.
- Download or set up any local web server that runs PHP script.
- Open the web-server database and create a new database name it vss_db.
- Import the SQL file located in the database folder of the source code.
- Copy and paste the source code to the location where your local web server accessing your local projects. Example for XAMPP(‘C:\xampp\htdocs’)
- Open a web browser and browse the project. http://localhost/video_sharing
Sample User Access
Email: jsmith@sample.com
Password: jsmith123
Feel free to download and modify the source code.
Enjoy!
Download Now
when the user signs up the password in the mysqli data base saves the password as the actual password and not the md5 format. I looked at the code several times and cannot figure out why the signup page and admin_class do not save in the md5 format for the password in the database. New users are logged in when they sign up but after they log out they cannot log back in because the call is up against the md5 requirement.
If the user remains logged in after signing up and attempts to update their account the password blocks yields the same result.
If you run the script from the zip folder, it comes with users. The first two users sql password are md5. the last users password is displayed without md5. I am interested in seeing this work the right way. Any help would be great.
Facing Same Issue..!