Skip to content

Instantly share code, notes, and snippets.

@travist
Created October 15, 2012 01:47
Show Gist options
  • Save travist/3890434 to your computer and use it in GitHub Desktop.
Save travist/3890434 to your computer and use it in GitHub Desktop.
OSM Player minimal code.
<html>
<head>
<title>Open Standard Media (OSM) Player: PHP Demo</title>
<script type='text/javascript' src="https://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.js"></script>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.js"></script>
<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/dark-hive/jquery-ui.css">
<script type="text/javascript" src="/osmplayer/bin/osmplayer.compressed.js"></script>
<link rel="stylesheet" href="/osmplayer/templates/default/css/osmplayer_default.css">
<script type="text/javascript" src="/osmplayer/templates/default/osmplayer.default.js"></script>
<script type="text/javascript">
$(function() {
$("#osmplayer").osmplayer({
width: '600px',
height: '400px',
playlist: 'playlist.xml'
});
});
</script>
</head>
<body>
<div id="osmplayer"></div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment