我想使用以下代码播放上面的预告片,但它无法正常播放以下错误
命令PLAYER_INIT已完成,错误或信息PVMFFailure 02-02 13:40:33.696:ERROR / MediaPlayer(805):错误(1,-1) 02-02 13:40:33.706:ERROR / MediaPlayer(805):错误(1,-1)
Trailler link = http://uk.clip-1.filmtrailer.com/3230_8406_a_4.wmv?log_var=103|441100218-1|-
private final void playTrailler(String url)throws IOException, IllegalArgumentException {
MediaPlayer mp = new MediaPlayer();
Log.v(TAG, "Trailler: " + url);
mp.setDataSource(url);
mp.setOnPreparedListener(this);
mp.prepareAsync();
}
public void onPrepared(MediaPlayer mp) {
mp.start();
}