欢迎光临本网站,专注分享新闻资讯!
当前位置:首页 > 外汇储备 >

playCurrent: function($this){ this.prev = this.current; this.current = $this.parents(.J_Play_Item).index(); this.play(this.prev

发布时间:2022-06-09 作者:admin 来源:网络整理 浏览:


导读:视频加载中,请稍候... 自动播放 ......
视频加载中,请稍候...

 playCurrent: function($this){ this.prev = this.current; this.current = $this.parents(.J_Play_Item).index(); this.play(this.prev

play 向前 向后 /*自动播放1*/ var AUTOPLAY = 1; /*连播1*/ var CONTIPLAY = 1; /*办理自动播放选项和cookie*/ (function() { var Tool = CommonTool; var chk = Tool.byId("J_Video_Autoplay"); var ua = navigator.userAgent.toLowerCase(); var isIOS = /\((iPhone|iPad|iPod)/i.test(ua); if (isIOS) { console.log(chk.parentNode.style.display); chk.parentNode.style.display = "none"; return; } chk.parentNode.style.display = ""; var clickCookie = function() { Tool.bindEvent(chk, "change", function() { var chked = chk.checked; Tool.writeCookie("ArtiVAuto", (chked ? 1 : 0), 24 * 365 * 10, "/", ".sina.com.cn"); }); } var byCookie = function() { var coo = Tool.readCookie("ArtiVAuto"); if (coo) { if (parseInt(coo) == 0) { chk.checked = false; AUTOPLAY = 0; } } }; clickCookie(); byCookie(); })(); /*获取第一个视频vid*/ var firstItem = CommonTool.byClass("J_Play_Item", "J_Play_List")[0]; var fInfo = firstItem.getAttribute("play-data").split("-"); var fVid = fInfo[0]; var fPid = fInfo[1]; var sinaBokePlayerConfig_o = { container: "J_Article_Player", //Div容器的id width: 525, height: 430, playerWidth: 525, //宽 playerHeight: 430, //高 autoLoad: 1, //自动加载 autoPlay: AUTOPLAY, //自动播放 as: 0, //广告 pid: fPid, tjAD: 0, //显示擎天柱广告 tj: 0, //片尾引荐 continuePlayer: 1, //间断播放 casualPlay: 1, //任意拖动视频 head: 0, //播放片头动画 logo: 0, //显示logo share: 0, thumbUrl: "" }; (function() { var toggle = function(id, hide) { var e = CommonTool.byId(id); var par = e.parentNode; if (hide) { CommonTool.addClass(par, e.className + "_disabled"); } else { CommonTool.removeClass(par, e.className + "_disabled"); } } var scroll = new ScrollPic(); scroll.scrollContId = "J_Play_List"; //内容容器ID scroll.arrLeftId = "J_Player_Prev"; //左箭头ID scroll.arrRightId = "J_Player_Next"; //右箭头ID scroll.listEvent = "onclick"; //切换事件 scroll.frameWidth = 532; //显示框宽度 **显示框宽度必需是翻页宽度的倍数 scroll.pageWidth = 133 * 3; //翻页宽度 scroll.upright = false; //垂直滚动 scroll.speed = 10; //挪动速度(单位毫秒,越小越快) scroll.space = 15; //每次挪动像素(单位px,越大越快) scroll.autoPlay = false; //自动播放 scroll.autoPlayTime = 5; //自动播放距离工夫(秒) scroll.circularly = false; scroll._move = scroll.move; scroll.move = function(num, quick) { scroll._move(num, quick); toggle(scroll.arrRightId, scroll.eof); toggle(scroll.arrLeftId, scroll.bof); }; scroll.initialize(); //初始化 toggle(scroll.arrLeftId, scroll.bof); })(); var autoPlayCheck = $("#J_Video_Autoplay")[0].checked; var autoPlayFlv = 0; var autoPlayH5 = false; if(autoPlayCheck){ autoPlayFlv = 1; var autoPlayH5 = true; } var flashConfig = { url: "", // flash播放器地址, container : "J_Article_Player", id: "myMovie", width: 525, height: 430, params : { allowNetworking : "all", allowScriptAccess : "always", wmode : "opaque", allowFullScreen : "true", quality : "high" }, attributes: {}, flashvars: { autoPlay: autoPlayFlv, //能否自动播放 loop: 0, autoLoad: 1, thumbUrl: "", tj: 0, as: 0 }, h5attr: { autoPlay: autoPlayH5, //能否自动播放 controls: true, //能否显示控制条 loop: false, poster: "", //视频加载前欲加载的图片地址,即播放器一初步显示的截图 preload: "auto" } }; var videoList = [ { video_id: 361899967, pid:1, url: "https://finance.sina.com.cn/money/future/roll/2020-11-16/doc-iiznctke1619922.shtml", title:""//, //swfOutsideUrl:"=361899967/s.swf" }, ] (function($){ var Play = { init: function(flashConfig, videoList){ this.flashConfig = flashConfig; this.videoList = videoList; this.playVideo = playVideo; this.prev = this.current = 0; this.length = this.videoList.length; this.contNode = $("#J_Video_Autoplay"); this.titleNode = $("#J_Video_Source"); this.playListNode = $("#J_Play_List .J_Play_Item"); if(videoLis环球外汇t.length!==1){ //显示小图 CommonTool.byId("J_Play_List_Wrap").style.display=""; } if(videoList.length<5){ CommonTool.byId("J_Player_Prev").style.display="none"; CommonTool.byId("J_Player_Next").style.display="none"; } this.initPlayer(); this.bind(); }, bind: function(){ var _this = this; $("#J_Play_List").on("click", ".J_Play_Item a", function(e){ e.preventDefault(); _this.playCurrent($(this)); }); }, initPlayer: function(){ var _this = this; this.player = this.playVideo(this.flashConfig); this.player.init(this.videoList[this.prev]); this.player.on("playCompleted", function(){ _this.playNext(); }); this.playListNode.eq(0).addClass("selected"); this.titleNode.html(this.videoList[0].title); }, playCurrent: function($this){ this.prev = this.current; this.current = $this.parents(".J_Play_Item").index(); this.play(this.prev, this.current); }, playNext: function(){ if(!this.contNode[0].checked){ return; } this.prev = this.current; if(this.current >= this.length - 1){ return; } this.current++; this.play(this.prev, this.current); }, play: function(prev, current){ this.player.playVideo(this.videoList[current]); this.titleNode.html(this.videoList[current].title); this.playListNode.eq(prev).removeClass("selected"); this.playListNode.eq(current).addClass("selected"); } } Play.init(flashConfig, videoList); })(jQuery); 标题

  近期,美国大选给金融市场带来的不确定性有所降低,最好的股票配资网,股票配资,但尚未完全解除。美国大选后美圆兑人民币汇率走势如何?人民币会不会继续升值?

本期嘉宾:达磨金融投资打点有限公司董事长 爱思潘

策划:李红珠

制作:马宁 赵彬

本视频内容仅供参考,据此入市风险自担

  近期,美国大选给金融市场带来的不确定性有所降低,但尚未完全解除。美国大选后美圆兑人民币汇率走势如何?人民币会不会继续升值?

本期嘉宾:达磨金融投资打点有限公司董事长 爱思潘

策划:李红珠

制作:马宁 赵彬

本视频内容仅供参考,据此入市风险自担

,最好的期货配资网