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

volume can't be adjusted #791

Open
xPapersheepx opened this issue Apr 2, 2024 · 1 comment
Open

volume can't be adjusted #791

xPapersheepx opened this issue Apr 2, 2024 · 1 comment

Comments

@xPapersheepx
Copy link

我采用Meting-js,但是我发现当我的播放器所在的父元素有transform: translateY(-50%);该样式时,我无法调节播放器的音量。它将只有开和关,当我注释掉这该样式时,播放器能正常调节工作。我尝试过在https://aplayer.js.org/#/首页上添加 这个样式,同样也会出现该情况

I'm using meting-js, but when aplayer has a css which is transform: translateY(-50%), the volume just can't be adjusted, it's only zero or 100% volume. And it becomes normal when I remove this css. I can't figure it out. I try it on https://aplayer.js.org/#/ too. And the volumn still not working.

如果你也用metingjs并且碰到加载时间很久或者显示不出来的情况,很有可能是meting-js的api导致的,metowolf/MetingJS#85

And BTW if you are using meting-js and founds out it always time out or loading in a slow pace, it may caused by meting-js's api.
Here to check this out metowolf/MetingJS#85 And use the new api link.

@track23
Copy link

track23 commented Apr 28, 2024

.aplayer.aplayer-fixed .aplayer-body {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0;
  z-index: 99;
  background: #fff;
  padding-right: 18px;
  transition: all .3s ease;
  max-width: 400px;
}

把 position: fixed; 改为 position: absolute;

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

2 participants