Troubleshooting
Video Codecs
You will need to encode your video files into multiple codec formats to provide video for device platforms like iPhone, iPad, Android, and Blackberry. Dive into HTML5 provides an excellent reference for encoding these multiple video formats with Firefogg , FFmpeg, and Handbrake.
If you would prefer to not have to deal with encoding your videos into multiple formats, you should obtain a trial account with Kaltura and request a support technician setup your account to provide html5 flavored video codecs.
HTML5 video MIME type
Note that if the MIME types for Theora video are not set on the server, the video may not show or show a gray box containing an X (if JavaScript is enabled).
You can fix this problem for the Apache Web Server by adding the extension used by Theora video files (“.ogm”, “.ogv”, or “.ogg” are the common types) to the MIME type “video/ogg” via the “mime.types” file:
- Edit the mime.types apache configuration file (in “/etc/apache” on linux, “\xampp\apache\conf\mime.types” on windows-xampp)
- Search for
application/ogg ogg(if not exist skip this step), delete this line - Add the following:
video/ogg ogg ogm ogv - Restart apache
Or by adding the “AddType” configuration directive in httpd.conf -
AddType video/ogg .ogm
AddType video/ogg .ogv
AddType video/ogg .ogg
AddType video/mp4 .mp4
AddType video/webm .webmYour web host may provide an easy interface to MIME type configuration changes for new technologies until a global update naturally occurs. Background
This project started as a part of the MediaWiki HTML5 media functionality project. mwEmbed is another name by which Kaltura’s HTML5 Media Library is known at Wikimedia, where it provides Wikipedia’s upcoming video editing functionality.
mwEmbed provides the basis for other MediaWiki media functionality. For more info see the projects overview on MediaWiki and the associated integration (currently called js2)
Become a Developer
If you find this software useful, stop by #kaltura in FreeNode.
Get Project Source Code
MwEmbed is released under the GPL2 and hosted by the wikimedia foundation.
You may check out a read-only working copy anonymously over HTTP:
svn checkout http://www.kaltura.org/kalorg/html5video/trunk/mwEmbed/
If you'd like commit access, please submit a request to join this project..
Compile Developer Docs
To compile the development documentation you will need to install jsdoc-toolkit
using the following command will place the documentation in a subfolder of your working directory called jsdoc
java -jar <jsdoc-toolkit path>/jsrun.jar <jsdoc-toolkit path>app/run.js -t=<full jsdoc-toolkit path>/templates/jsdoc/ mwEmbed.js loader.js mwEmbedLoader.js ./modules/**/*/*.jsthe documentation may be concatenated to build the README files for both the MIT licensed media player and the gpl licensed media library.
cat overview.markdown features.markdown basic_usage.markdown advanced_examples.markdown mit.markdown troubleshooting.markdown showcase.markdown license.markdown > README
cat overview.markdown features.markdown basic_usage.markdown mit.markdown troubleshooting.markdown showcase.markdown > README.mitREADMEs and individual pages may be converted to html using your favorite markdown to html converter:
bluecloth README > docs/README.htmlAdditional Resources
For an overview of all mwEmbed files see: http://www.mediawiki.org/wiki/MwEmbed
For stand alone usage see http://kaltura.org/project/HTML5_Media_JavaScript_Library



