Copyright © 2011 Kaltura Inc.
All Rights Reserved. Designated trademarks and brands are the property of their respective owners.
Use of this web site constitutes acceptance of the Terms of Use and Privacy Policy.
EduVideo.org
mwEmbed is designed to be used with a script-loader and this static package sacrifices
transport size and packages in code every client won't use, in order to be a single static file.
You can learn more about using mwEmbed with a script-loader on the project home page.
To use the load optimized HTML5 Media Library replace your mwEmbed script include line of <head> with:
<script type="text/javascript" src="http://html5.kaltura.org/js" ></script>
In the <head> of your page you will need jQuery and the mwEmbed-player package:
<!-- Include the css and javascript -->
<link rel="stylesheet" href="kaltura-html5player-widget/skins/jquery.ui.themes/jquery-ui-1.7.2.custom.css"></link>
<link rel="stylesheet" href="kaltura-html5player-widget/mwEmbed-player-static.css"></link>
<script type="text/javascript" src="kaltura-html5player-widget/mwEmbed-player-static.js"></script>
Now in your HTML you can use the video tag and it will be given a user interface ie:
Advanced Examples
Kaltura's HTML5 Video Library may be installed in conjunction with existing flash video integrations to provide fall forward from flash to html5 to enable video embedding for iPhone and iPad.
Installing html5 support to an existing Kaltura integration is as simple as adding a javascript tag to include http://html5.kaltura.org/js. The library will automatically replace your Flash embed with an html5 <video> element on browsers capable of parsing the tag.
You can add a custom jquery ui theme by using the theme wizard: http://www.kaltura.org/apis/html5lib/kplayer-examples/Player_Themable.html. Note that although the themeroller only works in Firefox, the temes you create with it will work in multiple browsers.
You can add a custom jquery ui theme by using the Theme Wizard. Downloading that theme and adding a reference to jquery-ui-.custom.css after the mwEmbed-player-static.css file.
A few sample jquery ui skins are included in the skins/jquery.ui.themes folder of the HTML5 Video Player.
You can remove the kaltura attribution for the player by adding the following javascript:
<script type="text/javascript">mw.setConfig('EmbedPlayer.kalturaAttribution', false );</script>
You can remove the kaltura attribution for the player by adding the following javascript:
<script type="text/javascript">mw.setConfig('EmbedPlayer.kalturaAttribution', false );</script>