News | Chrome Web Store |
Chrome Extension Github Autotip.io Github |
Chrome Extension Usage and Installation Guide |
r/Autotip on Reddit | Giveaway Program Information | Articles |
<meta name="microtip" content="audio">
You can use the Audio Microtip tag in conjunction with normal microtip meta tags:
<meta name="microtip" content="1K65TijR56S4CcwjXBnecYEKmTNrMag5uq">
<meta name="microtip" content="audio">
In this case, the first tag tells Autotip how to tip the page creators, and the second
microtip tag tells the extension to look for more tips by monitoring the page's audio tags.
<audio src="http://musicstation.tips.s3.amazonaws.com/08_Free_Four.mp3" controls>
[{address: "1F4xND22B7qxDtPoGDBLXaxGKXPCyV1c4T"}]
</audio>
Note: Even if there is only one tip address (as is the most often case), that tip
must be defined as a one element list.
Just like with the meta tag speficifation, extra attributes can be defined:
<audio src="http://musicstation.tips.s3.amazonaws.com/08_Free_Four.mp3" controls>
[
{
address: "1F4xND22B7qxDtPoGDBLXaxGKXPCyV1c4T",
recipient: "Pink Floyd",
ratio: 0.75
},
{
address: "1K65TijR56S4CcwjXBnecYEKmTNrMag5uq",
recipient: "Pink Floyd's Management",
ratio: 0.25
}
]
</audio>
This is technically against the HTML specification, since audio elements are supposed
to be "block only" elements. This method was chosen for version 1.0 of this API
because of limitations of the chrome extension api.