1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 09:49:28 +02:00
No description
Find a file
2023-02-17 11:03:28 -03:00
.github Bump docker/build-push-action from 3 to 4 2023-02-06 09:07:07 +00:00
.vscode Update 2022-12-02 19:07:01 -03:00
admin https://github.com/WWBN/AVideo/issues/7671 2023-02-17 10:29:11 -03:00
deploy Fix docker-compose bugs 2022-07-04 13:55:12 +09:00
feed https://github.com/WWBN/AVideo/issues/7394 2022-11-19 17:45:17 -03:00
install Improve query cache 2023-02-15 11:06:33 -03:00
locale Update ru.php 2023-02-17 17:21:19 +09:00
node_modules add p2p support for HLS https://github.com/Novage/p2p-media-loader 2023-02-13 14:41:08 -03:00
objects https://github.com/WWBN/AVideo/issues/7676 2023-02-17 10:54:45 -03:00
plugin https://github.com/WWBN/AVideo/issues/7671 2023-02-17 10:29:11 -03:00
storage/data Noving composer into vendor folder 2021-10-05 11:42:35 -03:00
updatedb https://github.com/WWBN/AVideo/security/advisories/GHSA-pgvh-p3g4-86jw 2023-01-31 15:54:03 -03:00
vendor Remove unused binary 2023-02-17 11:03:28 -03:00
view Chartjs fix 2023-02-17 09:50:05 -03:00
workbox-v6.5.3 Add strategy a local file 2022-07-24 00:20:47 -03:00
.editorconfig Noving composer into vendor folder 2021-10-05 11:42:35 -03:00
.gitattributes Fix typo. 2022-07-04 23:55:13 +08:00
.gitignore Updates 2022-12-30 10:06:43 -03:00
.gitmodules Avoid submodule error 2022-09-13 22:01:29 -03:00
.htaccess Login updates 2022-12-29 10:57:01 -03:00
_config.yml Fix line endings and add a .gitattributes file. 2022-07-04 23:48:34 +08:00
CNAME Update CNAME 2020-10-05 11:07:31 -04:00
composer.json Bump stripe/stripe-php from 9.9.0 to 10.0.0 2022-11-21 09:28:02 +00:00
composer.lock Update Composer dependencies. 2023-02-15 23:36:22 +08:00
docker-compose.yml Update not found image 2023-02-10 21:57:58 -03:00
Dockerfile Update not found image 2023-02-10 21:57:58 -03:00
env.example Noving composer into vendor folder 2021-10-05 11:42:35 -03:00
git.json.php https://github.com/WWBN/AVideo/issues/6345#issuecomment-1067056556 2022-03-14 14:28:38 -03:00
index.php https://github.com/WWBN/AVideo/issues/6345#issuecomment-1067056556 2022-03-14 14:28:38 -03:00
LICENSE Noving composer into vendor folder 2021-10-05 11:42:35 -03:00
package-lock.json add p2p support for HLS https://github.com/Novage/p2p-media-loader 2023-02-13 14:41:08 -03:00
package.json add p2p support for HLS https://github.com/Novage/p2p-media-loader 2023-02-13 14:41:08 -03:00
README.md Update README.md 2023-02-09 13:25:36 -03:00
sw.js Disable it 2022-09-19 16:02:50 -03:00
web.config https://github.com/WWBN/AVideo/issues/6345#issuecomment-1067056556 2022-03-14 14:28:38 -03:00

First thing...

I thank God for graciously, through His mercy, giving me all the necessary knowledge acquired throughout my life and throughout the development of this project. It is only through His grace and provision that this was possible, and I am truly grateful for His presence every step of the way.

For of Him, and through Him, and to Him, are all things: to whom be glory for ever. Amen. Apostle Paul in Romans 11:36

Agreement on the Purpose of Software Installation

This Software must be used for Good, never Evil. The use of this software for creating content related to sexually explicit material, pornography, or adult themes is strictly forbidden. Such usage goes against the values and principles of our platform and is not permitted under any circumstances.

Minimum PHP Version GitHub release

Demonstration Sites

  • AVideo Platform Full-Access Demo
    • We provide you with a full-access demo site sample, which includes access to the admin account. To upload and manage videos, you will need the default admin password. User: admin and Password: 123. There is also a non-admin user and password (for commenting only). User: test and Password: test."
  • AVideo Platform Flix Demo
    • We offer you a demonstration of the AVideo Flix Style site. On this site, you can subscribe using real money through PayPal, which will grant you access to our private videos. We have provided a test user for you to experience how the site works. User: test and Password: test.
  • AVideo Platform Gallery Demo
    • We have also provided a sample Video Gallery site, which doubles as our tutorial site. In this demonstration, you can log in, subscribe, like, dislike, and comment, but uploading videos is not allowed.

