?? videointro.jsp
字號:
<%@page contentType="text/html;charset=ISO-8859-15" pageEncoding="ISO-8859-1"%>
<%@page import="org.homeplayer.util.*"%>
<jsp:useBean id="hppc" class="org.homeplayer.web.HPPageContext" scope="request">
<jsp:setProperty name="hppc" property="temporaryPage" value="true"/>
<jsp:setProperty name="hppc" property="request" value="<%=request%>"/>
</jsp:useBean>
<%
String mainpage = "/main.jsp" ;
VLCControl vlc = VLCControl.shareInstance();
hppc.setStopLink(WebUtil.setParam(hppc.getLocalURL(), "action=stop"));
if ("stop".equalsIgnoreCase(request.getParameter("action"))) {
vlc.kill();
hppc.setRefresh(0, mainpage) ;
} else {
VLCInfo info = vlc.getInfo();
if( info != null && info.getState().equals(VLCInfo.STATE_STOP) ) {
hppc.setRefresh(0, mainpage) ;
} else {
hppc.setRefresh(1, hppc.getLocalURL() ) ;
}
}
%>
<jsp:include page="/WEB-INF/jsp/empty.jsp" >
<jsp:param name="video" value="true" />
<jsp:param name="onOk" value="<%= WebUtil.setParam(hppc.getLocalURL(), "action=stop") %>" />
</jsp:include>
<%--<jsp:param name="onOk" value="<%= mainpage %>" />--%>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -