 <%@ page import="zall.bean.*" %>
 <%@ page import="java.text.SimpleDateFormat" %>
 <%
 Media media = (Media)request.getAttribute("media");
 User user = (User)session.getAttribute("user");
 %>	
		<!-- player container--> 
		<a  
			 href="content?type=video&id=<%=media.getId() %>&size=medium"
			 style="display:block; width:500px; height:330px"  
			 id="flowplayer"> 
		</a> 
 
		<!-- Flowplayer installation --> 
		<script language="JavaScript"> 
			flowplayer("flowplayer", "http://releases.flowplayer.org/swf/flowplayer-3.2.7.swf", {
				//"clip":{
				//	"provider":"pseudostreaming",
				//	"url":"http://vod01.netdna.com/vod/demo.flowplayer/Extremists.flv"
				//},
				"plugins":{
					"controls":{
						"buttonOffColor":"rgba(130,130,130,1)",
						"timeColor":"#ffffff",
						"borderRadius":"0px",
						"bufferGradient":"none",
						"sliderColor":"#000000",
						"zIndex":1,
						"backgroundColor":"rgba(0, 0, 0, 0.2)",
						"scrubberHeightRatio":0.6,
						"tooltipTextColor":"#ffffff",
						"volumeSliderGradient":"none",
						"sliderGradient":"none",
						"spacing":{
							"time":6,
							"volume":8,
							"all":2
						},
						"timeBorderRadius":20,
						"timeBgHeightRatio":0.8,
						"volumeSliderHeightRatio":0.6,
						"progressGradient":"none",
						"height":26,
						"volumeColor":"#4599ff",
						"tooltips":{
							"marginBottom":5,
							"buttons":false
						},
						"timeSeparator":" ",
						"name":"controls",
						"volumeBarHeightRatio":0.2,
						"opacity":1,
						"timeFontSize":12,
						"left":"50pct",
						"tooltipColor":"rgba(0, 0, 0, 0)",
						"border":"0px",
						"bufferColor":"#a3a3a3",
						"volumeSliderColor":"#ffffff",
						"buttonColor":"#ffffff",
						"durationColor":"#b8d9ff",
						"autoHide":{
							"enabled":true,
							"hideDelay":500,
							"mouseOutDelay":500,
							"hideStyle":"fade",
							"hideDuration":400,
							"fullscreenOnly":false
						},
						"backgroundGradient":"none",
						"width":"100pct",
						"display":"block",
						"sliderBorder":"1px solid rgba(128, 128, 128, 0.7)",
						"buttonOverColor":"#ffffff",
						"url":"http://releases.flowplayer.org/swf/flowplayer.controls-3.2.5.swf",
						"progressColor":"#4599ff",
						"timeBorder":"0px solid rgba(0, 0, 0, 0.3)",
						"timeBgColor":"rgb(0, 0, 0, 0)",
						"scrubberBarHeightRatio":0.2,
						"bottom":0,
						"volumeBorder":"1px solid rgba(128, 128, 128, 0.7)",
						"builtIn":false,
						"margins":[2,12,2,12]
					}
				}
			}
            				
		);
		</script>	