How to make a vertical volume scale in video.js player?

I tried the solution given here on the site, but that didn't work. Setting vertical volume control in video.js Where can I get the best tutorial about video .js .. Any link?

+5
source share
3 answers

For version 6.2.0:

var options = { controlBar: { volumePanel: {inline: false} }, }; videojs('my-video', options); 
+8
source

For video.js 5.x:

 var options = { controlBar: { volumeMenuButton: { inline: false, vertical: true } } }; videojs('player', options); 
+6
source

It can be done. Please look:

http://jsbin.com/nidevo/2/edit?html,css,output

and

https://github.com/videojs/video.js/issues/942

How do you quote for videojs 2.0

-1
source

Source: https://habr.com/ru/post/1235482/


All Articles