首页 > php教程 > 正文

Beats耳机宣布首位华人品牌代言人:吴亦凡

转载 2017-11-23 0 29
视频加载中,请稍候...
/*自动播放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 VideoList1 = new ArticalVideoList('J_Play_List', { index: 0, autoPlay: AUTOPLAY, contiPlay: CONTIPLAY, itemClass: 'J_Play_Item' }); VideoList1.init(); function playCompleted(tag) { VideoList1.playNext(); }; var autoPlayCheck = $("#J_Video_Autoplay")[0].checked; var autoPlayFlv = 0; var autoPlayH5 = false; if(autoPlayCheck){ autoPlayFlv = 1; 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 }, h5attr: { autoPlay: autoPlayH5, //是否自动播放 controls: true, //是否显示控制条 loop: false, poster: '', //视频加载前欲加载的图片地址,即播放器一开始显示的截图 preload: 'auto' } }; var videoList = [ { video_id: 251774186, pid:'1', url: 'http://video.sina.com.cn/view/251774186.html', title:'吴亦凡Beats全球代言 #不服噪#' }, ] (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"); 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);
Beats耳机宣布首位华人品牌代言人:吴亦凡

  IT之家10月18日消息 昨天中午,Beats官方宣布吴亦凡成为Beats全球品牌代言人,据悉,吴亦凡也是Beats的首位华人品牌代言人。

  微博中,Beats官方写到:

  闪烁霓虹,车水马龙,这个城市太喧嚣。。。。。。Beats全球品牌代言人吴亦凡@Mr_凡先生 戴上新一代 Beats Studio3 Wireless,面对众多噪音,他选择#不服噪# #吴亦凡Beats全球代言#

  视频中,吴亦凡戴上新一代Beats Studio3 Wireless上演了一段“freestyle”,Beats Studio3 Wireless于今年9月份发布,拥有红色、哑光黑、白色、陶瓷粉、蓝色和魅影灰7种颜色,国行版售价2888元。

  这款无线耳机也内置了AirPods一样的W1芯片,允许用户快速和其他的苹果iPhone等设备进行配对,而无需进入蓝牙设置。在续航方面,在Beats Pure ANC (自适应消噪)开启时,Beats Studio3 Wireless头戴式耳机电池使用时间最长可达22小时;采用Fast Fuel技术,充电10分钟即可持续播放3小时。

Beats耳机宣布首位华人品牌代言人:吴亦凡

  吴亦凡(Kris),1990年11月06日出生于广东省广州市,华语影视男演员、流行乐歌手。曾获得过第3届伦敦国际华语电影节最佳新锐演员奖、第十九届上海国际电影节最受媒体关注年度新人奖等奖项。

  在此之前,吴亦凡曾代言小米手机、阿迪达斯、宝格丽等等品牌。

原文地址:http://tech.sina.com.cn/i/2017-10-18/doc-ifymvuyt4213906.shtml

相关文章