2015-11-08 16 views

risposta

-1

Questo può essere fatto. Si prega di consultare:

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

e

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

L'howto lei cita è per videojs 2.0

+0

questo non funziona per me ... la barra del volume scompare se implemento questo. btw ho videojs 5.0.2 .... – user43004

+0

Scusa pensavo fosse 4.x. Sono abbastanza sicuro che il rendering verticale è rotto ATM in 5.0: http://jsfiddle.net/w91vvjy0/4/ e https://github.com/videojs/video.js/issues/2726 – Broonix

6

Per Video.js 5.x:

var options = { 
    controlBar: { 
    volumeMenuButton: { 
     inline: false, 
     vertical: true 
    } 
    } 
}; 

videojs('player', options); 
+0

Questa risposta dovrebbe essere accettata. –

8

Per versione 6.2.0:

var options = { 
    controlBar: { 
     volumePanel: {inline: false} 
    }, 
}; 

videojs('my-video', options); 
+0

Questa è la risposta corretta. La versione che sto usando è 6.2.5! – hailong