1 case "FLV":
2 requiresWrapper = false;
3
4 ui.Append("<object ");
5 AddProperty(ui, "type", "application/x-shockwave-flash");
6 AddProperty(ui, "data", Globals.FullPath(page.ClientScript.GetWebResourceUrl(typeof(VideoFileViewer), "CommunityServer.Components.UI.Resources.player_flv.swf")));
7 AddProperty(ui, "width", width.ToString());
8 AddProperty(ui, "height", height.ToString());
9 ui.Append(">");
10
11 AddParameter(ui, "movie", Globals.FullPath(page.ClientScript.GetWebResourceUrl(typeof(VideoFileViewer), "CommunityServer.Components.UI.Resources.player_flv.swf")));
12 AddParameter(ui, "allowFullScreen", "true");
13 string strFLV = string.Format("flv={0}&title={1}&width={2}&height={3}&showstop=1&showvolume=1&showtime=1&showfullscreen=1&srt=1",
14 url, "点击播放按钮开始播放", width.ToString(), height.ToString());
15 AddParameter(ui, "FlashVars", strFLV);
16 ui.Append("</object>");