Skip to content

Instantly share code, notes, and snippets.

@giannif
Last active August 29, 2015 14:02
Show Gist options
  • Save giannif/71ad8c839ba58f2b513b to your computer and use it in GitHub Desktop.
Save giannif/71ad8c839ba58f2b513b to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html>
<head>
<style>
.MTVNPlayer {
width: "100%";
height: "100%";
}
</style>
<script type="text/javascript">
var MTVNPlayer = {
defaultConfig : "the config goes here, this definitely needs to be replaced."
};
</script>
</head>
<body>
<!-- define a div with class MTVNPlayer -->
<div class="MTVNPlayer" data-auto-create>
<img class="mtvn-player-placeholder" height="100%" width="100%" />
</div>
<!-- load the player from the player service -->
<script type="text/javascript" src="http://media.mtvnservices.com/pjs/the config.uri goes here, if need it. maybe context will be sufficent."></script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment