Tools
JoomVideos has a few screens for checking the server and looking after your data, and a command-line script for background work. You find the screens in the JoomVideos sidebar: Plugins and the Tools group with Backup / Restore, Translate Language, Requirements Checker and Maintenance.
Dashboard
Components > JoomVideos opens the dashboard. It shows statistics about your videos and, while Check Requirements is set to Show in Options > Server, the server requirements check.
Requirements
Tools > Requirements Checker checks the server for what JoomVideos needs:
| Check | Why it matters |
|---|---|
| FFmpeg | Converts uploaded videos and takes thumbnails, see FFmpeg |
allow_fileuploads, upload_max_filesize, post_max_size |
PHP must accept uploads as large as your Max upload size (MB) |
max_input_time, max_execution_time, memory_limit |
Large uploads and conversions need time and memory |
| Upload folder permission | JoomVideos writes the files to media/com_joomvideos |
| curl | Used to reach YouTube, Vimeo and other sites |
| php-cli, exec | Needed to run processing in the background |
Fix what is marked No or out of range, or ask your host. Click Recheck after a change.
Test CLI tries to run the command-line script with the Php path from Options > Server. In 6.1.6 this button reports "CLI not working" on Linux servers even when the script works, and the php-cli line always shows Yes. Test the script over SSH instead:
/usr/bin/php /path/to/your/site/cli/joomvideos_process.php testcli
It prints CLI Works fine ! when PHP's command line works. Use the same PHP path in Options > Server > Php path.
Plugins
Plugins lists the JoomVideos plugins in groups: players, video sources, comments, sitemap, storage, search, social and others. Each row has Enable, Disable and Edit buttons. For players, Make Default sets the player in Options > Video. Plugins that are not installed are marked Not Installed.
Backup / Restore
Tools > Backup / Restore saves JoomVideos database rows as an SQL file. On the Backup tab, choose the table type (categories, channels, playlists, videos, likes, reports, reasons, subscriptions or files) and click Download.
The file holds database rows only, not the video files in media/com_joomvideos. The Restore tab does not work in 6.1.6. To back up and restore a site, use a full site backup tool or your host's backups, which save the database and the files together.
Translate Language
Tools > Translate Language lists the texts of a JoomVideos language file, each with its Key, the Original and a Translation field. Choose the file, the language and site or administrator at the top, edit, and save. Only users with Configure ACL & Options can save.
The changes are written into JoomVideos' own language files, and every update replaces those files. For changes that should last, use System > Language Overrides instead: search for the text, and save your own version there.
Maintenance
Tools > Maintenance has two one-click repairs. Click Run Tool next to one:
- Remove special characters: removes line breaks (
\n,\r) and escaped quotes from video titles and descriptions. - Update non secure thumb links: changes thumbnail links from
http:tohttps:, for example after you moved your site to HTTPS.
Back up your database before you run either tool.
Command line
The package installs cli/joomvideos_process.php in your site root. Run it with PHP's command-line program:
php /path/to/your/site/cli/joomvideos_process.php <command>
| Command | What it does |
|---|---|
process |
Runs queued processes, up to Max Processes (10) per call |
process 12 15 |
Runs only the processes with these IDs (from the Processes screen) |
cdn |
Runs the maintenance of the CDN plugin chosen in Options > Features > CDN, see Amazon S3 |
testcli |
Prints CLI Works fine !, to test that the command line works |
JoomVideos also calls the script itself with convertToHtml5 for some background work. You do not need to run that command by hand.
Cron job
Run process every few minutes so uploads are converted in the background:
*/5 * * * * /usr/bin/php /path/to/your/site/cli/joomvideos_process.php process
If your host offers only URL cron jobs, call this address instead:
https://www.example.com/index.php?option=com_joomvideos&task=cron.convert&secretkey=YOUR_KEY
YOUR_KEY is the Cron Task Key in Options > Processing. Every install starts with the same key (zz4478wxz), so change it to a long random value before you use the URL. Never leave the key empty. See Video processing.