开发者

How to play youtube URL through Android MediaPlayer?

Is there anyway to play videos usin开发者_如何学Gog Androind MediaPlayer with url to a youtube video?

Instead of it playing through youtube i would like for it to play through the MediaPlayer locally on the device.

How would i go about doing this?

EDIT: sorry for the title


MediaPlayer.setDataSource(url) might do the trick. More guidance here.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