Jaggu
Jaggu

Reputation: 6428

HTML5 mediaelementjs volume slider horizontal

I am using HTML5 mediaelementjs. It has volume slider going vertical. Is there anyway to set it to horizontal?

There seems to be issue created with this:

https://github.com/johndyer/mediaelement/issues/197

Is the issue resolved or still pending? Anybody had any luck setting volume slider in horizontal manner?

Upvotes: 3

Views: 1863

Answers (1)

Catto
Catto

Reputation: 6409

Interesting Question Jaggu; This is some code that might be helpful:

 $.extend(mejs.MepDefaults, {
    muteText: 'Mute Toggle',
    hideVolumeOnTouchDevices: true,

    audioVolume: 'horizontal',
    videoVolume: 'vertical'
});

Hope that helps

Upvotes: 4

Related Questions