
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: 350158060,
pid:1,
url: 'https://finance.sina.com.cn/roll/2020-08-30/doc-iivhvpwy3941492.shtml',
title:''//,
//swfOutsideUrl:"http://you.video.sina.com.cn/api/sinawebApi/outplayrefer.php/video_id=350158060/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(videoList.length!==1){
//显示小图
CommonTool.byId('J_Play_List_Wrap').style.display='';
}
if(videoList.length= 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);
原标题:全球首席财务官:更看好中国经济 来源:央视新闻客户端
面对新冠肺炎疫情的冲击,中国经济显现出强大韧性和发展潜力。美国消费者新闻与商业频道(CNBC)全球首席财务官委员会近日公布的第三季度调查显示,全球首席财务官对中国经济的展望更为乐观。
在这项调查中,全球首席财务官们对中国国内生产总值的平均预期为“稳定”,而美国经济则将“适度下滑”。首席财务官们对全球经济前景的预期较第二季度有所改善。
本季度,全球首席财务官委员会将中国和亚洲其他国家和地区,以及欧元区的评级从“适度下滑”上调至“稳定”,拉丁美洲从“强劲下滑”调整至“适度下滑”,美国经济则连续第二个季度被视为“适度下滑”。
此前有报道指出,随着中国人民的生活正在恢复至疫情前的状态,中国经济正在强劲反弹。CNBC认为,全球首席财务官的这份调查与这些报道相呼应。
CNBC报道还指出,对美国经济及市场的悲观前景反映了大型企业在面对疫情时仍处于不确定状态。在接受CNBC第三季度调查的40名首席财务官中,25名认为疫情是企业面临的最大外部风险;80%的首席财务官称,今年疫情将对企业产生消极或非常消极的影响。
CNBC全球首席财务官委员会代表全球多个领域主要的公共和私营企业,这些企业的市值超过5万亿美元。
此前,国际评级机构穆迪投资者服务公司更新其全球宏观展望报告,把今年中国经济增长预期从1%上调至1.9%,同时预计明年中国经济将增长7%左右。报告指出,中国是二十国集团经济体中唯一能在今年实现经济增长的国家。(总台记者 王娜 张怡)