Skip to content

Instantly share code, notes, and snippets.

Created May 7, 2013 21:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/5536320 to your computer and use it in GitHub Desktop.
Save anonymous/5536320 to your computer and use it in GitHub Desktop.
<!doctype html>
<html>
<head>
<title>Flowplayer Minimal Setup : Flowplayer</title>
<link rel="shortcut icon" href="http://flash.flowplayer.org/favicon.ico">
<!-- standalone page styling. can be removed -->
<style>
body{
width:982px;
margin:50px auto;
font-family:sans-serif;
}
a:active {
outline:none;
}
:focus { -moz-outline-style:none; }
.palert {
padding: 12px;
color: black;
background-color: #ededed;
box-shadow: none;
}
</style>
<!-- flowplayer javascript component -->
<script src="http://releases.flowplayer.org/js/flowplayer-3.2.12.min.js"></script>
</head>
<body>
<!-- player container-->
<a href="http://szerver:8090/cam.flv" class="cam-player"
style="display:block;width:720px;height:576px;margin:10px auto"
id="cam-player">
</a>
<!-- this script block will install Flowplayer inside previous A tag -->
<script>
flowplayer("cam-player", "http://releases.flowplayer.org/swf/flowplayer-3.2.16.swf", {
clip: {
url: "http://szerver:8090/cam.flv",
scaling: 'fit',
autoPlay: true
},
onLoad: function() { this.setVolume(0); this.mute(0);}
});
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment