• RequireJS被外部调用


    /* $("#yt_direction_top").on('mousedown',function(){
    	 upstart();
    }); */
    function upstart(){
    	require(['videoStart'],function(video){
    		video.upstart();
    	});
    }
    /* $("#yt_direction_top").on('mouseup',function(){
    	 upstop();
    }); */
    function upstop(){
    	require(['videoStart'],function(video){
    		video.upstop();
    	});
    }
    /* $("#yt_direction_bottom").on('mousedown',function(){
    	 downstart();
    }); */
    function downstart(){
    	require(['videoStart'],function(video){
    		video.downstart();
    	});
    }
    /* $("#yt_direction_bottom").on('mouseup',function(){
    	 downstop();
    }); */ 
    function downstop(){
    	require(['videoStart'],function(video){
    		video.downstop();
    	});
    }
    /* $("#yt_direction_left").on('mousedown',function(){
    	 leftstart(); 
    }); */
    function leftstart(){
    	require(['videoStart'],function(video){
    		video.leftstart();
    	});
    }
    /* $("#yt_direction_left").on('mouseup',function(){
    	 leftstop();
    });  */
    function leftstop(){
    	require(['videoStart'],function(video){
    		video.leftstop();
    	});
    }
    /* $("#yt_direction_right").on('mousedown',function(){
    	 rightstart();
    }); */
    function rightstart(){
    	require(['videoStart'],function(video){
    		video.rightstart();
    	});
    }
    /* $("#yt_direction_right").on('mouseup',function(){
    	 rightstop();
    }); */
    function rightstop(){
    	require(['videoStart'],function(video){
    		video.rightstop();
    	});
    }
    /* $("#yt_zoom_add").on('mousedown',function(){
    	 ZOOMstart();
    }); */
    function ZOOMstart(){
    	require(['videoStart'],function(video){
    		video.ZOOMstart();
    	});
    }
    /* $("#yt_zoom_add").on('mouseup',function(){
    	 ZOOMstop();
    }); */
    function ZOOMstop(){
    	require(['videoStart'],function(video){
    		video.ZOOMstop();
    	});
    }
    /* $("#yt_zoom_reduce").on('mousedown',function(){
    	 REDUCEZOOMstart();
    }); */
    function REDUCEZOOMstart(){
    	require(['videoStart'],function(video){
    		video.REDUCEZOOMstart();
    	});
    }
    /* $("#yt_zoom_reduce").on('mouseup',function(){
    	 REDUCEZOOMstop();
    });  */
    function REDUCEZOOMstop(){
    	require(['videoStart'],function(video){
    		video.REDUCEZOOMstop();
    	});
    }
    /* $("#yt_focus_add").on('mousedown',function(){
    	 FOCUSstart();
    }); */
    function FOCUSstart(){
    	require(['videoStart'],function(video){
    		video.FOCUSstart();
    	});
    }
    /* $("#yt_focus_add").on('mouseup',function(){
    	 FOCUSstop();
    });  */
    function FOCUSstop(){
    	require(['videoStart'],function(video){
    		video.FOCUSstop();
    	});
    }
    /* $("#yt_focus_reduce").on('mousedown',function(){
    	 REDUCEFOCUSstart();
    }); */
    function REDUCEFOCUSstart(){
    	require(['videoStart'],function(video){
    		video.REDUCEFOCUSstart();
    	});
    }
    /* $("#yt_focus_reduce").on('mouseup',function(){
    	 REDUCEFOCUSstop();
    }); */
    function REDUCEFOCUSstop(){
    	require(['videoStart'],function(video){
    		video.REDUCEFOCUSstop();
    	});
    }
    /* $("#yt_aperture_add").on('mousedown',function(){
    	 APERTUREstart();
    }); */
    function APERTUREstart(){
    	require(['videoStart'],function(video){
    		video.APERTUREstart();
    	});
    }
    /* $("#yt_aperture_add").on('mouseup',function(){
    	 APERTUREstop();
    });  */
    function APERTUREstop(){
    	require(['videoStart'],function(video){
    		video.APERTUREstop();
    	});
    }
    /* $("#yt_aperture_reduce").on('mousedown',function(){
    	 REDUCEAPERTUREstart(); 
    }); */
    function REDUCEAPERTUREstart(){
    	require(['videoStart'],function(video){
    		video.REDUCEAPERTUREstart();
    	});
    }
    /* $("#yt_aperture_reduce").on('mouseup',function(){
    	 REDUCEAPERTUREstop(); 
    }); */
    function REDUCEAPERTUREstop(){
    	require(['videoStart'],function(video){
    		video.REDUCEAPERTUREstop();
    	});
    }
    
  • 相关阅读:
    创建商品APP
    商品模块表结构分析
    sprintf 和 fprintf
    linux中sys目录
    linux中proc目录
    ioctl()函数
    ffmpeg下载安装
    【转】写给小白的实时音视频技术入门提纲
    linux常见目录解释
    linux nfs客户端开启失败解决办法
  • 原文地址:https://www.cnblogs.com/boonya/p/12397695.html
Copyright © 2020-2023  润新知