.a-p-s-txt{color:#FFF!important;}
.selected .a-p-s-img {background-image: url("http://n.sinaimg.cn/default/7772e5f8/20151202/article_selected_a_dc.png")!important;}
视频加载中,请稍候...
自动播放
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: 1, //广告
pid: fPid,
tjAD: 0, //显示擎天柱广告
tj: 1, //片尾推荐
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: 1,
as: 1,
mode: 2
},
h5attr: {
autoPlay: autoPlayH5, //是否自动播放
controls: true, //是否显示控制条
loop: false,
poster: '', //视频加载前欲加载的图片地址,即播放器一开始显示的截图
preload: 'auto'
}
};
var videoList = [
{
video_id: '250634834',
source:'',
pid:'6',
url: 'http://video.sina.com.cn/view/250634834.html',
title:'足球狗遭恶搞怒砸电视'//,
//swfOutsideUrl:"http://you.video.sina.com.cn/api/sinawebApi/outplayrefer.php/video_id=250634834/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<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.titleInfo = this.videoList[0].title;
if(this.videoList[0].url!=""){
this.titleInfo = ''+this.videoList[0].title+'';
}
if(this.videoList[0].source!==''){
this.titleInfo += '(来源:'+this.videoList[0].source+')';
}
this.titleNode.html(this.titleInfo);
},
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.titleInfo = this.videoList[current].title;
if(this.videoList[current].url!=""){
this.titleInfo = ''+this.videoList[current].title+'';
}
if(this.videoList[current].source!=""){
this.titleInfo += '(来源:'+this.videoList[current].source+')';
}
this.titleNode.html(this.titleInfo);
this.playListNode.eq(prev).removeClass("selected");
this.playListNode.eq(current).addClass("selected");
}
}
Play.init(flashConfig, videoList);
})(jQuery);
女友一定要报复他
新浪体育讯 这两天欧洲杯如火如荼,可苦了不少球迷,工作、生活、睡眠几头应接不暇,就更别提女朋友了。土耳其就有一个球迷,因为冷落了女友,遭到了残忍的“报复”,我们看看是怎么回事儿吧。
91娱乐赌场 剥洋葱(微信ID:boyangcongpeople):这件事情公布后,很快引起公众关注。游戏老虎机下载免费
全球市场分类评估报告指出,将A股市场列入名单,主要是因为过去一年中A股市场监管方面取得一系列进步。但当时A股市场入选MSCI新兴市场指数仍存在许多障碍,如资金汇入汇出限制、单个QFII额度限制、税收政策不明朗等。
北约近期在东欧动作不断,明显剑指俄罗斯。5月12日,北约设在罗马尼亚南部德韦塞卢的反导系统正式运行;5月17日至27日,代号为“华丽跳跃2016”的军事演习在波兰和波罗的海三国举行;5月19日,北约外长会签署黑山加入北约协定;6月6日开始,北约再度在波兰和波罗的海地区举行军事演习。
全球最大散货海运公司成立
知道了
前海传媒:关于国企改革上,从十八届三中全会到现在,经济学家的信心似乎在下降。
受美联储决议影响美元回落 空头回补英镑反弹
“猕猴山庄曾解决不少村民就业”
舛添谈到家人时还一度哽咽,用手帕拭泪。他说,如果考虑到孩子,自己一个月前就想辞职,“我坚持到今天是因为不想让东京在里约奥运会上成为别人的笑柄。求求你们了,希望能保住东京的名誉”。
原标题:依法查验为保民平安 配合查验是法定义务
迪米特洛夫与莎拉波娃
新浪体育讯 北京时间6月16日消息,近日俄罗斯名将莎拉波娃已就两年禁赛的处罚正式向国际奥委会体育仲裁院提出申诉望缩短禁赛期。而在BBC的采访中,迪米特洛夫也首次谈到了前女友因服用禁药遭禁赛一事。
据相关媒体报道,美团早在一年前就低调上线了自有的支付业务“美团支付”,美团支付与支付宝、微信支付并列,美团通过补贴刺激用户使用美团支付。
安全的塑胶场地,每平方米的成本在300元左右。然而,新华社的调查显示,实际建设中,招标价格少于150元的比比皆是,甚至部分政府出台的“指导价”也只有180元/平方米。而“经过层层转包,到施工方手上已经利润很低,只能用劣质原材料”。在这种鱼龙混杂的情况下,塑胶场地安全标准的制定和执行就显得尤为关键和重要。
一是如此众多的基金何以集体买入这只“忽悠”股。是基金公司的调研能力有限,被公司和卖方研究员给欺骗了?还是对于基金来说,当基金抱团买下公司4成流动股的时候,事实或是忽悠已变得不那么重要了?实际上,从公司股价走势来看,那些听到2014年4月30日那第一次忽悠而买入的基金哪怕是在调查介入、退市风险凸显的股价最低点时卖出都依然还有所盈利。从理论上说,这是一笔被人欺骗也还能赚钱的买卖,因此,同样从理论上说,这也是一笔值得共谋的买卖。游戏老虎机下载免费
野村证券:投资需求及停牌因素阻碍MSCI纳入A股,下半年股市行情将转好。
伯恩茅斯2-1曼联
|