config->ffmpeg = is_executable($pt->config->ffmpeg_binary_file); function isEnabled($func) { return is_callable($func) && false === stripos(ini_get('disable_functions'), $func); } $enabled = true; if (!isEnabled('shell_exec')) { $enabled = false; } ?>

File Upload Configuration

Upload & File Sharing Configuration

Allow users to upload videos to your site.
config->upload_system == 'on') ? 'checked': '';?>>


Choose who can upload videos in your site, All users or PRO users (If enabled)

config->upload_system_type == 1){ ?> class="hidden" >
Set the allowed disk size and limit for "All Users"


Set the max upload size, applied to all users, pro & free.


Choose if only admin can upload videos or all users.
Import Configuration

Allow users to import videos to your site.
config->import_system == 'on') ? 'checked': '';?>>


Import videos from ok.ru
config->ok_import == 'on') ? 'checked': '';?>>


Import videos from Facebook
config->facebook_import == 'on') ? 'checked': '';?>>


Import videos from Twitch
config->twitch_import == 'on') ? 'checked': '';?>>
Your Twitch Client Id
FFMPEG Configuration

This system will compress, convert, and optimzise videos to mp4.
This system require "ffmpeg" to be installed in your server.
config->ffmpeg_system == 'on') ? 'checked': '';?>>

config->ffmpeg): ?> Example: Linux(/usr/bin/ffmpeg) or Windows(C:\\ffmpeg\bin\ffmpeg.exe)

How many videos can be converted at the same time? Leave 0 for unlimited.

config->ffmpeg && $enabled == true): ?>
This affect the encoding speed. Using a slower preset gives you better compression, or quality per filesize, whereas faster presets give you worse compression and higher filesize.

config->p240 == 'on') ? 'checked': '';?>>
config->p360 == 'on') ? 'checked': '';?>>
config->p480 == 'on') ? 'checked': '';?>>
config->p720 == 'on') ? 'checked': '';?>>
config->p1080 == 'on') ? 'checked': '';?>>
config->p2048 == 'on') ? 'checked': '';?>>
config->p4096 == 'on') ? 'checked': '';?>>
Note: It's always recommended to keep 240p enabled as some videos resolution are low, if you enable only high video resolutions, the conversation process may fail.
Example: If Jack uploads a 144p or 240p video to your site and 240p is disabled, the system will not convert the video to any resolution, therefore the video will be deleted.


Create gifs from videos, activated on hovering.
config->gif_system == 'on') ? 'checked': '';?>>

How to install FFMPEG?
Install FFMPEG on Linux Centos
Install FFMPEG on Linux Ubuntu | Windows
If you still can't install FFMPEG, please contact your hosting provider, and they shall install it.

shell_exec() has been disabled for security reasons, please contact your host provider to enable it. shell_exec is required to enable this system.


Storage & CDN Configuration

Important: You can't enable two or three storages at the same time, if you enable FTP, amazon s3 will be automatically disabled, same for amazon s3, Digitalocean and Google.
Configure Amazon S3
config->server == 'nodejs') { ?>
config->server == 'nodejs') ? "Note: If you are using node.js as messaging system, please restart your node.js (./nodejs/server.js) application after saving the changes." : '';?>

Enable Amazon Storage to store your files in Amazon S3.
config->s3_upload == 'on') ? 'checked': '';?>>

Your Amazon S3 Bucket Name

Your Amazon Key from AWS credentials

Your Amazon Secret from AWS credentials


Your Amazon's S3 Region


Before enabling Amazon S3, make sure you upload the whole "upload/" folder to your bucket.

Before disabling Amazon S3, make sure you download the whole "upload/" folder to your server.

We recommend to upload the folder and files via S3cmd.

If your site is still brand new, you can escape the upload step, but make sure to click on "Test Connection".
Digitalocean Spaces Configuration

Enable Digitalocean Storage to store your files in Digitalocean Spaces.
config->spaces == 'on') ? 'checked': '';?>>

Your Digitalocean Space Bucket name.

Your Digitalocean Space credentials key.

Your Digitalocean Space credentials secret key.


Your Digitalocean's S3 Region


Before enabling Digitalocean, make sure you upload the whole "upload/" folder to your bucket.

Before disabling Digitalocean, make sure you download the whole "upload/" folder to your server.

If your site is still brand new, you can escape the upload step, but make sure to click on "Test Connection".
FTP Settings
You can upload files directly from your server to another FTP server and load them from there.
Impotant: This may slow down your site's upload/delete speed, make sure to use fast FTP server.



Enable FTP Storage to store your files in your own FTP server.
config->ftp_upload == 'on') ? 'checked': '';?>>

Your FTP hostname, could be IP or domain name.

Your FTP account's username.

Your FTP account's password.

Your FTP server's port.

The path to /upload files.

IP or domain where the FTP server is pointed to, example: playtubeftpstorage.com

Before enabling FTP, make sure you upload the whole "upload/" folder to your FTP server.

Before disabling FTP, make sure you download the whole "upload/" folder to your server.

If your site is still brand new, you can escape the upload step, but make sure to click on "Test Connection".