Adds plugins.chromecast.addCastLabelToButton as an option in the plugin configuration options.
By default, the chromecast button component will display only an icon. Setting addCastLabelToButton to true will display a label titled "Cast" alongside the default icon.
Coverage remained the same at 0.0% when pulling 220c36247c9ac992b757b97257e24e665ac3feb5 on izkmdz:ismendoza/chromecast-button-options into 4557bef370c720c9b259ee7d0aad81416e0666f2 on silvermine:master.
Thank you for your suggestions and comments @yokuze ! I went ahead and applied your feedback. Feel free to review and let me know if there is anything else that needs to be adjusted. 👍
Adds
plugins.chromecast.addCastLabelToButton
as an option in the plugin configuration options.By default, the chromecast button component will display only an icon. Setting
addCastLabelToButton
totrue
will display a label titled"Cast"
alongside the default icon.If the configuration
addButtonToControlBar
is set tofalse
, you will have to pass in the plugin options into thechromecast()
method on ready.Style the chromecast button label by editing
.vjs-chromecast-button-label
.