AVideo

AVideo is divided into three distinct components: the streamer, the encoder, and the live server. The streamer is utilized to play and manage videos, while the encoder converts your videos into a web-compatible format. The live server, on the other hand, is used to broadcast live videos.

Why do I need the Encoder?

There may be several reasons why you may consider installing the encoder, such as having a faster server compared to the public encoder server, or if you prefer a private method for encoding your videos

Additionally, if your server is on a private network and does not have a public IP address, or if it uses an IP address within the 10.0.0.0/8, 127.0.0.0/8 (Localhost), 172.16.0.0/12, or 192.168.0.0/16 range, it is mandatory to install an encoder in order for it to properly communicate with the streamer site.

Server Requirements

To run the AVideo Platform, it is necessary to have certain tools installed on your server. Fortunately, all of these tools are available for free. For a comprehensive list of the required tools, please refer to the following link: https://github.com/WWBN/AVideo/wiki/AVideo-Platform-Hardware-Requirements.

In summary, you will need:

  • PHP version 7.4 or higher
  • MySQL version 5.0 or higher
  • Apache web server version 2.x with mod_rewrite enabled.

Important Note: Please Avoid Using Servers with Control Panels

It is important to note that while the Streamer component can be installed on any server, including Windows, the Encoder and Livestream components are recommended to be installed on a Linux distribution, specifically Ubuntu, without any control panel.

The reason for this is that control panels such as cPanel, Plesk, Webmin, VestaCP, etc. may limit access to the root system, preventing the installation of necessary libraries and the compilation of certain software. Furthermore, the Livestream component requires the compilation of Nginx, which may not be possible with these control panels.

Installation

Separated live server

The live server is already provided in the installation links above, but if you want to install it separately please follow the guide for installation instructions

Usage

Admin Manual

Errors and troubleshooting

Find errors

AVideo Platform Certified

Installation help, consulting or support

For assistance with installation, consultin or plugins, our team of certified AVideo Platform developers is here to help. We would be delighted to offer you our support and expertise to ensure a smooth and successful installation.

Daniel Neto

AVideo Platform Mobile APP

Android

Docker

We've created a docker compose environment for easy development and production.

Development

Either just build the current branch by cloning the repository and run

doker build -t avideo .

And run the image. It contains an Apache2 webserver exposing ports 80 and 443. We recommend using HTTPS on port 443 and ignore the HTTP port 80. The container will create a self-signed certificate on startup. There are some environment variables, that could be used to configure the environment

  • DB_MYSQL_HOST - defines the database host name - default is database
  • DB_MYSQL_PORT - defines the database port - default is 3306
  • DB_MYSQL_NAME - defines the database name - default is avideo
  • DB_MYSQL_USER - defines the database user - default is avideo
  • DB_MYSQL_PASSWORD - defines the database password - default is avideo
  • SERVER_NAME - defines the virtualhost name for Apache - default is avideo.localhost
  • ENABLE_PHPMYADMIN - defines, if PHPMyAdmin should be exposed - default is yes
  • CREATE_TLS_CERTIFICATE - defines, if the container should generate a self-signed certificate - default is yes
  • TLS_CERTIFICATE_FILE - defines the location of the TLS certificate - default is /etc/apache2/ssl/localhost.crt
  • TLS_CERTIFICATE_KEY - defines the location of the TLS private key - default is /etc/apache2/ssl/localhost.key
  • CONTACT_EMAIL - defines the contact mail address - default is admin@localhost
  • SYSTEM_ADMIN_PASSWORD - defines the system administrator passwort - default is password
  • WEBSITE_TITLE - defines the website title - default is AVideo
  • MAIN_LANGUAGE - defines the main language - default is en_US

If you don't want to rebuild the image during development, mount the git repository to the path /var/www/html/AVideo. Then it using your local copy.

Compose

We've also a simple docker compose environment to define the complete necessary environment. You can just use and customize the local docker-compose.yml file.

Beside the above defined docker image that can be build locally, the environment contains a MariaDB database and a PhpMyAdmin to have an easy look into the database content.

docker-compose up --build -d

In production you should remove the phpmyadmin image by setting ENABLE_PHPMYADMIN=no.

Also we're working on a prebuild image. So you can use the image from Docker hub.

After a git clone command run this

composer update --prefer-dist --ignore-platform-reqs