hexylena / videojs-framebyframe

frame-by-frame stepping plugin for use with video.js
GNU General Public License v3.0
118 stars 36 forks source link

Optional Class Name for Buttons #12

Closed mheindl closed 5 years ago

mheindl commented 5 years ago

To be able to control the button appearance it would be good if we could add some className field next to text and step which is added then next to className: 'vjs-res-button vjs-control', more or less just doing something like className: 'vjs-res-button vjs-control' + (typeof opt.className !== "undefined" ? opt.className : "").

Having that, for example the buttons could be ordered via flex-box.

What do you think about it?