동영상 재생 기능 패키지명, 클래스명 변경(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 org.springframework.web.servlet.ModelAndView;
import cokr.xit.base.web.ApplicationController; public class Sprt03Controller {
public class Crdn09Controller extends ApplicationController {
/** . /** .
* @return fims/crdn/crdn09010-main * @return fims/sprt/sprt03010-main
*/ */
public ModelAndView videoMain(String openerPageName) { public ModelAndView videoMain(String openerPageName) {
ModelAndView mav = new ModelAndView(); ModelAndView mav = new ModelAndView();
mav.setViewName("fims/crdn/crdn09010-main"); mav.setViewName("fims/sprt/sprt03010-main");
mav.addObject("openerPageName", openerPageName); mav.addObject("openerPageName", openerPageName);
return mav; return mav;
} }
} }

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

@ -345,7 +345,7 @@ $(document).ready(function(){
$("#btnInst--${pageName}").on('click', () => $P.fnSave()); $("#btnInst--${pageName}").on('click', () => $P.fnSave());
$("#btnAddFile--${pageName}").on('click', () => { $("#uploadFileList--${pageName}").trigger("click"); }); $("#btnAddFile--${pageName}").on('click', () => { $("#uploadFileList--${pageName}").trigger("click"); });
$("#btnOpenVideoCapture--${pageName}").on('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" ,"newVideoCapture"
,"width=1800,height=950" ,"width=1800,height=950"
); );

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