silvermine / videojs-chromecast

MIT License
147 stars 74 forks source link

Moving chromecast button outside of the the controlbar #143

Open dds05 opened 1 year ago

dds05 commented 1 year ago

I was wondering if there is any way I can register the chrome-cast button outside of the control bar.

Using addButtonToControlBar=false in the plugin object simply makes the button to disappear from the control-bar.

Catalin2092 commented 1 year ago

Hi, Try changing attributes of the .vjs-chromecast-button.

dds05 commented 1 year ago

Hi , can you please elaborate. I have also tried giving same class to custom button but that doesn't seem to be working.