Skip to content
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

通过 api 调用 rotate 无法执行,player.rotate方法已不存在! #1385

Open
codedart2018 opened this issue Apr 13, 2024 · 0 comments

Comments

@codedart2018
Copy link

您使用的西瓜播放器版本是多少? What version of xgplayer are you using?

3.0.17-alpha.6
3.0.16

您使用的操作系统和浏览器分别是? What OS and browser are you using?
macos

如何复现问题? How to reproduce the problem?

image

文档
image

                      player.setConfig({
                        rotate: {
                          innerRotate: true,
                          clockwise: false,
                          rotateDeg: 270,
                        },
                      });
                      player.setRotateDeg(270);
                      player.rotate(true, true, 270);

您期望的播放器正常行为是? What did you expect to happen?
期望通过API去旋转视频

实际播放器的表现是? What actually happened?
实际api没有效果

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant