-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
您好,问下我集成视频库,播放视频为甚么播放不了? #15
Comments
Open
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
VideoPlayerManager.getInstance().setVideoDisplayType(VideoConstants.VIDEO_DISPLAY_TYPE_CUT);
mVideoPlayer = findViewById(R.id.video_player);
int itemHeight = this.getResources().getDisplayMetrics().widthPixels * 9 / 16;
mVideoPlayer.getLayoutParams().height = itemHeight;
DetailsCoverController coverController = new DetailsCoverController(VideoPlayerActivity.this);
mVideoPlayer.setVideoCoverController(coverController, true);
mVideoPlayer.setGlobaEnable(true);
mVideoPlayer.startPlayVideo("http://baobab.kaiyanapp.com/api/v1/playUrl?vid=189024&resourceType=video&editionType=default&source=aliyun&playUrlType=url_oss", "测试一下视屏功能");
核心代码就这些点击播放时候一直转圈圈
The text was updated successfully, but these errors were encountered: