Created
May 7, 2013 21:31
-
-
Save anonymous/5536320 to your computer and use it in GitHub Desktop.
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> | |
<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