VocaDB API and Embeds
Overview
VocaDB offers and API for qtip2-based tooltips for artists, albums and songs. This API can be used on external sites such as blogs to dynamically provide additional information for visitors. Below is an example of an album tooltip.Usage for webmasters
In order to use the tooltips, you need to include jQuery (recommended version 1.8 or higher), qtip2 and VocaDB tooltips library on the site.- Make sure jQuery is included on your pages.
- Add the qtip2 JavaScript at the end of the page (after the jQuery reference).
- Add the qtip2 CSS at the beginning of the page, inside the head tag.
- Add the VocaDB tooltips library JavaScript after the JQuery and qtip JavaScript references.
You may also use a CDN for qtip, or download the scripts to your server.
Once these three libraries are included, the tooltip should automatically be added to all VocaDB links.