Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
4.0k views
in Technique[技术] by (71.8m points)

如何解决vue-video-playe点击音量的问题

image.png
image.png
如图,这个组件我有两个问题
第一个问题是:他默认这个音量按钮必须长按才能显示调节音量,慢一点就会瞬间隐藏

第二个问题:怎么调节他默认的音量。他默认是满的。声音大的视频吓一跳

求助威解答一下!谢谢


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

1.controlBar{volumeControl: true}
2.this.player.volume()


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...