Skip to content

maimingliang/App

Repository files navigation

WxPlayer

简介

Android 仿微信视频播放

详情请看

使用


    mWxPlayer = (WxPlayer) findViewById(R.id.wx_player);

    String path = "https://192.168.0.232:8089/group1/M00/00/90/wKgA6FlI5MqAIQuTAAml3v7Z8Mo830.mp4";


    mWxPlayer.setVideoPath(path);

    WxMediaController controller = new WxMediaController(this);
    controller.setThumbImage("https://192.168.0.232:8089/group1/M00/00/90/wKgA6FlI5MqAJVGlAAAcfondTlY728.jpg").setThumbHeight(640);
    mWxPlayer.setMediaController(controller);

关于我

简书maimingliang

最后

如果遇到问题或者好的建议,请反馈到我的邮箱,maimingliang8#163.com (# 换 @)

如果觉得对你有用的话,点一下Star赞一下吧!

Releases

No releases published

Packages

No packages published

Languages