I’m just about to “officially” launch M Theater for sale and decided to extend the video and audio features by adding even more flexibility for filmmakers and musicians to take advantage of in this WordPress Theme. However, because all servers handle video limitations differently, there may be some questions regarding how to take full advantage of these rich HTML5 features.
Below are some commonly asked questions about HTML5 Video support.
Why won’t my uploaded media files play automatically?
Your server may not be recognizing the media types. In that case, you’ll have to register their MIME types. Add the following to your .htaccess file:
AddType audio/ogg .ogg
AddType audio/mpeg .mp3
AddType video/ogg .ogv
AddType video/webm .webm
AddType video/mp4 .mp4
AddType video/x-m4v .m4v
Why can’t I upload large files?
This is a limitation from all hosting providers and policies vary, depending on the type (and cost) of the plan your using. Try adding the following to your .htaccess file (Please contact your hosting provider in advance to make sure you’re not violating any of their rules, particularly on shared hosting plans):
php_value upload_max_filesize 128M
php_value max_execution_time 800
php_value post_max_size 128M
php_value max_input_time 800
php_value memory_limit 128M
- 128M will be the maximum file size.
- 64M should be enough for Video Clips.
- 16M should be enough for uploading Audio.
- For larger files, you should upload to YouTube, Vimeo, DailyMotion, BlipTV, or the many other free services for large content files. SoundCloud is perfect for Audio files.
Is there a simple way to incorporate Video into my website?
Yes. Simply upload FLV, MOV Video or MP3 Audio and I’ve built-in some default support. But depending on your environment, you may miss out on some incredible HTML5 tools.
I recommend one of the many free services out there, unless you have a lot of money to invest in a Stand-Alone or VPS, with a true streaming server. YouTube and Vimeo in particular have profit-sharing services for professionals, and both have resources that make the video experience much more exciting for your end users.