Overview

The Open Standard Media Player (OSM) Player is not just another HTML5 media player. It is a media player framework that allows tight integration into multiple 3rd party media solutions such as YouTube, Vimeo, and Limelight CDN. It is not only completely themeable, but is also completely customizable using an Object Oriented plugin mechanism that gives you control over every aspect of playable web media.

Download on GitHub!

Header Includes

In order for the OSM Player to work properly, you need to include the Javascript and CSS files required to make the player work. For the most part, you can copy and paste the code below and add it to your head tag within your html markup.

<!-- Include the core jQuery and jQuery UI -->
<script type='text/javascript' src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.js"></script>
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.2/jquery-ui.min.js"></script>

<!-- Include the core media player JavaScript. -->
<script type="text/javascript" src="/osmplayer/bin/osmplayer.compressed.js"></script>

<!-- Include the DarkHive ThemeRoller jQuery UI theme. -->
<link rel="stylesheet" href="/osmplayer/jquery-ui/dark-hive/jquery-ui.css">

<!-- Include the Default template CSS and JavaScript. -->
<link rel="stylesheet" href="/osmplayer/templates/default/css/osmplayer_default.css">
<script type="text/javascript" src="/osmplayer/templates/default/osmplayer.default.js"></script>

Examples

Fork me on GitHub