Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore mag
sed diam nonumy eirmod tempor invidunt ut labore et dolore mag
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore mag
sed diam nonumy eirmod tempor invidunt ut labore et dolore mag
(c) copyright Blender Foundation | www.bigbuckbunny.org
<script src="../packages/mm.embed.min.js"></script>
jmeEmbed makes your HTML5 media elements cross browser and if you have included mm.full.*.js it also initializes the DOM-API.
$(function(){
$('video, audio').jmeEmbed();
});
Note: If the player.swf is not in your JS-folder. You have to configure the path to the JW-Player. There are two ways to achieve this (Using Markup or using JavaScript Configuration):
<script class="jwPlayer" type="application/swf" src="path-to/player.swf"></script>
$(function(){
$('video, audio').jmeEmbed({
jwPlayer: {
path: 'path-to/player.swf'
}
});
});
<video poster="media/bbb_watchtrailer.gif" controls="controls">
<source src="media/bbb_trailer_mobile.m4v" />
<source src="media/bbb_trailer_400p.ogg" />
</video>