dominic-p / videojs-resolution-selector

Adds a resolution selector button to Video.js to allow users to manually adjust the video quality.
MIT License
88 stars 31 forks source link

Change buttons label #4

Closed ghost closed 10 years ago

ghost commented 10 years ago

Hello, I would show in the players the labels "HD" and "SD" because I recieve these two formats, regardless of resolution of them. What resolution is used in each case depends on admin settings in website's backend. ¿Is this possible? Thanks!

dominic-p commented 10 years ago

I haven't tired it, but it should be no problem to simply change the value of your data-res attributes to "HD" or "SD". Also, don't forget to change the default_res setting correspondingly if you are using that setting. Let us know how it goes.

ghost commented 10 years ago

It works! Thanks :)

dominic-p commented 10 years ago

Glad to hear it.