Skip to content

Instantly share code, notes, and snippets.

@rfwatson
Created December 8, 2015 15:20
Show Gist options
  • Save rfwatson/1a6aefab1df0c1c5e417 to your computer and use it in GitHub Desktop.
Save rfwatson/1a6aefab1df0c1c5e417 to your computer and use it in GitHub Desktop.
A very simple web page (part 3)
<!DOCTYPE>
<html>
<head>
<title>My web page</title>
<script src="//content.jwplatform.com/libraries/YOUR_PERSONAL_JWPLAYER_CODE_HERE.js"></script>
</head>
<body>
<h1>My Mixlr player!</h1>
<div id="player"></div>
<script type="text/javascript">
var playerInstance = jwplayer("player");
playerInstance.setup({
primary: 'html5',
playlist: [{
sources: [{
file: "http://edge.mixlr.com/channel/YOUR_MIXLR_CHANNEL_TAG_GOES_HERE",
type: 'mp3'
}]
}],
width: 480,
height: 40
});
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment