Multi-person YouTube player with chat
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
config
lib
public
routes
views
.env
.gitignore
.nodemonignore
README.md
multitube.sql
package.json
server.js

README.md

MULTITUBE

Youtube Video Chat implementation using Node.js and Socket.io

REQUIREMENTS

INSTALLATION

Install any missing dependencies with:

$ npm install -d

To use MySQL for storage of Video IDs, disable the memory provider and uncomment the mysql provider on top of server.js:

UrlProvider = require('./lib/urlprovider-mysql').UrlProvider

Next, issue the following mysql commands to create the database:

CREATE DATABASE multitube;
GRANT SELECT, INSERT, UPDATE, DELETE ON multitube.* TO 'multitube'@'localhost' IDENTIFIED BY 'pAssw0rd';
GRANT SELECT, INSERT, UPDATE, DELETE ON multitube.* TO 'multitube'@'localhost.localdomain' IDENTIFIED BY 'pAssw0rd';
FLUSH PRIVILEGES;

After that, create the database table:

$ mysql -u root multitube < multitube.sql

RUNNING

$ node server.js

Now open your web browser and visit http://localhost:3000