About This Infusion Video Not Uploading
This is an infusion that will allow you to upload your own videos through the administration panel, embed custom video/media source, and add YouTube videos and custom source urls. You also have the option to configure the look of your video player's skin through the administration page. Features -Video CMS - Video Upload - YouTube Compatible - Addon Implementation - Share Features - High Definition Setting - Highly Customizable - Supported Video (flv mp4 mov f4v 3gp 3g2 mp3 flac) Developer Notes
I had a lot of fun in creating this addon for the community. While minor versions of this infusion were emphasized around getting a general direction of where to take this infusion, I personally feel were getting ever closer to my original concept along with user suggestions with version 3. This infusion was created with simplicity in mind and the intent to produce a more stable environment for its purpose in use. Installation Guide Step #1
Upload the contents of the infusion into all the respective directories. - UPLOAD\administration\images >> ROOT/administration/images/ -UPLOAD\infusionsideo >> ROOT/infusions/video/ - UPLOAD\includes\user_fields >> ROOT/includes/user_fields/ - UPLOAD\locale\English\user_fields >> ROOT/locale/English/user_fields/ Step #2
Navigate to: Admin Panel > System Admin > Infusions Select "Video" from drop down menu. Click "Infuse". Upgrading Infusion
Navigate to: Admin Panel > System Admin > Infusions Select Video from drop down menu (should be green). Click "Infuse". Unistalling Infusion
Navigate to: Admin Panel > System Admin > Infusions Under Infused Infusions find "Videos" Click "Defuse". Developer Tips / Debug Problems Infusion Not Installing
One instance of the bug not allowing one to install the infusion is if the infusion was previously installed and not all data was removed after defusing. The solution would be to remove the table "NXV" under the row "admin_rights" in "dbprefix_admin" in phpmyadmin. Another simple solution would be to preview the following code in a custom page, take note I said to "preview" only.
dbquery("DELETE FROM ".DB_ADMIN." WHERE admin_rights='NXV'");
Usually when using a free host, file uploads are not allowed to a certain extent - one measure being excessive file size. Regardless, you can usually check the php configuration settings along with a defined max upload size in the Video Admin (Admin Panel > Infusions > Video Admin > Manage Settings). As of version 3.0.0 I've coded the script to display the max php configuration upload allowed, along with a max script upload defined by the end-user. The "Max Allowed by PHP Configuration" should not exceed that of the "Max File Size" as they should remain even if possible. One common mistake is that the php configuration file is not configured correctly to allow bigger download files to be uploaded. You'll need to find your php.ini file and edit the following: Do not make file changes unless you know what your doing! Contact your host if your troubled. You can find the php configuration file usually in: "usr/bin/apache/apache[?]/bin/php.ini". If not, refer to Admin Panel > System Admin > PHP Info > Details (Locate "Loaded Configuration File"). In your PHP.INI file, ensure the following parameters are met. File Uploads are ON
Upload Max Filesize is larger than, if not the same as Max Upload Size defined in Video Infusion Script.
; Maximum allowed size for uploaded files. ; http://php.net/upload-max-filesize upload_max_filesize = 100M
As we're using POST data to upload videos along with images, you'll also need to ensure the post_max_size in your php configuration file is large enough to handle post data. Search out post_max_size in php.ini.