Custom upload button

This page is only relevant if you are using BuboBox in non visual mode. In this case you still can open the recorder popups throught the javascript API but an upload button isn’t available anymore. Below you can see how you still can use an upload button on your page.

The only things you need to do is add an extra attribute data-bbbx-init to a div element that you want to convert to an upload button and assign an id-argument (with value of your choice) to that div element:

<div data-bbbx-init="upload" id="uploader">Upload a file</div>

To add some styling to your button you can use following CSS

#uploader {
	width: 200px;
	height: 50px;
	background: #72839C;
	font: 12px/50px Helvetica, Arial, sans-serif;
	text-align: center;
	text-transform: uppercase;
	font-weight: bold;
	color: white;
}
.bbbx-upload-busy {
	color: red;
}

Can't find an answer to your question?

Can't find an answer to your question or problem? Support requests are the most efficient way for us to handle your support inquiries.