동영상 재생 기능 패키지명, 클래스명 변경(crdn09 -> sprt03)

main
이범준 1 year ago
parent 5a5bd291f6
commit b8b9914d3e

@ -1,20 +1,16 @@
package cokr.xit.fims.crdn.web;
package cokr.xit.fims.sprt.web;
import org.springframework.web.servlet.ModelAndView;
import cokr.xit.base.web.ApplicationController;
public class Crdn09Controller extends ApplicationController {
public class Sprt03Controller {
/** .
* @return fims/crdn/crdn09010-main
* @return fims/sprt/sprt03010-main
*/
public ModelAndView videoMain(String openerPageName) {
ModelAndView mav = new ModelAndView();
mav.setViewName("fims/crdn/crdn09010-main");
mav.setViewName("fims/sprt/sprt03010-main");
mav.addObject("openerPageName", openerPageName);
return mav;
}
}

@ -98,10 +98,10 @@ public class CmnController {
}
@Controller
@RequestMapping(name="동영상 재생", value="/crdn/crdn09")
class Crdn09Controller extends cokr.xit.fims.crdn.web.Crdn09Controller {
@RequestMapping(name="동영상 재생", value="/sprt/sprt03")
class Sprt03Controller extends cokr.xit.fims.sprt.web.Sprt03Controller {
/** .
* @return fims/crdn/crdn09010-main
* @return fims/sprt/sprt03010-main
*/
@Override
@RequestMapping(name="동영상 재생 메인", value="/010/main.do")

@ -345,7 +345,7 @@ $(document).ready(function(){
$("#btnInst--${pageName}").on('click', () => $P.fnSave());
$("#btnAddFile--${pageName}").on('click', () => { $("#uploadFileList--${pageName}").trigger("click"); });
$("#btnOpenVideoCapture--${pageName}").on('click', () => {
window.open(wctx.url("/crdn/crdn09/010/main.do?openerPageName=${pageName}")
window.open(wctx.url("/sprt/sprt03/010/main.do?openerPageName=${pageName}")
,"newVideoCapture"
,"width=1800,height=950"
);

@ -106,6 +106,10 @@ var openerPageName = "${openerPageName}";
var scaleFactor = 0.25;
var snapshots = [];
document.getElementById("file").addEventListener('change', function () {
document.getElementById("video").focus();
});
document.getElementById("video").addEventListener('play', function () {
document.getElementById("btnCapture").focus();
});
Loading…
Cancel
Save