-
Notifications
You must be signed in to change notification settings - Fork 977
How To Install a new Plugin
Plugins are powerful tools that extend the capabilities of AVideo. They're simple to install - you just need to upload the zip file of the plugin. Once installed, you can easily manage your plugins, including activation and deactivation, from the Plugin Manager in your AVideo interface.
You can explore and purchase a variety of commercial plugins directly from our marketplace at https://youphp.tube/marketplace/.
Upon successful purchase, a download button will appear in the interface of the plugin itself. Click this button to download a zip file containing the encrypted plugin. Rest assured, even though the plugin is encrypted for security reasons and to protect intellectual property, it will work seamlessly with AVideo upon installation.
There are two methods to install a plugin:
Before using this method, ensure that the unzip application is installed on your server. You can install it using the following command:
sudo apt-get install unzip
Next, ensure the plugin directory is writable before the upload. You can do this using the following command:
chown www-data:www-data /var/www/html/AVideo/plugin/ && chmod 755 /var/www/html/AVideo/plugin/
If you need further guidance, you can watch our tutorial video here: https://tutorials.avideo.com/video/110/donwloading-and-installing-a-plugin
Unzip the downloaded file and upload the resulting folder to the plugin directory on your AVideo server. Usually, this directory is /var/www/html/AVideo/plugin/
.
Make sure the uploaded directory name matches the name of the file inside it. For instance, if you're uploading the 'Video Resolution Switcher' plugin, the directory structure should look like this:
VideoResolutionSwitcher
|_ VideoResolutionSwitcher.php
|_ Other files ...
If you're encountering issues where nothing changes after uploading a new plugin version, this could be due to permission problems. To resolve this, you can follow these steps:
-
Delete the existing plugin folder to ensure no conflicts with old files. For example, to remove the
Notifications
plugin folder, you can use the following command:rm -R /var/www/html/AVideo/plugin/Notifications/
-
Ensure Apache has write permissions on the
/var/www/html/AVideo/plugin/
directory. This allows the AVideo interface to upload and manage plugins properly. You can set the correct permissions by running:chown -R www-data:www-data /var/www/html/AVideo/plugin/ chmod -R 755 /var/www/html/AVideo/plugin/
-
Re-upload the plugin using the AVideo interface. Once permissions are set correctly, you should be able to download, install, and use your new plugins without any issues.
By following these steps, you can prevent permission-related issues and ensure that your plugins function as expected.