第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號安全,請及時綁定郵箱和手機(jī)立即綁定

音樂不能播放

我是通過cdn的方式引入的,控制臺也沒有報錯,然后就是播放不了,請問這是為什么?

import?React?from?'react';
import?Header?from?'src/components/header/header';
import?Progress?from?'src/components/progress/progress';


class?App?extends?React.Component?{
??constructor(props)?{
????super(props);
????
????this.state?=?{
??????progress:?'-'
????};
??};
??
??
??componentDidMount()?{
????
????console.log($('#player'));
????
????$('#player').jPlayer({
??????ready:?function?()?{
????????$(this).jPlayer('setMedia',?{
??????????mp3:?'http://m10.music.126.net/20170829152420/0c3dd98e5f546e3e21c52afccf10ed0c/ymusic/39bf/7396/8331/ee81049345e13a18e044059d6551640a.mp3'
????????}).jPlayer('play');
??????},
??????supplied:?'mp3',
??????wmode:?'window'
????});
????
????$('jPlayer').bind($.jPlayer.event.timeupdate,?(e)?=>?{
??????console.log(1);
??????this.setState({
????????progress:?Math.round(e.jPlayer.status.currentTime)
??????});
????});
????
??}
??
??
??render()?{
????return?(
??????<div?className="app">
????????<Header/>
????????<Progress?progress={this.state.progress}></Progress>
??????</div>
????);
??};
};


export?default?App;


正在回答

2 回答

我的也是這種情況。請問你解決了嗎?可以貼一下解決方法嗎?

0 回復(fù) 有任何疑惑可以回復(fù)我~

我也是

0 回復(fù) 有任何疑惑可以回復(fù)我~
#1

慕碼人7551790

我的也是這種情況。請問你解決了嗎?可以貼一下解決方法嗎?
2018-07-12 回復(fù) 有任何疑惑可以回復(fù)我~

舉報

0/150
提交
取消
使用React構(gòu)建一款音樂播放器
  • 參與學(xué)習(xí)       26493    人
  • 解答問題       156    個

從零開始使用React構(gòu)建一款音樂播放器

進(jìn)入課程

音樂不能播放

我要回答 關(guān)注問題
微信客服

購課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學(xué)習(xí)伙伴

公眾號

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號