行 44: templateBuilder.Append("script>\r\n<script type=\"text/javascript\">\r\n$(function(){\r\n //设置视频容器大小\r\n winResize();\r\n $(window).resize(function() {\r\n winResize();\r\n });\r\n //初始化视频容器\r\n initCUPlayer('");
行 45: templateBuilder.Append(Utils.ObjectToStr(config.webpath));
行 46: templateBuilder.Append("', 'video-box', '" + Utils.ObjectToStr(model.fields["video_src"]) + "');\r\n});\r\n//改变大小函数\r\nfunction winResize(){\r\n if($(\".section\").width() == 1160){\r\n $(\".video-box\").width(785);\r\n $(\".video-box\").height(441);\r\n }else{\r\n $(\".video-box\").width(550);\r\n $(\".video-box\").height(309);\r\n }\r\n}\r\n</");
行 47: templateBuilder.Append("script>\r\n</head>\r\n\r\n<body id=\"video\">\r\n<!--页面头部-->\r\n");
行 48:
|