Code

Discussion on Video Converter Plus - Convert Any Video Format Easily

Discussion on Video Converter Plus - Convert Any Video Format Easily

Cart 2 sales

shebluasad supports this item

Supported

This author's response time can be up to 1 business day.

3 comments found.

When will the next update be?

what kind of update do you need?

By what means do I contact you?

Pls Contact this email: arebanit@gmail.com

i want to buy it, can you help to integrate in our website entiretools.com, its built on PHP JS, thank you

Pls Contact this email: arebanit@gmail.com

Not working. Your demo site is not either. Can you help with this? Thank You

I wanted to share some simple guidelines for handling file sizes on our video converter tool, especially for hosting on Netlify and cPanel. This will help us avoid errors and make sure everything works smoothly.

File Size Tips 1. For Netlify Hosting Netlify is great for smaller projects but has limited power for big files. Here’s what works best:

Best File Size: Try to keep uploaded files below 50 MB. This keeps things running smoothly. Maximum Size: You could go up to 100 MB, but anything bigger might cause errors. 2. For cPanel Hosting With cPanel, we have a bit more flexibility, especially if it’s on a dedicated server:

Best File Size: For regular cPanel (like shared hosting), keep files under 100-150 MB. If We Have More Power (like VPS): We could allow files up to 250 MB, but big files can still slow things down. How to Make This Work Here’s how we can make sure files don’t get too big:

Set File Limits in cPanel (For PHP): In cPanel, go to the MultiPHP INI Editor and set:

upload_max_filesize to something like 100M or 150M. post_max_size to match that. memory_limit to a bit higher, like 256M. Add a File Size Check on the Website: Add a JavaScript check so that users see a warning if their file is too big. Here’s a small code snippet:

javascript Copy code fileInput.addEventListener(“change”, (event) => { const file = event.target.files0; const maxSize = 50 * 1024 * 1024; // 50 MB for Netlify; or 100 MB for cPanel }); Check on the Server Too: It’s a good idea to have a check on the server, so even if someone skips the warning, the server will block big files.

if (file.size > maxSize) {
  alert("File is too large! Please upload a smaller file.");
  fileInput.value = ""; // Clear the file input
}

Following these steps will help the video converter work better on both Netlify and cPanel. Let me know if you need any more help!

by
by
by
by
by
by

Tell us what you think!

We'd like to ask you a few questions to help improve CodeCanyon.

Sure, take me to the survey