OPENTEKNIK
1968 S. Coast Hwy, Suite 5003, Laguna Beach CA 92651, United States +1 (514) 400-7286

PREMIUM SOCIAL NETWORK

Create your own social network website with the world's most flexible, white-label platform. It is the best premium solution for building private communities with performance and security at the core.

Platform Preview

Videos component configuration

To allow your users to upload videos directly from the devices you need to configure videos component.

  1. Go to administrator panel.
  2. Click configure menu
  3. Click Videos

Here you need to configure ffmpeg tools. You need to ask your hosting provider about the ffmpeg tools path. You need latest version of ffmpeg at least 4.x

You further need to make sure by hosting provider that your hosting account have ability to execute php exec function and can access ffmpeg command from it.

You also need to make sure open base dir restriction are not in effect

CRON JOB
Since videos component 7.x you need to add a cron job to convert videos at the backend.
You need to ask your provider to add a cron job for you exact script command can be found on configuration page. Example

*/5 * * * * /usr/bin/php /home/abcuser/public_html/components/Videos/cron.php > /dev/null 2>&1

Where /usr/bin/php is your actual php path replace it with PHP 8.1 or 8.2 path.
*/5 * * * * is the timer to run every 5 minutes.