Selfhosted Youtube player which removes tracking and ads
FrankG c3474eddb5 new CSS | пре 6 година | |
---|---|---|
LICENSE | пре 6 година | |
README.md | пре 6 година | |
dm.php | пре 6 година | |
footer.php | пре 6 година | |
header.php | пре 6 година | |
holaplayer.js | пре 6 година | |
index.php | пре 6 година | |
robots.txt | пре 6 година | |
videolist.php | пре 6 година | |
videoplayer.php | пре 6 година | |
youpster.css | пре 6 година | |
ytclass.php | пре 6 година |
Youpster is a small Youtube player you can host on your own server. It loads media files directly from Youtube what is often required for copyright reasons but it uses a native HTML5 media object which doesn't track you that much and does not display any ads. Of course it can't prevent Google from getting your IP address and your useragent but they DO NOT get your clicks, mouse moves or other data which is not sent by a basic HTTPS request. It works similar to https://invidio.us but you can only watch videos or listen to music videos here which the owner of the YouPlay site added manually to the database. You'll see in the names of the MySQL columns that it's originally meant for music videos but it will work with every other video, too.
Upload it, add your MySQL connection to the config variables in index.php and run the following SQL commands. This will create the YouPlay table and add some example music videos.
-- Adminer 4.3.1 MySQL dump
SET NAMES utf8;
SET time_zone = '+00:00';
SET foreign_key_checks = 0;
SET sql_mode = 'NO_AUTO_VALUE_ON_ZERO';
CREATE TABLE `youplay` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`artist` varchar(255) NOT NULL,
`title` varchar(255) NOT NULL,
`watchid` varchar(20) NOT NULL,
`genre` varchar(20) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=latin1;
INSERT INTO `youplay` (`id`, `artist`, `title`, `watchid`) VALUES
(1, 'Helene Fischer', 'Atemlos durch die Nacht', '2czABFw6RnE', 'Pop'),
(2, 'Helene Fischer', 'Hallelujah', 'I234Q56Ra9w', 'Pop'),
(3, 'Helene Fischer', 'The Power Of Love', 'F3lUpJGSnw4', 'Pop'),
(4, 'Helene Fischer', 'I will always love you', 'wjHRqE0FXSE', 'Pop');
-- 2018-12-10 08:00