bytedance / xgplayer

A HTML5 video player with a parser that saves traffic
https://h5player.bytedance.com/
MIT License
8.06k stars 845 forks source link

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

Open codedart2018 opened 3 months ago

codedart2018 commented 3 months ago

您使用的西瓜播放器版本是多少? 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没有效果

github-actions[bot] commented 2 weeks ago

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 30 days.