I’m working on a theme and one of the features I’m quite happy with is the slider supports background videos. The problem is however, that WordPress (although I think it’s more a PHP issue) has a limit of 2MB on file uploads, and as you know, most videos are bigger than that.

So I haven’t got that much experience with themes, but what is the best practice in this situation? I guess users could use youtube and link to those videos, but that seems a bit drawn out.

Any ideas are appreciated!

2 Answers
2

In general, streaming video directly from your site isn’t advised. You can increase Max Upload size by making edits in php.ini or .htaccess, but your visitors may experience significant buffering, or even worse, extended page load times. You should consider having the videos stream from S3 or one of the hosted services.

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *