Created
December 8, 2015 15:20
-
-
Save rfwatson/1a6aefab1df0c1c5e417 to your computer and use it in GitHub Desktop.
A very simple web page (part 3)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!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